Fix build errors with -DNDEBUG.
[glibc.git] / ChangeLog
blob18dd421510834697a77f0b73a9837f33a017bf50
1 2016-01-15  Martin Sebor  <msebor@redhat.com>
3         [BZ #18755]
4         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
5         warnings.
6         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
7         (__gai_create_helper_thread): Same.
8         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
9         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
10         to suppress -Wmaybe-uninitialized warnings.
12 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
14         [BZ #19465]
15         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
16         inside if.
17         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
23         [BZ #19466]
24         * time/tst-mktime2.c (time_t_max): Removed.
25         (time_t_min): Likewise.
26         (TYPE_SIGNED): New.
27         (TYPE_MINIMUM): Likewise.
28         (TYPE_MAXIMUM): Likewise.
29         (TIME_T_MIN): Likewise.
30         (TIME_T_MAX): Likewise.
31         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
32         and TIME_T_MIN.
33         (do_test): Likewise.
35 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
37         [BZ #19467]
38         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
39         index_Fast_Unaligned_Load flag for Excavator family CPUs.
41 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
43         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
45 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
47         * benchtests/Makefile (PYTHON): Define.
48         (bench-func): Use $(PYTHON) to run python scripts.
49         ($(objpfx)bench-%.c): Likewise.
51 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
53         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
54         leading slash when `file_name' is "/".
56 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
58         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
59         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
60         Likewise.
61         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
62         Likewise.
63         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
64         Likewise.
65         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
66         enum constant and macro.
67         (PTRACE_SETSIGMASK): Likewise.
68         (PTRACE_SECCOMP_GET_FILTER): Likewise.
69         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
70         (PTRACE_GETSIGMASK): Likewise.
71         (PTRACE_SETSIGMASK): Likewise.
72         (PTRACE_SECCOMP_GET_FILTER): Likewise.
73         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
74         Likewise.
75         (PTRACE_SETSIGMASK): Likewise.
76         (PTRACE_SECCOMP_GET_FILTER): Likewise.
77         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
78         (PTRACE_GETSIGMASK): Likewise.
79         (PTRACE_SETSIGMASK): Likewise.
80         (PTRACE_SECCOMP_GET_FILTER): Likewise.
81         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
82         Likewise.
83         (PTRACE_SETSIGMASK): Likewise.
84         (PTRACE_SECCOMP_GET_FILTER): Likewise.
85         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
86         Likewise.
87         (PTRACE_SETSIGMASK): Likewise.
88         (PTRACE_SECCOMP_GET_FILTER): Likewise.
89         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
90         Likewise.
91         (PTRACE_SETSIGMASK): Likewise.
92         (PTRACE_SECCOMP_GET_FILTER): Likewise.
94 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
95             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
97         [BZ #19439]
98         * math/bits/mathcalls.h
99         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
100         prototype.
101         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
103 2016-01-11  Andreas Schwab  <schwab@suse.de>
105         [BZ #19253]
106         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
107         cache when TZDEFRULES was used.
108         * time/tst-tzname.c: New file.
109         * time/Makefile (test): Add tst-tzname.
110         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
111         * timezone/Makefile (test-zones): Add $(posixrules-file).
112         ($(testdata)/$(posixrules-file)): New rule.
114 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
116         Fix doc quoting problems with Texinfo 5
117         Without this change, in the info file output, Texinfo 5 quotes code
118         in text with undirected single quotes 'like this' and generates
119         code examples that with many PDF readers cannot be cut out of PDFs
120         and pasted into code.
121         * manual/libc.texinfo: Configure the libc manual like the GNU
122         Emacs manual, by using @documentencoding and setting
123         txicodequoteundirected and txicodequotebacktick.  This way,
124         Texinfo 5 quotes code in text with directed single quotes ‘like
125         this’ and produces examples that can be cut out of PDFs.  This
126         change causes Texinfo 5 to generate info files that contain UTF-8
127         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
128         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
130 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
132         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
133         __libc_tabort, __libc_tend): New wrappers that enforce compiler
134         barriers to their respective compiler built-ins.
135         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
136         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
137         * sysdeps/powerpc/sysdep.h: Likewise.
138         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
139         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
140         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
142 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
144         * scripts/config.guess: Revert previous shebang change.
145         * scripts/config.sub: Likewise.
146         * scripts/mkinstalldirs: Likewise.
148 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
150         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
151         PPC_FEATURE2_HAS_IEEE128.
152         * sysdeps/powerpc/dl-procinfo.c:
153         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
155 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
157         [BZ #19415]
158         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
159         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
160         (_dl_lookup_address): Rewrite using function resolver trampoline.
161         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
162         two bits in address.
164 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
166         * longlong.h: Change !__SHMEDIA__ to
167         (!defined (__SHMEDIA__) || !__SHMEDIA__).
168         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
170 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
171             Joseph Myers  <joseph@codesourcery.com>
172             Mark Shinwell  <shinwell@codesourcery.com>
173             Andrew Stubbs  <ams@codesourcery.com>
174             Rich Felker <dalias@libc.org>
176         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
178 2016-01-07  Richard Henderson  <rth@redhat.com>
180         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
182 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
184         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
185         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
186         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
187         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
188         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
190 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
191             Joseph Myers  <joseph@codesourcery.com>
193         * timezone/private.h: Update from tzcode 2015g.
194         * timezone/tzfile.h: Likewise.
195         * timezone/tzselect.ksh: Likewise.
196         * timezone/zdump.c: Likewise.
197         * timezone/zic.c: Likewise.
198         * timezone/ialloc.c: Remove file.
199         * timezone/scheck.c: Likewise.
200         * timezone/Makefile (extra-objs): Remove variable.
201         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
202         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
203         -Wno-maybe-uninitialized.
204         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
205         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
206         (CFLAGS-ialloc.c): Remove variable.
207         (CFLAGS-scheck.c): Likewise.
208         * timezone/README: Update list of files from tzcode.
210 2016-01-07  Khem Raj  <raj.khem@gmail.com>
212         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
213         instead of __fxprintf when _LIBC is undefined.
215 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
217         * catgets/test-gencat.sh: Remove space after shebang.
218         * conform/GlibcConform.pm: Likewise.
219         * conform/check-header-lists.sh: Likewise.
220         * conform/conformtest.pl: Likewise.
221         * conform/linknamespace.pl: Likewise.
222         * conform/list-header-symbols.pl: Likewise.
223         * debug/catchsegv.sh: Likewise.
224         * elf/genrtldtbl.awk: Likewise.
225         * elf/tst-pathopt.sh: Likewise.
226         * elf/tst-rtld-load-self.sh: Likewise.
227         * grp/tst_fgetgrent.sh: Likewise.
228         * iconvdata/gen-8bit-gap-1.sh: Likewise.
229         * iconvdata/gen-8bit-gap.sh: Likewise.
230         * iconvdata/gen-8bit.sh: Likewise.
231         * iconvdata/run-iconv-test.sh: Likewise.
232         * intl/tst-gettext.sh: Likewise.
233         * intl/tst-gettext2.sh: Likewise.
234         * intl/tst-gettext4.sh: Likewise.
235         * intl/tst-gettext6.sh: Likewise.
236         * intl/tst-translit.sh: Likewise.
237         * io/ftwtest-sh: Likewise.
238         * libio/test-freopen.sh: Likewise.
239         * locale/gen-translit.pl: Likewise.
240         * malloc/tst-mtrace.sh: Likewise.
241         * manual/check-safety.sh: Likewise.
242         * manual/libc-texinfo.sh: Likewise.
243         * manual/tsort.awk: Likewise.
244         * manual/xtract-typefun.awk: Likewise.
245         * nptl/tst-cancel-wrappers.sh: Likewise.
246         * nptl/tst-tls6.sh: Likewise.
247         * posix/globtest.sh: Likewise.
248         * posix/tst-getconf.sh: Likewise.
249         * posix/wordexp-tst.sh: Likewise.
250         * scripts/check-c++-types.sh: Likewise.
251         * scripts/check-local-headers.sh: Likewise.
252         * scripts/config.guess: Likewise.
253         * scripts/config.sub: Likewise.
254         * scripts/cpp: Likewise.
255         * scripts/cross-test-ssh.sh: Likewise.
256         * scripts/documented.sh: Likewise.
257         * scripts/evaluate-test.sh: Likewise.
258         * scripts/gen-libc-abis: Likewise.
259         * scripts/gen-sorted.awk: Likewise.
260         * scripts/list-fixed-bugs.py: Likewise.
261         * scripts/merge-test-results.sh: Likewise.
262         * scripts/mkinstalldirs: Likewise.
263         * scripts/rellns-sh: Likewise.
264         * scripts/test-installation.pl: Likewise.
265         * scripts/update-copyrights: Likewise.
266         * stdio-common/tst-printf.sh: Likewise.
267         * stdio-common/tst-unbputc.sh: Likewise.
268         * stdlib/tst-fmtmsg.sh: Likewise.
269         * stdlib/tst-setcontext3.sh: Likewise.
270         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
271         * sysdeps/unix/make-syscalls.sh: Likewise.
273 2016-01-06  John David Anglin  <dave.anglin@bell.net>
275         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
276         asm stw with atomic_exchange_rel.  Add explanatory comment.
277         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
278         Likewise.
280 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
282         [BZ #19122]
283         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
284         * sysdeps/generic/dl-unistd.h: New file.
285         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
287 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
289          [BZ #19122]
290          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
291          * sysdeps/generic/dl-mman.h: New file.
292          * sysdeps/mach/hurd/dl-mman.h: Likewise.
294 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
296         * manual/texinfo.tex: Update to version 2016-01-04.21 with
297         trailing whitespace removed.
298         * scripts/config.guess: Update to version 2016-01-01.
299         * scripts/config.sub: Update to version 2016-01-01.
300         * scripts/move-if-change: Update from gnulib.
302 2016-01-04  Anton Blanchard  <anton@samba.org>
304         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
305         for array indices.
306         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
308 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
310         * NEWS: Update copyright dates.
311         * catgets/gencat.c (print_version): Likewise.
312         * csu/version.c (banner): Likewise.
313         * debug/catchsegv.sh: Likewise.
314         * debug/pcprofiledump.c (print_version): Likewise.
315         * debug/xtrace.sh (do_version): Likewise.
316         * elf/ldconfig.c (print_version): Likewise.
317         * elf/ldd.bash.in: Likewise.
318         * elf/pldd.c (print_version): Likewise.
319         * elf/sotruss.sh: Likewise.
320         * elf/sprof.c (print_version): Likewise.
321         * iconv/iconv_prog.c (print_version): Likewise.
322         * iconv/iconvconfig.c (print_version): Likewise.
323         * locale/programs/locale.c (print_version): Likewise.
324         * locale/programs/localedef.c (print_version): Likewise.
325         * login/programs/pt_chown.c (print_version): Likewise.
326         * malloc/memusage.sh (do_version): Likewise.
327         * malloc/memusagestat.c (print_version): Likewise.
328         * malloc/mtrace.pl: Likewise.
329         * manual/libc.texinfo: Likewise.
330         * nptl/version.c (banner): Likewise.
331         * nscd/nscd.c (print_version): Likewise.
332         * nss/getent.c (print_version): Likewise.
333         * nss/makedb.c (print_version): Likewise.
334         * posix/getconf.c (main): Likewise.
335         * scripts/test-installation.pl: Likewise.
336         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
338         * All files with FSF copyright notices: Update copyright dates
339         using scripts/update-copyrights.
340         * intl/plural.c: Regenerated.
341         * locale/programs/charmap-kw.h: Likewise.
342         * locale/programs/locfile-kw.h: Likewise.
344 2016-01-02  Helge Deller  <deller@gmx.de>
346         [BZ #19285]
347         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
348         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
349         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
350         (MADV_xxK_PAGES): Remove.
352 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
354         [BZ #15421]
355         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
356         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
357         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
358         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
360 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
362         [BZ #19408]
363         * sysdeps/unix/sysv/linux/personality.c: New file.
364         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
365         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
366         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
367         (sysdep_routines): Add personality.
368         (tests): Add tst-personality.
369         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
370         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
371         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
372         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
373         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
374         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
375         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
376         Likewise.
377         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
378         Likewise.
379         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
380         Likewise.
381         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
382         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
383         Likewise.
385 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
387         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
388         (PATH_ARM_SYSTYPE): Remove.
389         (PATH_CPUINFO): Likewise.
390         (IO_BASE_FOOTBRIDGE): Likewise.
391         (IO_SHIFT_FOOTBRIDGE): Likewise.
392         (struct platform): Likewise.
393         (init_iosys): Remove compatibility code for 2.4 kernels.
394         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
396 2015-12-29  Florian Weimer  <fweimer@redhat.com>
398         * malloc/tst-malloc-thread-fail.c: New file.
399         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
400         (tst-malloc-thread-fail): Link against libpthread.
402 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
404         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
405         (get_parser): New function.
406         (main): New function.
408 2015-12-29  Rob Wu  <rob@robwu.nl>
410         [BZ #19369]
411         * resolv/res_init.c (__res_vinit): Reset defdname before use.
413 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
415         [BZ #19270]
416         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
418 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
420         [BZ #15421]
421         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
423 2015-12-23  Torvald Riegel  <triegel@redhat.com>
425         [BZ #13690]
426         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
427         after releasing it.
428         (__lll_robust_unlock): Likewise.
429         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
430         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
431         (lll_robust_unlock): Likewise.
432         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
433         Prevent warnings in callers.
435 2015-12-23  Florian Weimer  <fweimer@redhat.com>
437         * malloc/arena.c (list_lock): Update comment.
439 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
441         * sysdeps/powerpc/hwcapinfo.c: Export symbol
442         __parse_hwcap_and_convert_at_platform to libc.a.
444 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
446         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
447         platform and feature support for POWER9.
448         * sysdeps/powerpc/dl-procinfo.h: Likewise.
449         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
450         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
451         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
452         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
453         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
454         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
455         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
457 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
459         Harmonize generic stdio-lock support with nptl
461         This fixes build when _IO_funlockfile is a macro, fixes build where
462         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
463         stack unwind.
465         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
466         _IO_release_lock ): Use cleanup attribute on new
467         _IO_acquire_lock_file variable instead of assuming that
468         _IO_release_lock will be called.
469         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
470         _IO_acquire_lock_needs_exceptions_enabled.
471         (_IO_acquire_lock_clear_flags2): New macro.
473 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
475         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
477 2015-12-21  Florian Weimer  <fweimer@redhat.com>
479         [BZ #19182]
480         * malloc/arena.c (list_lock): Document lock ordering requirements.
481         (free_list_lock): New lock.
482         (ptmalloc_lock_all): Comment on free_list_lock.
483         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
484         (detach_arena): Update comment.  free_list_lock is now needed.
485         (_int_new_arena): Use free_list_lock around detach_arena call.
486         Acquire arena lock after list_lock.  Add comment, including FIXME
487         about incorrect synchronization.
488         (get_free_list): Switch to free_list_lock.
489         (reused_arena): Acquire free_list_lock around detach_arena call
490         and attached threads counter update.  Add two FIXMEs about
491         incorrect synchronization.
492         (arena_thread_freeres): Switch to free_list_lock.
493         * malloc/malloc.c (struct malloc_state): Update comments to
494         mention free_list_lock.
496 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
498         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
499         Remove functions.
500         (sloww, sloww1): Accept argument to offset quadrant.
501         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
502         quadrant.
503         (__sin, __cos): Consolidate common code into new functions.
504         (reduce_sincos_1, do_sincos_1): New functions.
505         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
507         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
508         code to new functions.
509         (reduce_sincos_2, do_sincos_2): New functions.
510         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
512         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
513         common code for sincos.
514         (__cos) [!IN_SINCOS]: Likewise.
515         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
516         New function.
517         (__sincos): Use it.
519 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
521         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
522         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
523         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
525 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
527         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
528         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
529         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
530         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
531         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
532         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
533         index_Prefer_No_VZEROUPPER): New feature.
534         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
535         Prefer_No_VZEROUPPER for Knights Landing.
537 015-12-18  Torvald Riegel  <triegel@redhat.com>
539         * math/atest-exp2.c (mp_exp_m1): Remove.
541 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
543         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
544         syscalls.
545         (__SYSCALL0): New macro.
546         (__SYSCALL1): Likewise.
547         (__SYSCALL2): Likewise.
548         (__SYSCALL3): Likewise.
549         (__SYSCALL4): Likewise.
550         (__SYSCALL5): Likewise.
551         (__SYSCALL6): Likewise.
552         (__SYSCALL_CONCAT_X): Likewise.
553         (__SYSCALL_CONCAT): Likewise.
554         (__SYSCALL_DIST): Likewise.
555         (__SYSCALL_CALL): Likewise.
557 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
559         [BZ #19363]
560         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
562 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
564         [BZ #19375]
565         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
566         negative subnormals.
568 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
570         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
571         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
572         (INTERNAL_SYSCALL_NCS): Use it.
573         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
575 2015-12-16  Florian Weimer  <fweimer@redhat.com>
577         [BZ #19243]
578         * malloc/arena.c (get_free_list): Remove assert and adjust
579         reference count handling.  Add comment about reused_arena
580         interaction.
581         (reused_arena): Add comments abount get_free_list interaction.
582         * malloc/tst-malloc-thread-exit.c: New file.
583         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
584         (tst-malloc-thread-exit): Link against libpthread.
586 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
588         [BZ #19367]
589         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
590         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
591         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
592         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
593         (index_Prefer_MAP_32BIT_EXEC): Likewise.
595 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
597         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
598         Silvermont optimizations for Knights Landing.
600 2015-12-15  Andreas Schwab  <schwab@suse.de>
602         [BZ #17197]
603         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
604         immediately after emitting SI.
605         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
606         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
607         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
608         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
609         * iconvdata/bug-iconv10.c: New file.
610         * iconvdata/Makefile (tests): Add bug-iconv10.
611         ($(objpfx)bug-iconv10.out): New rule.
613 2015-12-15  Florian Weimer  <fweimer@redhat.com>
615         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
616         aliasing violation.
618 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
620         [BZ #18472]
621         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
622         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
623         conditionals for them.
624         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
625         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
626         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
627         sys/kdaemon.h.
628         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
629         compat-only syscall, obsoleted in glibc 2.23.
630         (create_module): Likewise.
631         (get_kernel_syms): Likewise.
632         (query_module): Likewise.
633         (uselib): Likewise.
634         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
636 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
638         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
639         <linux/version.h>.
640         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
641         conditional code.
642         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
643         and ioshift_name initialization.
645 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
647         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
648         Fix indentation.
650 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
652         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
654 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
656         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
658 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
659             Jakub Wilk  <jwilk@debian.org>
661         [BZ #19347]
662         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
663         to change the group of the device to the tty group.
665 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
667         Split large string section; add truncation advice
668         * manual/examples/strncat.c: Remove.
669         This example was misleading, as the code would have undefined
670         behavior if "hello" was longer than SIZE.  Anyway, the manual
671         shouldn't encourage strncpy+strncat for this sort of thing.
672         * manual/string.texi (Copying Strings and Arrays): Split into
673         three sections Copying Strings and Arrays, Concatenating Strings,
674         and Truncating Strings, as this section was way too long.  All
675         cross-referenced changed.  Add advice about string-truncation
676         functions.  Remove misleading strncat example.
678 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
680         * manual/nss.texi (NSS Modules Interface): Document
681         NSS_STATUS_NOTFOUND and SUCCESS.
683 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
685         [BZ 18568]
686         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
687         201505L, for Unicode 8.
689 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
691         * locale/C-translit.h: Regenerate.
693 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
695         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
696         and U+0153.
698 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
700         [BZ #19351]
701         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
702         expanding log(1+z), compare z rather than its square with epsilon
703         to determine when to avoid evaluating the expansion.
705         [BZ #19350]
706         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
707         Increase overflow threshold.
709         [BZ #19349]
710         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
711         when small.
713         * sysdeps/unix/sysv/linux/i386/kernel-features.h
714         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
715         New macro.
716         [__LINUX_KERNEL_VERSION >= 0x040300]
717         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
718         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
719         Likewise.
720         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
721         Likewise.
722         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
723         Likewise.
724         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
725         Likewise.
726         [__LINUX_KERNEL_VERSION >= 0x040300]
727         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
728         [__LINUX_KERNEL_VERSION >= 0x040300]
729         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
730         [__LINUX_KERNEL_VERSION >= 0x040300]
731         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
732         [__LINUX_KERNEL_VERSION >= 0x040300]
733         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
734         [__LINUX_KERNEL_VERSION >= 0x040300]
735         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
736         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
737         Likewise.
738         [__LINUX_KERNEL_VERSION >= 0x040300]
739         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
740         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
741         Likewise.
742         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
743         Likewise.
744         [__LINUX_KERNEL_VERSION >= 0x040300]
745         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
746         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
747         Likewise.
748         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
749         Likewise.
750         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
751         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
752         Likewise.
753         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
754         Likewise.
755         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
756         Likewise.
757         [__LINUX_KERNEL_VERSION >= 0x040300]
758         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
759         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
760         Likewise.
761         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
762         Likewise.
763         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
764         Likewise.
765         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
766         Likewise.
767         [__LINUX_KERNEL_VERSION >= 0x040300]
768         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
769         [__LINUX_KERNEL_VERSION >= 0x040300]
770         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
771         [__LINUX_KERNEL_VERSION >= 0x040300]
772         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
773         [__LINUX_KERNEL_VERSION >= 0x040300]
774         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
775         [__LINUX_KERNEL_VERSION >= 0x040300]
776         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
777         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
778         Likewise.
779         [__LINUX_KERNEL_VERSION >= 0x040300]
780         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
781         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
782         Likewise.
783         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
784         Likewise.
785         [__LINUX_KERNEL_VERSION >= 0x040300]
786         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
787         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
788         Likewise.
789         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
790         Likewise.
791         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
792         (__ASSUME_SOCKET_SYSCALL): Likewise.
793         (__ASSUME_BIND_SYSCALL): Likewise.
794         (__ASSUME_CONNECT_SYSCALL): Likewise.
795         (__ASSUME_LISTEN_SYSCALL): Likewise.
796         (__ASSUME_ACCEPT_SYSCALL): Likewise.
797         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
798         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
799         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
800         (__ASSUME_SEND_SYSCALL): Likewise.
801         (__ASSUME_SENDTO_SYSCALL): Likewise.
802         (__ASSUME_RECV_SYSCALL): Likewise.
803         (__ASSUME_RECVFROM_SYSCALL): Likewise.
804         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
805         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
806         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
807         (__ASSUME_SENDMSG_SYSCALL): Likewise.
808         (__ASSUME_RECVMSG_SYSCALL): Likewise.
809         * sysdeps/unix/sysv/linux/sh/kernel-features.h
810         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
811         Likewise.
812         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
813         Likewise.
814         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
815         Likewise.
816         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
817         Likewise.
818         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
819         Likewise.
820         [__LINUX_KERNEL_VERSION >= 0x020625]
821         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
822         [__LINUX_KERNEL_VERSION >= 0x020625]
823         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
824         [__LINUX_KERNEL_VERSION >= 0x020625]
825         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
826         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
827         Likewise.
828         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
829         Likewise.
830         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
831         Likewise.
832         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
833         Likewise.
834         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
835         Likewise.
836         [__LINUX_KERNEL_VERSION >= 0x020625]
837         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
838         [__LINUX_KERNEL_VERSION >= 0x020625]
839         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
840         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
841         Likewise.
842         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
843         Likewise.
845 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
847         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
848         record the current if the current ABI and CPU support the FP64
849         extension.
850         (has-modd-spreg): Define to record the current if the current ABI and
851         CPU support 32-bit floating point values in odd FPU registers.
852         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
853         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
854         $(has-modd-spreg) equals yes.
855         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
856         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
857         $(has-modd-spreg) equal yes.
859 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
861         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
862         basename.
864 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
866         * benchtests/Makefile (bench-math): Move ffs and ffsll...
867         (bench-string): ... here.
868         (bench): Add bench-string.
869         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
870         to *-benchset to reflect what they are.
871         (benchset): Adjust.
873         * benchtests/sincos-inputs: Add inputs from sin-inputs and
874         cos-inputs.
876 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
878         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
879         __attribute__ ((__simd__)) for vector math function declarations.
881 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
883         Fix typo in strncat, wcsncat manual entries
884         * manual/string.texi (Copying and Concatenation): Fix typos in
885         sample implementations of strncat and wcsncat, by having them use
886         the old value of the destination length, not the new one.
888 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
890         [BZ #16961]
891         [BZ #16962]
892         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
893         string on the stack for strtod.
894         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
895         a string on the stack for strtof.
896         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
897         constructing a string on the stack for strtold.
898         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
899         __strtold_nan to GLIBC_PRIVATE.
900         * math/test-nan-overflow.c: New file.
901         * math/test-nan-payload.c: Likewise.
902         * math/Makefile (tests): Add test-nan-overflow and
903         test-nan-payload.
905 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
907         Consistency about byte vs character in string.texi
908         * manual/string.texi (String and Array Utilities):
909         Distinguish more carefully among bytes, multibyte characters,
910         and wide characters.  Use "byte" when talking about C 'char',
911         to distinguish it more clearly from multibyte characters.
912         Say "wide character" or "multibyte character" instead of
913         "character", when a wide or multibyte character is intended.
914         Similarly for "multibyte string" versus "string".
915         Define these terms more carefully.
917 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
919         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
920         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
921         Likewise.
922         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
923         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
924         * sysdeps/sh/math_private.h: New file.
925         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
926         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
927         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
928         long double function name.
929         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
930         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
931         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
932         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
933         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
935         Remove __finitel, __isinfl, and __isnanl.
936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
937         Likewise.
938         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
940         Remove __finitel.
941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
942         Likewise.
943         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
945 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
947         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
948         installed libmvec_nonshared.a.
950 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
952         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
953         (sysdep_routines): Likewise.
954         (sysdep-rtld-routines): Likewise.
955         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
956         [$(subdir) = nptl](tests-static): test-get_hwcap-static
957         * sysdeps/powerpc/Versions: Added new
958         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
959         * sysdeps/powerpc/hwcapinfo.c: New file.
960         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
961         and parse hwcap, hwcap2 and platform number information.
962         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
963         to store HWCAP+HWCAP2 and platform number.
964         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
965         for HWCAP+HWCAP2 and platform number in the TCB.
966         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
967         the HWCAP, HWCAP2 and platform number in the TCB.
968         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
969         (TLS_INIT_TP): Included calls to add the hwcap and
970         at_platform values in the TCB in TP initialization.
971         (TLS_DEFINE_INIT_TP): Likewise.
972         (THREAD_GET_HWCAP): New macro.
973         (THREAD_SET_HWCAP): Likewise.
974         (THREAD_GET_AT_PLATFORM): Likewise.
975         (THREAD_SET_AT_PLATFORM): Likewise.
976         * sysdeps/powerpc/powerpc32/dl-machine.h:
977         (dl_platform_init): New function that calls
978         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
979         powerpc32.
980         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
981         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
982         this functionality, static linking case.
983         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
984         linking case.
985         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
986         __parse_hwcap_and_convert_at_platform for the static linking case.
987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
988         Included the new __parse_hwcap_and_convert_at_platform symbol in the
989         ABI list for GLIBC 2.23.
990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
991         Likewise.
992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
993         Likewise.
995 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
997         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
998         * configure: Regenerate.
999         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
1000         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
1002 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
1004         * iconvdata/ibm930.c: Add comment explaining encoding uses.
1005         * iconvdata/ibm933.c: Likewise.
1006         * iconvdata/ibm935.c: Likewise.
1007         * iconvdata/ibm937.c: Likewise.
1008         * iconvdata/ibm939.c: Likewise.
1010 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1012         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
1013         pthread_join.
1014         * nptl/tst-cancel21.c (tf): Likewise.
1016 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
1018         [BZ #19313]
1019         * bits/typesizes.h (__CPU_MASK_TYPE): New.
1020         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1021         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1022         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
1023         Likewise.
1024         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
1025         Likewise.
1026         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
1027         Likewise.
1028         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
1029         Likewise.
1030         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
1031         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
1032         unsigned long int with __CPU_MASK_TYPE.
1034 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1036         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1038 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
1040         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
1041         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
1042         t512.x.
1043         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
1045 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
1047         [BZ #19214]
1048         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
1049         argument to return extended model.  Update family and model
1050         with extended family and model when family == 0x0f.
1051         (init_cpu_features): Updated.
1053 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1055         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
1056         signed off_t, so 32bit bigger than 2GiB values are fine actually.
1058         * sysdeps/mach/hurd/mmap64.c: New file.
1060 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
1062         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
1063         rights for its main user thread in NEWTASK.
1065 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
1067         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
1068         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
1070 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
1072         [BZ #14259]
1073         * Makeconfig: Rename localedir to complocaledir.
1074         Rename inst_localedir to inst_complocaledir.
1075         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
1076         * config.make.in: Use complocaledir and libc_cv_complocaledir.
1077         * configure.ac: Use libc_cv_complocaledir.
1078         * configure: Regenerate.
1079         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
1080         -DCOMPLOCALEDIR.
1081         * locale/findlocale.c: Use COMPLOCALEDIR.
1082         * locale/loadarchive.c: Likewise.
1083         * locale/programs/locale.c: Likewise.
1084         * locale/programs/localedef.c: Likewise.
1085         * locale/programs/locarchive.c: Likewise.
1086         * localedata/Makefile: Use inst_complocaledir.
1087         * sysdeps/gnu/configure: Regenerate.
1088         * sysdeps/hppa/configure: Regenerate.
1089         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
1090         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1092         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
1093         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
1094         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
1095         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
1097 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
1099         [BZ #19058]
1100         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
1101         AS_NEEDED.
1102         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
1103         workaround.
1104         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
1105         libmvec-static-only-routines): Added new file.
1106         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
1108 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1110         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
1111         of interrupted RPC instead of restoring it.
1113         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
1114         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
1115         libc_hidden_def.
1116         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
1117         into initialized data instead of common. Define rtld_hidden_data_def.
1118         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
1119         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
1120         libc_hidden_def.
1121         (if_freenameindex): Add libc_hidden_weak.
1122         (if_nameindex): Add libc_hidden_weak.
1123         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
1124         __open64.
1125         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
1126         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
1127         * sysdeps/mach/nanosleep.c: Include <time.h>
1128         (__nanosleep): Rename to __libc_nanosleep.
1129         (__nanosleep): Add weak_alias.
1130         (nanosleep): Update alias.
1132 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
1134         * stdlib/strtod_nan.c: New file.
1135         * stdlib/strtod_nan_double.h: Likewise.
1136         * stdlib/strtod_nan_float.h: Likewise.
1137         * stdlib/strtod_nan_main.c: Likewise.
1138         * stdlib/strtod_nan_narrow.h: Likewise.
1139         * stdlib/strtod_nan_wide.h: Likewise.
1140         * stdlib/strtof_nan.c: Likewise.
1141         * stdlib/strtold_nan.c: Likewise.
1142         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
1143         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
1144         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
1145         * wcsmbs/wcstod_nan.c: Likewise.
1146         * wcsmbs/wcstof_nan.c: Likewise.
1147         * wcsmbs/wcstold_nan.c: Likewise.
1148         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
1149         strtold_nan.
1150         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
1151         wcstof_nan.
1152         * include/stdlib.h (__strtof_nan): Declare and use
1153         libc_hidden_proto.
1154         (__strtod_nan): Likewise.
1155         (__strtold_nan): Likewise.
1156         (__wcstof_nan): Likewise.
1157         (__wcstod_nan): Likewise.
1158         (__wcstold_nan): Likewise.
1159         * include/wchar.h (____wcstoull_l_internal): Declare.
1160         * stdlib/strtod_l.c: Do not include <ieee754.h>.
1161         (____strtoull_l_internal): Remove declaration.
1162         (STRTOF_NAN): Define macro.
1163         (SET_MANTISSA): Remove macro.
1164         (STRTOULL): Likewise.
1165         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
1166         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
1167         (STRTOF_NAN): Define macro.
1168         (SET_MANTISSA): Remove macro.
1169         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
1170         (SET_MANTISSA): Remove macro.
1171         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
1172         macro.
1173         (SET_MANTISSA): Remove macro.
1174         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
1175         macro.
1176         (SET_MANTISSA): Remove macro.
1177         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
1178         (SET_MANTISSA): Remove macro.
1179         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
1180         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
1181         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
1183         [BZ #19266]
1184         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
1185         upper case and lower case letters inside NAN(), not using TOLOWER.
1186         * stdlib/tst-strtod-nan-locale-main.c: New file.
1187         * stdlib/tst-strtod-nan-locale.c: Likewise.
1188         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
1189         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
1190         Depend on $(gen-locales).
1191         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
1192         * wcsmbs/tst-wcstod-nan-locale.c: New file.
1193         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
1194         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
1195         Depend on $(gen-locales).
1196         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
1198 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
1200         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
1202         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
1204         __finitel, __isinfl, and __isnanl.
1205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1206         Likewise.
1207         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
1209         __finitel.
1210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1211         Likewise.
1212         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1214 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1216         * malloc/memusage.c (me): Remove redundant getenv call.
1218 2015-10-24  Florian Weimer  <fweimer@redhat.com>
1220         [BZ #19143]
1221         [BZ #19164]
1222         * nptl/check-cpuset.h: Remove.
1223         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
1224         Remove CPU set size check.
1225         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
1226         Likewise.
1227         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
1228         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1229         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
1230         (__pthread_setaffinity_new): Remove CPU set size check.
1231         * sysdeps/unix/sysv/linux/sched_setaffinity.c
1232         (__kernel_cpumask_size): Remove.
1233         (__sched_setaffinity_new): Remove CPU set size check.
1234         * manual/threads.texi (Default Thread Attributes): Remove stale
1235         reference to check_cpuset_attr, determine_cpumask_size in comment.
1236         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
1237         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
1238         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
1239         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
1240         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
1241         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
1242         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
1243         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
1244         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
1245         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
1246         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
1247         skeleton test file.
1248         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
1249         tst-affinity-pid.
1251 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1253         * scripts/update-abilist.sh: New file.
1254         * Makefile (+subdir_targets): Add subdir_update-all-abi.
1255         * Makerules (update-all-abi-%, update-all-abi)
1256         (subdir_update-all-abi): New targets.
1257         * elf/Makefile (update-all-abi): New target.
1259 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1261         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
1262         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
1263         (__libc_lock_define_initialized): Use it.
1264         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
1265         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
1266         * malloc/malloc.c (main_arena): Likewise.
1267         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1268         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1270 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
1272         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1273         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
1274         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1275         (PTRACE_O_MASK): Update value.
1276         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
1277         New value in enum __ptrace_setoptions.
1278         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1279         (PTRACE_O_MASK): Update value.
1280         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1281         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1282         (PTRACE_O_MASK): Update value.
1283         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1284         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1285         (PTRACE_O_MASK): Update value.
1286         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
1287         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1288         (PTRACE_O_MASK): Update value.
1289         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
1290         New value in enum __ptrace_setoptions.
1291         (PTRACE_O_MASK): Update value.
1292         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
1293         New value in enum __ptrace_setoptions.
1294         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1295         (PTRACE_O_MASK): Update value.
1297         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
1298         New macro.
1299         (PACKET_AUXDATA): Likewise.
1300         (PACKET_ORIGDEV): Likewise.
1301         (PACKET_VERSION): Likewise.
1302         (PACKET_HDRLEN): Likewise.
1303         (PACKET_RESERVE): Likewise.
1304         (PACKET_TX_RING): Likewise.
1305         (PACKET_LOSS): Likewise.
1306         (PACKET_VNET_HDR): Likewise.
1307         (PACKET_TX_TIMESTAMP): Likewise.
1308         (PACKET_TIMESTAMP): Likewise.
1309         (PACKET_FANOUT): Likewise.
1310         (PACKET_TX_HAS_OFF): Likewise.
1311         (PACKET_QDISC_BYPASS): Likewise.
1312         (PACKET_ROLLOVER_STATS): Likewise.
1313         (PACKET_FANOUT_DATA): Likewise.
1314         (PACKET_MR_UNICAST): Likewise.
1316         [BZ #19242]
1317         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
1318         (TOUPPER): Likewise.
1319         * stdlib/tst-strtol-locale-main.c: New file.
1320         * stdlib/tst-strtol-locale.c: Likewise.
1321         * stdlib/Makefile (tests): Add tst-strtol-locale.
1322         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
1323         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
1324         Depend on $(gen-locales).
1325         * wcsmbs/tst-wcstol-locale.c: New file.
1326         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
1327         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
1328         tr_TR.ISO-8859-9.
1329         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
1330         Depend on $(gen-locales).
1332 2015-11-20  Roland McGrath  <roland@hack.frob.com>
1334         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
1335         __glibc_likely instead of __builtin_expect.  After falling back to
1336         dyncode_create in a non-ET_DYN case, use the allocate_code_data
1337         system interface to register the code pages as occupied.
1339 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
1341         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1342         [!ARM_MATH_PRIVATE_H].
1343         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
1344         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1345         [!HPPA_MATH_PRIVATE_H].
1346         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
1347         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
1348         to [!I386_MATH_PRIVATE_H].
1349         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
1350         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
1351         Change guard to [!M68K_MATH_PRIVATE_H].
1352         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
1353         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
1354         guard to [!MICROBLAZE_MATH_PRIVATE_H].
1355         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
1356         macro.
1357         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1358         [!MIPS_MATH_PRIVATE_H].
1359         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
1360         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1361         [!NIO2_MATH_PRIVATE_H].
1362         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
1363         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1364         [!TILE_MATH_PRIVATE_H].
1365         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
1367         [BZ #15421]
1368         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
1369         initialize with 0 and define as weak alias of __signgam.
1370         * include/math.h [!_ISOMAC] (__signgam): Declare.
1371         * math/Makefile (libm-calls): Add w_lgamma_compat.
1372         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
1373         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
1374         test-signgam-ullong-init.
1375         (tests-static): Add test-signgam-uchar-static,
1376         test-signgam-uchar-init-static, test-signgam-uint-static,
1377         test-signgam-uint-init-static, test-signgam-ullong-static and
1378         test-signgam-ullong-init-static.
1379         (CFLAGS-test-signgam-uchar.c): New variable.
1380         (CFLAGS-test-signgam-uchar-init.c): Likewise.
1381         (CFLAGS-test-signgam-uchar-static.c): Likewise.
1382         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
1383         (CFLAGS-test-signgam-uint.c): Likewise.
1384         (CFLAGS-test-signgam-uint-init.c): Likewise.
1385         (CFLAGS-test-signgam-uint-static.c): Likewise.
1386         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
1387         (CFLAGS-test-signgam-ullong.c): Likewise.
1388         (CFLAGS-test-signgam-ullong-init.c): Likewise.
1389         (CFLAGS-test-signgam-ullong-static.c): Likewise.
1390         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
1391         * math/Versions (libm): Add GLIBC_2.23.
1392         * math/lgamma-compat.h: New file.
1393         * math/test-signgam-main.c: Likewise.
1394         * math/test-signgam-uchar-init-static.c: Likewise.
1395         * math/test-signgam-uchar-init.c: Likewise.
1396         * math/test-signgam-uchar-static.c: Likewise.
1397         * math/test-signgam-uchar.c: Likewise.
1398         * math/test-signgam-uint-init-static.c: Likewise.
1399         * math/test-signgam-uint-init.c: Likewise.
1400         * math/test-signgam-uint-static.c: Likewise.
1401         * math/test-signgam-uint.c: Likewise.
1402         * math/test-signgam-ullong-init-static.c: Likewise.
1403         * math/test-signgam-ullong-init.c: Likewise.
1404         * math/test-signgam-ullong-static.c: Likewise.
1405         * math/test-signgam-ullong.c: Likewise.
1406         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
1407         wrapper of w_lgamma_main.c.
1408         * math/w_lgamma_compat.c: New file.
1409         * math/w_lgamma_compatf.c: Likewise.
1410         * math/w_lgamma_compatl.c: Likewise.
1411         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
1412         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1413         defining compatibility symbols.
1414         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
1415         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
1416         wrapper of w_lgammaf_main.c.
1417         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
1418         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1419         defining compatibility symbols.
1420         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
1421         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
1422         wrapper of w_lgammal_main.c.
1423         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
1424         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1425         defining compatibility symbols.
1426         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
1427         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
1428         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
1429         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
1430         <lgamma-compat.h>.
1431         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
1432         (__ieee754_gamma): Define as alias.
1433         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
1434         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
1435         <lgamma-compat.h>.
1436         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
1437         (__ieee754_gammaf): Define as alias.
1438         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
1439         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
1440         <lgamma-compat.h>.
1441         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
1442         (__ieee754_gammal): Define as alias.
1443         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
1444         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
1445         <math/w_lgamma_compat.c>.
1446         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
1447         Define as alias of __lgamma_compat and use in defining lgammal.
1448         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
1449         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
1450         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
1451         (USE_AS_COMPAT): New macro.
1452         (LGAMMA_OLD_VER): Undefine and redefine.
1453         (lgammal): Do not define here.
1454         (gammal): Only define here if [GAMMA_ALIAS].
1455         * conform/linknamespace.pl (@whitelist): Remove signgam.
1456         * sysdeps/nacl/libm.abilist: Update.
1457         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1458         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1459         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1460         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1461         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1462         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1463         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1464         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1465         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1466         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1467         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1468         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1470         Likewise.
1471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1472         Likewise.
1473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1474         Likewise.
1475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1476         Likewise.
1477         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1478         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1479         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1480         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1481         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1483         Likewise.
1484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1485         Likewise.
1486         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1487         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1488         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1490 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1492         [BZ #16364]
1493         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
1494         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
1496 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1498         * sysdeps/s390/fpu/bits/mathinline.h:
1499         Use __asm__ [__volatile__] instead of asm [volatile].
1500         * sysdeps/s390/abort-instr.h: Likewise.
1501         * sysdeps/s390/atomic-machine.h: Likewise.
1502         * sysdeps/s390/bits/string.h: Likewise.
1503         * sysdeps/s390/dl-tls.h: Likewise.
1504         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
1505         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
1506         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
1507         * sysdeps/s390/fpu/fesetround.c: Likewise.
1508         * sysdeps/s390/fpu/fpu_control.h: Likewise.
1509         * sysdeps/s390/fpu/s_fma.c: Likewise.
1510         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
1511         * sysdeps/s390/memusage.h: Likewise.
1512         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
1513         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
1514         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
1515         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
1516         * sysdeps/s390/nptl/tls.h: Likewise.
1517         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
1518         * sysdeps/s390/s390-32/backtrace.c: Likewise.
1519         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1520         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
1521         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1522         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1523         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
1524         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1525         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1526         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
1527         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
1528         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1529         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1530         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
1531         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
1532         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
1533         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
1534         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1535         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
1536         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1537         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
1538         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1539         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
1541 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1542             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1544         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
1545         Add lwarx hint, and use macro for acquire instruction.
1546         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1547         Likewise.
1548         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
1549         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
1550         update to use new atomic macros.
1552 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1554         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1555         (__lll_trylock_elision): Fix setting of adapt_count.
1556         * sysdeps/unix/sysv/linux/powerpc/htm.h
1557         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
1558         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
1559         (_ABORT_SYSCALL): Renumber, and clarify definition.
1560         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
1562 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1564         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
1565         after system headers to prevent MIN/MAX redefinition.  Define
1566         HAVE_ALLOCA to preserve builtin alloca usage.
1568 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
1570         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
1571         static and don't set or restore rounding.
1572         (__cos)[IN_SINCOS]: Likewise.
1573         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
1574         (__sincos): Set and restore rounding mode.  Remove check for infinite
1575         or NaN input.
1577         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
1579         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
1580         as used.
1582 2015-11-16  Florian Weimer  <fweimer@redhat.com>
1584         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
1586 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1588         * config.make.in (have-glob-dat-reloc): New.
1589         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
1590         target supports GLOB_DAT relocaton. AC_SUBST.
1591         * configure: Regenerated.
1592         * elf/Makefile (tests): Add tst-prelink.
1593         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1594         (tst-prelink-ENV): New.
1595         ($(objpfx)tst-prelink-conflict.out): Likewise.
1596         ($(objpfx)tst-prelink-cmp.out): Likewise.
1597         * sysdeps/x86/tst-prelink.c: Moved to ...
1598         * elf/tst-prelink.c: Here.
1599         * sysdeps/x86/tst-prelink.exp: Moved to ...
1600         * elf/tst-prelink.exp: Here.
1601         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
1602         (tst-prelink-ENV): Removed.
1603         ($(objpfx)tst-prelink-conflict.out): Likewise.
1604         ($(objpfx)tst-prelink-cmp.out): Likewise.
1605         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
1607 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
1609         [BZ #14551]
1610         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
1611         (__mpn_construct_long_double): If high part overflows to infinity,
1612         set errno and recompute overflowed result of the correct sign.
1613         * sysdeps/ieee754/ldbl-128ibm/Makefile
1614         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
1615         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
1616         $(libm).
1617         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
1619 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
1621         [BZ #15479]
1622         [BZ #19238]
1623         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
1624         floating-point state after first operation on input.  Restore full
1625         state rather than just rounding mode.
1626         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1627         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1628         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1630         [BZ #19235]
1631         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
1632         add 0.5 to integer arguments.
1633         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
1634         Likewise.
1635         (.LC2): New object.
1637 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
1639         * scripts/pylintrc (reports): Set to no.
1641 2015-11-10  Roland McGrath  <roland@hack.frob.com>
1643         * elf/dl-load.c (open_verify): Take new argument FD.
1644         Skip __open call if passed FD is not -1.
1645         (_dl_map_object, open_path): Update callers.
1646         * elf/dl-sysdep-open.h: New file.
1647         * elf/dl-load.c: Include it.
1648         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
1649         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
1650         * sysdeps/nacl/dl-sysdep-open.h: New file.
1651         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
1652         from libc to rtld.
1654 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
1656         [BZ #19228]
1657         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
1658         and restore full floating-point state.
1659         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1660         Likewise.
1661         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1662         Likewise.
1663         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1664         Likewise.
1665         * math/test-nearbyint-except-2.c: New file.
1666         * math/Makefile (tests): Add test-nearbyint-except-2.
1668 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
1670         [BZ #19178]
1671         * sysdeps/x86/Makefile (tests): Add tst-prelink.
1672         (tst-prelink-ENV): New.
1673         ($(objpfx)tst-prelink-conflict.out): Likewise.
1674         ($(objpfx)tst-prelink-cmp.out): Likewise.
1675         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1676         * sysdeps/x86/tst-prelink.c: New file.
1677         * sysdeps/x86/tst-prelink.exp: Likewise.
1679 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
1681         * math/auto-libm-test-in: Add another test of pow.
1682         * math/auto-libm-test-out: Regenerated.
1683         * math/libm-test.inc (pow_test_data): Add another test.
1685 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1687         [BZ #19219]
1688         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
1689         weak_alias to nearbyintl.
1691 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
1693         * sysdeps/aarch64/bits/string.h: New file.
1694         (_STRING_ARCH_unaligned): Define.
1696 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
1698         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
1699         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1700         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1701         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
1702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
1704 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
1706         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
1707         for original name of the DSO.  Add it to the name list of the DSO
1708         if it is actually given.
1709         (_dl_map_object): Keep track of whether an audit module rewrote
1710         the file name.  If yes, pass the original name to
1711         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
1712         debugging is enabled, log the change of the file name.
1713         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
1714         _dl_map_object_from_fd.
1715         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
1716         * elf/tst-audit11.c: New file
1717         * elf/tst-auditmod11.c: New file.
1718         * elf/tst-audit11mod1.c: New file.
1719         * elf/tst-audit11mod2.c: New file.
1720         * elf/tst-audit11mod2.map: New file.
1721         * elf/tst-audit12.c: New file
1722         * elf/tst-auditmod12.c: New file.
1723         * elf/tst-audit12mod1.c: New file.
1724         * elf/tst-audit12mod2.c: New file.
1725         * elf/tst-audit12mod2.map: New file.
1726         * elf/tst-audit12mod3.c: New file.
1728 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1730         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
1731         Don't create weak aliases,
1732         because versioned symbols are created later.
1733         * sysdeps/s390/s390-32/setjmp.S
1734         (setjmp, _setjmp): Remove weak and rename to an unique name
1735         in SHARED case due to existing versioned symbols.
1736         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1737         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
1738         (getcontext): Create weak alias only in non SHARED case.
1739         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1741 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1743         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
1744         (__ASSUME_*_SYSCALL) Define new macros.
1745         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
1746         Remove socketcall syscalls.
1747         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
1748         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
1749         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
1750         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
1751         * sysdeps/unix/sysv/linux/send.c (__libc_send):
1752         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
1754 2015-11-09  Florian Weimer  <fweimer@redhat.com>
1756         [BZ #12926]
1757         Terminate process on invalid netlink response.
1758         * sysdeps/unix/sysv/linux/netlinkaccess.h
1759         (__netlink_assert_response): Declare.
1760         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
1761         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
1762         (sysdep_routines): Add netlink_assert_response.
1763         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
1764         __netlink_assert_response.
1765         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1766         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1767         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
1768         __netlink_assert_response.
1770 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
1772         [BZ #19178]
1773         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
1774         (RTYPE_CLASS_PLT): Likewise.
1775         (RTYPE_CLASS_COPY): Likewise.
1776         (RTYPE_CLASS_TLS): Likewise.
1777         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
1778         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
1779         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
1780         DL_DEBUG_PRELINK.
1782 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
1784         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
1785         calls with argument -0.5.
1786         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
1788         * configure.ac (libc_cv_z_nodelete): Remove configure test.
1789         (libc_cv_z_nodlopen): Likewise.
1790         (libc_cv_z_initfirst): Likewise.
1791         * configure: Regenerated.
1793 2015-11-06  Florian Weimer  <fweimer@redhat.com>
1795         Simplify abilist format to be line-based.
1796         * scripts/abilist.awk: Collect descriptors in the descs variable.
1797         (emit): Write descs variable and sort it
1798         externally, with sort.
1799         * sysdeps/**/*.abilist: Convert to new format.
1801 2015-11-06  Mark Wielaard  <mjw@redhat.com>
1803         [BZ #11460]
1804         * io/Makefile (routines): Add fts64.
1805         (tests): Add tst-fts and tst-fts-lfs.
1806         (CFLAGS-fts64.c): New.
1807         * io/Versions (GLIBC_2.23): New.
1808         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
1809         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
1810         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
1811         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
1812         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
1813         (FTSENT64): Likewise.
1814         (fts64_children): Likewise.
1815         (fts64_close): Likewise.
1816         (fts64_open): Likewise.
1817         (fts64_read): Likewise.
1818         (fts64_set): Likewise.
1819         * io/fts64.c: New file.
1820         * io/tst-fts.c: New test.
1821         * io/tst-fts-lfs.c: Likewise.
1822         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
1823         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
1824         fts64_set.
1825         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1826         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1827         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1828         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1829         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1830         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1831         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1832         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1833         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1834         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1835         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1836         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1837         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1839         Likewise.
1840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1841         Likewise.
1842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1844         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1845         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1846         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1847         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1848         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1851         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1852         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1853         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1854         * sysdeps/wordsize-64/fts.c: New file.
1855         * sysdeps/wordsize-64/fts64.c: Likewise.
1856         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
1857         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
1858         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
1859         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
1861 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
1863         * math/libm-test.inc (NON_FINITE): New macro.
1864         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
1865         * math/gen-libm-test.pl (show_exceptions): Add argument
1866         $non_finite.
1867         (parse_args): Update call to show_exceptions.
1868         * math/test-math-finite.h: New file.
1869         * math/test-math-no-finite.h: Likewise.
1870         * math/test-double-finite.c: Likewise.
1871         * math/test-float-finite.c: Likewise.
1872         * math/test-ldouble-finite.c: Likewise.
1873         * math/test-double.c: Include "test-math-no-finite.h".
1874         * math/test-float.c: Include "test-math-no-finite.h".
1875         * math/test-ldouble.c: Include "test-math-no-finite.h".
1876         * math/test-math-inline.h (TEST_FINITE): New macro.
1877         * math/test-math-vector.h (TEST_FINITE): Likewise.
1878         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
1879         (libm-tests): Add test-float-finite and test-double-finite.
1880         ($(objpfx)test-float-finite.o): New dependency on
1881         $(objpfx)libm-test.stmp.
1882         ($(objpfx)test-double-finite.o): Likewise.
1883         ($(objpfx)test-ldouble-finite.o): Likewise.
1884         (libm-test-no-inline-cflags): New variable.
1885         (libm-test-finite-cflags): Likewise.
1886         (CFLAGS-test-float-finite.c): Likewise.
1887         (CFLAGS-test-double-finite.c): Likewise.
1888         (CFLAGS-test-ldouble-finite.c): Likewise.
1889         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
1890         (CFLAGS-test-double.c): Likewise.
1891         (CFLAGS-test-ldouble.c): Likewise.
1893 2015-11-05  Roland McGrath  <roland@hack.frob.com>
1895         * io/fcntl.c (__fcntl): Add ... to prototype.
1896         * misc/ioctl.c (__ioctl): Likewise.
1897         * misc/syscall.c (syscall): Likewise.
1899 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
1901         * scripts/list-fixed-bugs.py: New file.
1903         [BZ #19213]
1904         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
1905         returned for argument 1.
1906         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
1907         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
1908         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
1909         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
1910         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
1911         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
1913         [BZ #19211]
1914         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
1915         __USE_XOPEN], not if [!__USE_ISOC99].
1916         (lgammaf): Likewise.
1917         (lgammal): Likewise.
1918         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
1919         (gammaf): Likewise.
1920         (gammal): Likewise.
1921         * math/test-signgam-finite-c11.c: New file.
1922         * math/test-signgam-finite-c99.c: Likewise.
1923         * math/test-signgam-finite.c: Likewise.
1924         * math/Makefile (tests): Add test-signgam-finite,
1925         test-signgam-finite-c99 and test-signgam-finite-c11.
1926         (CFLAGS-test-signgam-finite.c): New variable.
1927         (CFLAGS-test-signgam-finite-c99.c): Likewise.
1928         (CFLAGS-test-signgam-finite-c11.c): Likewise.
1930         [BZ #19212]
1931         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
1932         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
1933         500].
1934         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
1935         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
1936         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
1937         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
1938         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
1939         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
1940         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
1941         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
1942         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
1943         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
1945         [BZ #19209]
1946         * math/bits/math-finite.h (ldexp): Remove declaration.
1947         (ldexpf): Likewise.
1948         (ldexpl): Likewise.
1950         [BZ #19205]
1951         * math/bits/math-finite.h (acosf): Condition declaration on
1952         [__USE_ISOC99].
1953         (acosl): Likewise.
1954         (acoshf): Likewise.
1955         (acoshl): Likewise.
1956         (asinf): Likewise.
1957         (asinl): Likewise.
1958         (atan2f): Likewise.
1959         (atan2l): Likewise.
1960         (atanhf): Likewise.
1961         (atanhl): Likewise.
1962         (coshf): Likewise.
1963         (coshl): Likewise.
1964         (expf): Likewise.
1965         (expl): Likewise.
1966         (fmodf): Likewise.
1967         (fmodl): Likewise.
1968         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
1969         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
1970         (j0l): Likewise.
1971         (y0f): Likewise.
1972         (y0l): Likewise.
1973         (j1f): Likewise.
1974         (j1l): Likewise.
1975         (y1f): Likewise.
1976         (y1l): Likewise.
1977         (jnf): Likewise.
1978         (jnl): Likewise.
1979         (ynf): Likewise.
1980         (ynl): Likewise.
1981         (lgammaf_r): Condition declaration on [__USE_ISOC99].
1982         (lgammal_r): Likewise.
1983         (__lgamma_r_finite): New declaration.
1984         (__lgammaf_r_finite): Likewise.
1985         (__lgammal_r_finite): Likewise.
1986         (lgamma): Use __lgamma_r_finite.
1987         (lgammaf): Condition definition on [__USE_ISOC99].  Use
1988         __lgammaf_r_finite.
1989         (lgammal): Condition definition on [__USE_ISOC99].  Use
1990         __lgammal_r_finite.
1991         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
1992         __lgamma_r_finite.
1993         (gammaf): Condition definition on [__USE_ISOC99].  Use
1994         __lgammaf_r_finite.
1995         (gammal): Condition definition on [__USE_ISOC99].  Use
1996         __lgammal_r_finite.
1997         (logf): Condition declaration on [__USE_ISOC99].
1998         (logl): Likewise.
1999         (log10f): Likewise.
2000         (log10l): Likewise.
2001         (ldexpf): Likewise.
2002         (ldexpl): Likewise.
2003         (powf): Likewise.
2004         (powl): Likewise.
2005         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
2006         __USE_ISOC99].
2007         (remainderf): Condition declaration on [__USE_ISOC99].
2008         (remainderl): Likewise.
2009         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
2010         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
2011         (scalbl): Likewise.
2012         (sinhf): Condition declaration on [__USE_ISOC99].
2013         (sinhl): Likewise.
2014         (sqrtf): Likewise.
2015         (sqrtl): Likewise.
2017 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2019         * sysdeps/arm/atomic-machine.h
2020         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2021         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2022         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
2023         Remove conditional code.
2024         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2025         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2026         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
2027         Change conditional to [__ASSEMBLER__].
2028         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2029         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
2030         [!__ASSEMBLER__].
2031         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
2032         code.
2033         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
2034         conditional macro definitions.
2035         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
2036         (__arch_compare_and_exchange_val_16_acq): Likewise.
2037         (__arch_compare_and_exchange_val_32_acq): Likewise.
2038         (atomic_exchange_and_add): Likewise.
2039         (atomic_add): Likewise.
2040         (atomic_add_negative): Likewise.
2041         (atomic_add_zero): Likewise.
2042         (atomic_bit_set): Likewise.
2043         (atomic_bit_test_set): Likewise.
2044         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
2045         code unconditional.
2046         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2048         * math/test-math-errno.h: New file.
2049         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
2050         empty.
2051         (TEST_ERRNO): New macro.
2052         (TEST_EXCEPTIONS): Likewise.
2053         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
2054         (TEST_EXCEPTIONS): Likewise.
2055         * math/test-math-vector.h (TEST_ERRNO): Likewise.
2056         * math/test-double.c: Include "test-math-errno.h".
2057         * math/test-float.c: Likewise.
2058         * math/test-ldouble.c: Likewise.
2059         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
2060         code unconditional.
2061         (test_exceptions): Only run code if TEST_EXCEPTIONS.
2062         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
2063         unconditional.
2064         (test_errno): Only run code if TEST_ERRNO.
2065         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
2067 2015-11-04  Florian Weimer  <fweimer@redhat.com>
2069         * nptl/tst-once5.cc: Remove attribution.
2071 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2073         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
2074         sqrt, tan, tanh, y0, y1 and yn.
2075         * math/auto-libm-test-out: Regenerated.
2076         * math/libm-test.inc (scalb_test_data): Add more tests.
2077         (scalbn_test_data): Likewise.
2078         (scalbln_test_data): Likewise.
2079         (signbit_test_data): Likewise.
2080         (sin_test_data): Likewise.
2081         (sincos_test_data): Likewise.
2082         (sinh_test_data): Likewise.
2083         (sqrt_test_data): Likewise.
2084         (tan_test_data): Likewise.
2085         (tanh_test_data): Likewise.
2086         (tgamma_test_data): Likewise.
2087         (y0_test_data): Likewise.
2088         (y1_test_data): Likewise.
2089         (yn_test_data): Likewise.
2090         (significand_test_data): Likewise.
2091         * sysdeps/i386/fpu/libm-test-ulps: Update.
2093 2015-11-03  David Kastrup  <dak@gnu.org>
2095         [BZ #18604]
2096         * assert/assert.h (assert): Don't macro-expand failed assertion
2097         expression in error message.
2098         * malloc/malloc.c (assert): Likewise.
2100 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
2102         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
2103         test.
2104         * configure: Regenerated.
2106 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
2108         * math/libm-test.inc (modf_test_data): Add more tests.
2109         (nearbyint_test_data): Likewise.
2110         (nextafter_test_data): Likewise.
2111         (nexttoward_test_data): Likewise.
2112         (pow_test_data): Likewise.
2113         (remainder_test_data): Likewise.
2114         (remquo_test_data): Likewise.
2115         (rint_test_data): Likewise.
2117         [BZ #19201]
2118         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2119         Check for zero remainder in case of large exponents and ensure
2120         correct sign of result in that case.
2121         * math/libm-test.inc (remainder_test_data): Add more tests.
2123         [BZ #6799]
2124         * math/s_nextafter.c: Include <errno.h>.
2125         (__nextafter): Set errno on overflow and underflow.
2126         * math/s_nexttowardf.c: Include <errno.h>.
2127         (__nexttowardf): Set errno on overflow and underflow.
2128         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
2129         (__nextafterl): Set errno on overflow and underflow.
2130         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
2131         (__nexttoward): Set errno on overflow and underflow.
2132         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
2133         (__nexttowardf): Set errno on overflow and underflow.
2134         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
2135         (__nextafterf): Set errno on overflow and underflow.
2136         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
2137         (__nextafterl): Set errno on overflow and underflow.
2138         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
2139         (__nexttoward): Set errno on overflow and underflow.
2140         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
2141         (__nexttowardf): Set errno on overflow and underflow.
2142         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
2143         (__nextafterl): Set errno on overflow and underflow.
2144         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
2145         (__nexttoward): Set errno on overflow and underflow.
2146         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
2147         (__nexttowardf): Set errno on overflow and underflow.
2148         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
2149         (__nexttoward): Set errno on overflow and underflow.
2150         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
2151         (__nexttowardf): Set errno on overflow and underflow.
2152         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
2153         (__nldbl_nexttowardf): Set errno on overflow and underflow.
2154         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
2155         (__nextafterl): Set errno on overflow and underflow.
2156         * math/libm-test.inc (nextafter_test_data): Do not allow errno
2157         setting to be missing on overflow.  Add more tests.
2158         (nexttoward_test_data): Likewise.
2160         * configure.ac (libc_cv_initfini_array): Remove configure test.
2161         * configure: Regenerated.
2163 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
2165         [BZ #19189]
2166         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
2167         non-finite argument handle arguments with negative sign.
2169         * math/libm-test.inc (j0_test_data): Do not test sign of zero
2170         result from infinite argument.
2171         (j1_test_data): Likewise.
2172         (jn_test_data): Likewise.
2173         (y0_test_data): Likewise.
2174         (y1_test_data): Likewise.
2175         (yn_test_data): Likewise.
2177         [BZ #16171]
2178         * math/w_remainder.c (drem): Define as weak alias of __remainder.
2179         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
2180         * math/w_remainderf.c (dremf): Define as weak alias of
2181         __remainderf.
2182         * math/w_remainderl.c (dreml): Define as weak alias of
2183         __remainderl.
2184         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
2185         __remainder.
2186         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
2187         __remainderf.
2188         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
2189         __remainderl.
2190         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
2191         weak alias of remainderl.
2192         * sysdeps/ieee754/ldbl-opt/w_remainder.c
2193         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
2194         alias of __remainder.
2195         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
2196         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
2197         strong alias of __remainderl.
2198         (dreml): Use long_double_symbol.
2199         * math/Makefile (libm-calls): Remove w_drem.
2200         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
2201         (CFLAGS-nldbl-drem.c): Remove variable.
2202         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
2203         * math/w_drem.c: Remove file.
2204         * math/w_dremf.c: Likewise.
2205         * math/w_dreml.c: Likewise.
2206         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
2207         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
2208         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
2210         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
2211         * sysdeps/i386/configure: Regenerated.
2212         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
2213         * sysdeps/x86_64/configure: Regenerated.
2215         * configure.ac (libc_cv_asm_protected_directive): Remove configure
2216         test.
2217         (libc_cv_visibility_attribute): Likewise.
2218         (libc_cv_protected_data): Test unconditionally.
2219         (libc_cv_broken_visibility_attribute): Remove configure test.
2220         (libc_cv_have_sdata_section): Test unconditionally.
2221         * configure: Regenerated.
2223         * include/libc-internal.h (libc_max_align_t): Remove typedef.
2224         * include/scratch_buffer.h: Include <stddef.h> instead of
2225         <libc-internal.h>.
2226         (struct scratch_buffer): Use max_align_t instead of
2227         libc_max_align_t.
2229 2015-10-29  Florian Weimer  <fweimer@redhat.com>
2231         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
2232         instead of extend_alloca.  Change control flow to avoid a goto.
2233         Remove assert which is trivially always true.
2235 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2237         [BZ #16068]
2238         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
2239         (FE_ALL_EXCEPT_X86): New macro.
2240         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2241         FE_ALL_EXCEPT.  Ensure precision control is included in
2242         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2243         handle "denormal operand exception" and clear FZ and DAZ bits.
2244         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
2245         (FE_ALL_EXCEPT_X86): New macro.
2246         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2247         FE_ALL_EXCEPT.  Ensure precision control is included in
2248         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2249         handle "denormal operand exception" and clear FZ and DAZ bits.
2250         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
2251         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
2252         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2253         test-fenv-x87 and test-fenv-sse-2.
2254         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
2256         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
2257         * math/test-double.h (BUILD_COMPLEX): New macro.
2258         * math/test-float.h (BUILD_COMPLEX): Likewise.
2259         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
2261         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
2262         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
2263         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
2264         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
2265         instead of DBL_DENORM_MIN in comment.
2266         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
2267         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2268         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
2269         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
2270         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
2271         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2273 2015-10-28  Florian Weimer  <fweimer@redhat.com>
2275         [BZ# 19048]
2276         * malloc/malloc.c (struct malloc_state): Update comment.  Add
2277         attached_threads member.
2278         (main_arena): Initialize attached_threads.
2279         * malloc/arena.c (list_lock): Update comment.
2280         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
2281         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
2282         (deattach_arena): New function.
2283         (_int_new_arena): Initialize arena reference count and deattach
2284         replaced arena.
2285         (get_free_list, reused_arena): Update reference count and deattach
2286         replaced arena.
2287         (arena_thread_freeres): Update arena reference count and only put
2288         unreferenced arenas on the free list.
2290 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2292         [BZ #19181]
2293         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
2294         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
2295         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
2296         * math/test-fenv-clear-main.c: New file.
2297         * math/test-fenv-clear.c: Likewise.
2298         * math/Makefile (tests): Add test-fenv-clear.
2299         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
2300         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2301         test-fenv-clear-sse.
2302         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
2304         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
2305         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
2306         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
2308 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2310         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
2311         static libc.
2313 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2315         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
2316         test.
2317         * sysdeps/i386/configure: Regenerated.
2318         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
2319         test.
2320         * sysdeps/x86_64/configure: Regenerated.
2321         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
2322         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2323         memset-avx2 unconditionally instead of conditionally on
2324         [$(config-cflags-avx2) = yes].
2325         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2326         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
2327         unconditional.
2328         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
2329         * sysdeps/x86_64/multiarch/memset_chk.S
2330         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
2331         to [IS_IN (libc) && SHARED].
2333 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2335         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
2336         configure test.
2337         * sysdeps/arm/configure: Regenerated.
2338         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
2339         Define variable if not already defined.
2341         [BZ #17404]
2342         * sysdeps/mips/atomic-machine.h
2343         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
2344         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
2345         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2347         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
2348         unconditional.
2349         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
2350         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2351         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
2352         unconditional.
2353         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2354         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
2355         unconditional.
2356         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2357         * stdlib/setenv.c
2358         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
2359         code unconditional.
2360         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
2361         Remove conditional code.
2362         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2363         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
2364         unconditional.
2365         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2366         code.
2367         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2368         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
2369         unconditional.
2370         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2371         code.
2372         * sysdeps/ieee754/ldbl-128/k_tanl.c
2373         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2374         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2375         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
2376         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2377         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2378         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
2379         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
2380         unconditional.
2381         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2382         code.
2383         * sysdeps/ieee754/ldbl-96/k_tanl.c
2384         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2385         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2387         * nptl/tst-initializers1-c11.c: New file.
2388         * nptl/tst-initializers1-gnu11.c: Likewise.
2389         * nptl/Makefile (tests): Add these new tests.
2390         (CFLAGS-tst-initializers1-c11.c): New variable.
2391         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
2393         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
2394         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
2395         instead of -std=gnu99.
2396         * configure.ac (systemtap): Test with -std=gnu11 instead of
2397         -std=gnu99.
2398         * configure: Regenerated.
2399         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
2400         in compilation command in comment.
2402         * sysdeps/nptl/configure.ac: Remove file.
2403         * sysdeps/nptl/configure: Remove generated file.
2404         * configure.ac (libc_cv_forced_unwind): Do not substitute.
2405         * configure: Regenerated.
2406         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
2407         * config.make.in (have-forced-unwind): Remove variable.
2408         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2409         unconditional.
2410         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
2411         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
2412         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
2413         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
2414         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2415         unconditional.
2417 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2419         [BZ #19174]
2420         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
2421         .skip_lock_out_of_tbegin_retries.
2422         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2423         (__lll_lock_elision): Likewise, and respect a value of
2424         try_tbegin <= 0.
2426 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2428         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
2429         statement.
2431 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2433         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
2434         variable.
2435         (test-xfail-ISO11/stdalign.h/conform): Likewise.
2436         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2438         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
2439         of -std=c1x -D_ISOC11_SOURCE.
2441         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
2442         * configure: Regenerated.
2443         * manual/install.texi (Tools for Compilation): Document
2444         requirement for GCC 4.7 or later.
2445         * INSTALL: Regenerated.
2447 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
2449         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
2450         on CNT to a conditional jump to 'puntdata'.
2452 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2454         * configure.ac (libc_cv_gcc___thread): Remove configure test.
2455         (libc_cv_gcc_tls_model_attr): Likewise.
2456         * configure: Regenerated.
2458         * configure.ac (libc_cv_need_minus_P): Remove configure test.
2459         * configure: Regenerated.
2460         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
2462 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
2464         * configure.ac (old_glibc_headers): Remove configure test.
2465         * configure: Regenerated.
2466         * config.make.in (old-glibc-headers): Remove variable.
2467         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
2468         (install): Remove dependency on remove-old-headers.
2469         (headers2_0): Remove variable.
2470         (remove-old-headers): Remove rule.
2472         * configure.ac (libc_cv_dot_text): Remove configure test.
2473         (libc_cv_asm_set_directive): Use .text instead of
2474         ${libc_cv_dot_text} in configure test.
2475         * configure: Regenerated.
2477 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2479         [BZ #19168]
2480         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2482 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2484         * configure.ac (CXX): Clear the variable if the C++ toolchain does
2485         not support static linking.
2486         * configure: Regenerate.
2488 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
2490         * math/libm-test.inc (check_float_internal): Do not special-case
2491         errors up to 0.5 ulp.
2493         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2494         log2.
2495         * math/auto-libm-test-out: Regenerated.
2496         * math/libm-test.inc (MAX_EXP): New macro.
2497         (ilogb_test_data): Add more tests.
2498         (isfinite_test_data): Likewise.
2499         (isgreater_test_data): Likewise.
2500         (isgreaterequal_test_data): Likewise.
2501         (isinf_test_data): Likewise.
2502         (isless_test_data): Likewise.
2503         (islessequal_test_data): Likewise.
2504         (islessgreater_test_data): Likewise.
2505         (isnan_test_data): Likewise.
2506         (isnormal_test_data): Likewise.
2507         (issignaling_test_data): Likewise.
2508         (isunordered_test_data): Likewise.
2509         (j0_test_data): Likewise.
2510         (j1_test_data): Likewise.
2511         (jn_test_data): Likewise.
2512         (lgamma_test_data): Likewise.
2513         (log_test_data): Likewise.
2514         (log10_test_data): Likewise.
2515         (log1p_test_data): Likewise.
2516         (log2_test_data): Likewise.
2517         (logb_test_data): Likewise.
2518         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2520         [BZ #18611]
2521         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
2522         avoid excess range and precision on underflow.
2523         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2524         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
2525         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2526         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
2527         underflow.
2528         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2529         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2530         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2531         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2532         * math/auto-libm-test-in: Do not allow missing errno setting for
2533         tests of j1 and jn.
2534         * math/auto-libm-test-out: Regenerated.
2536 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
2538         [BZ #15491]
2539         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
2540         floating-point environment instead of clearing all exceptions.
2541         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2542         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
2543         merging in "invalid" exceptions from frndint.
2544         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2545         * math/test-nearbyint-except.c: New file.
2546         * math/Makefile (tests): Add test-nearbyint-except.
2548 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
2550         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
2552         * sysdeps/tile/libm-test-ulps: Regenerated.
2554 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
2557         (__NR_sync_file_range2): Assume it is always defined.
2558         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2559         (__NR_sync_file_range): Assume it is always defined.
2561 2015-10-22  Andreas Schwab  <schwab@suse.de>
2563         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
2564         INTERNAL_SYSCALL_ERRNO.
2565         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2566         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
2567         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2568         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
2569         Likewise.
2570         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2572 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2574         * io/tst-fcntl.c (fd): New static variable.
2575         (do_prepare): Open temporary file here....
2576         (do_test): ...not here.
2578         * io/ftwtest-sh: Also trap on exit to remove temporary files.
2580 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
2582         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
2583         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2584         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2585         Moved before "#ifdef __ASSEMBLER__".
2587 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2589         [BZ #19156]
2590         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
2591         arguments very close to 0.
2593 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
2595         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
2596         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
2598 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
2600         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2601         New.  Defined for GCC 5 and above when not compiling for
2602         profiling.
2603         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2605         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
2606         Renamed to ...
2607         (CFLAGS-epoll_pwait.o): This.
2608         (CFLAGS-mmap.c): Renamed to ...
2609         (CFLAGS-mmap.o): This.
2610         (CFLAGS-mmap64.c): Renamed to ...
2611         (CFLAGS-mmap64.o): This.
2612         (CFLAGS-epoll_pwait.os): New.
2613         (CFLAGS-mmap.os): Likewise.
2614         (CFLAGS-mmap64.os): Likewise.
2615         (CFLAGS-semtimedop.os): Likewise.
2616         (CFLAGS-semtimedop.c): Renamed to ...
2617         (CFLAGS-semtimedop.o): This.
2619 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2621         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
2622         warning message.
2624 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2626         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
2627         * Makefile ($(objpfx)c++-types-check.out): Filter out
2628         $(+gccwarn-c) instead of -Wstrict-prototypes.
2630         * io/fts.c (fts_open): Convert to prototype-style function
2631         definition.
2632         * malloc/mcheck.c (mcheck): Likewise.
2633         (mcheck_pedantic): Likewise.
2634         * posix/regexec.c (re_search_2_stub): Likewise.  Use
2635         internal_function.
2636         (re_search_internal): Likewise.
2637         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
2638         prototype-style function definition.
2639         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2640         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2641         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
2642         (xdr_utmpptr): Likewise.
2643         (xdr_utmparr): Likewise.
2644         (xdr_utmpidle): Likewise.
2645         (xdr_utmpidleptr): Likewise.
2646         (xdr_utmpidlearr): Likewise.
2648         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
2649         log, log10 and log2.
2650         * math/auto-libm-test-out: Regenerated.
2651         * math/libm-test.inc (fmod_test_data): Add more tests.
2652         (fpclassify_test_data): Likewise.
2653         (frexp_test_data): Likewise.
2654         (hypot_test_data): Likewise.
2655         (ilogb_test_data): Likewise.
2657 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
2659         * debug/fortify_fail.c (__fortify_fail): Convert to
2660         prototype-style function definition.  Use internal_function.
2661         * libio/genops.c (save_for_backup): Convert to prototype-style
2662         function definition.
2663         * libio/wgenops.c (save_for_wbackup): Likewise.
2664         * login/grantpt.c (grantpt): Likewise.
2665         * login/ptsname.c (ptsname): Likewise.
2666         (__ptsname_r): Likewise.
2667         * login/unlockpt.c (unlockpt): Likewise.
2668         * mach/msgserver.c (__mach_msg_server): Likewise.
2669         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
2670         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
2671         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
2672         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
2673         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
2674         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
2675         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
2676         Likewise.
2677         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
2678         internal_function.
2679         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
2680         prototype-style function definition.
2681         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
2682         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
2683         (__pthread_create_2_0): Likewise.
2684         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
2685         * nptl/register-atfork.c (__register_atfork): Likewise.
2686         * posix/glob.c (glob): Likewise.
2687         * posix/regcomp.c (re_comp): Likewise.
2688         * posix/regexec.c (re_exec): Likewise.
2689         * stdlib/add_n.c [__STDC__]: Make code unconditional.
2690         [!__STDC__]: Remove conditional code.
2691         * stdlib/cmp.c [__STDC__]: Make code unconditional.
2692         [!__STDC__]: Remove conditional code.
2693         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
2694         [!__STDC__]: Remove conditional code.
2695         * stdlib/divrem.c [__STDC__]: Make code unconditional.
2696         [!__STDC__]: Remove conditional code.
2697         * stdlib/lshift.c [__STDC__]: Make code unconditional.
2698         [!__STDC__]: Remove conditional code.
2699         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
2700         [!__STDC__]: Remove conditional code.
2701         * stdlib/mul.c [__STDC__]: Make code unconditional.
2702         [!__STDC__]: Remove conditional code.
2703         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
2704         [!__STDC__]: Remove conditional code.
2705         * stdlib/rshift.c [__STDC__]: Make code unconditional.
2706         [!__STDC__]: Remove conditional code.
2707         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
2708         function definition.
2709         (STRTOF): Likewise.
2710         * stdlib/strtod_l.c (__STRTOF): Likewise.
2711         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
2712         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
2713         (__strtol_l): Likewise.
2714         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
2715         [!__STDC__]: Remove conditional code.
2716         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
2717         definition.
2718         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
2719         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2720         type.
2721         (__strcasecmp): Convert to prototype-style function definition.
2722         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
2723         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2724         type.
2725         (__strncasecmp): Convert to prototype-style function definition.
2726         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
2727         * sunrpc/xdr.c (xdr_union): Likewise.
2728         * sunrpc/xdr_array.c (xdr_array): Likewise.
2729         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
2730         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
2731         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
2732         Likewise.
2733         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
2734         Likewise.
2735         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
2736         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
2737         Likewise.
2738         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
2739         (LOCALE_PARAM_PROTO): Likewise.
2740         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
2741         argument type.
2742         (ut_argument_spec): Remove macro.
2743         (ut_argument_spec_iso): Rename to ut_argument_spec.
2744         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
2745         prototype-style function definition.
2746         (memcpy_uppcase): Likewise.
2747         (__strftime_internal): Likewise.
2748         (my_strftime): Likewise.
2749         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
2750         (LOCALE_PARAM_DECL): Likewise.
2751         [_LIBC] (LOCALE_PARAM): Include argument type.
2752         (__strptime_internal): Convert to prototype-style function
2753         definition.
2754         (strptime): Likewise.
2755         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
2756         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2757         type.
2758         (__wcscasecmp): Convert to prototype-style function definition.
2759         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
2760         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2761         type.
2762         (__wcsncasecmp): Convert to prototype-style function definition.
2764         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
2765         function definition.
2766         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2767         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2768         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
2769         * elf/dl-minimal.c (_itoa): Likewise.
2770         * hurd/hurdmalloc.c (malloc): Likewise.
2771         (free): Likewise.
2772         (realloc): Likewise.
2773         * inet/inet6_option.c (inet6_option_space): Likewise.
2774         (inet6_option_init): Likewise.
2775         (inet6_option_append): Likewise.
2776         (inet6_option_alloc): Likewise.
2777         (inet6_option_next): Likewise.
2778         (inet6_option_find): Likewise.
2779         * io/ftw.c (FTW_NAME): Likewise.
2780         (NFTW_NAME): Likewise.
2781         (NFTW_NEW_NAME): Likewise.
2782         (NFTW_OLD_NAME): Likewise.
2783         * libio/iofwide.c (_IO_fwide): Likewise.
2784         * libio/strops.c (_IO_str_init_static_internal): Likewise.
2785         (_IO_str_init_static): Likewise.
2786         (_IO_str_init_readonly): Likewise.
2787         (_IO_str_overflow): Likewise.
2788         (_IO_str_underflow): Likewise.
2789         (_IO_str_count): Likewise.
2790         (_IO_str_seekoff): Likewise.
2791         (_IO_str_pbackfail): Likewise.
2792         (_IO_str_finish): Likewise.
2793         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
2794         (_IO_wstr_overflow): Likewise.
2795         (_IO_wstr_underflow): Likewise.
2796         (_IO_wstr_count): Likewise.
2797         (_IO_wstr_seekoff): Likewise.
2798         (_IO_wstr_pbackfail): Likewise.
2799         (_IO_wstr_finish): Likewise.
2800         * locale/programs/localedef.c (normalize_codeset): Likewise.
2801         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
2802         (add_locales_to_archive): Likewise.
2803         (delete_locales_from_archive): Likewise.
2804         * malloc/malloc.c (__libc_mallinfo): Likewise.
2805         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
2806         * misc/tsearch.c (__tfind): Likewise.
2807         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
2808         * nptl/pthread_attr_getdetachstate.c
2809         (__pthread_attr_getdetachstate): Likewise.
2810         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
2811         Likewise.
2812         * nptl/pthread_attr_getinheritsched.c
2813         (__pthread_attr_getinheritsched): Likewise.
2814         * nptl/pthread_attr_getschedparam.c
2815         (__pthread_attr_getschedparam): Likewise.
2816         * nptl/pthread_attr_getschedpolicy.c
2817         (__pthread_attr_getschedpolicy): Likewise.
2818         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
2819         Likewise.
2820         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
2821         Likewise.
2822         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
2823         Likewise.
2824         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
2825         Likewise.
2826         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
2827         (__pthread_attr_init_2_0): Likewise.
2828         * nptl/pthread_attr_setdetachstate.c
2829         (__pthread_attr_setdetachstate): Likewise.
2830         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
2831         Likewise.
2832         * nptl/pthread_attr_setinheritsched.c
2833         (__pthread_attr_setinheritsched): Likewise.
2834         * nptl/pthread_attr_setschedparam.c
2835         (__pthread_attr_setschedparam): Likewise.
2836         * nptl/pthread_attr_setschedpolicy.c
2837         (__pthread_attr_setschedpolicy): Likewise.
2838         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
2839         Likewise.
2840         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
2841         Likewise.
2842         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
2843         Likewise.
2844         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
2845         Likewise.
2846         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
2847         Likewise.
2848         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
2849         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
2850         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
2851         use internal_function.
2852         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
2853         prototype-style function definition.
2854         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
2855         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
2856         internal_function.
2857         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
2858         Convert to prototype-style function definition.
2859         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2860         Likewise.
2861         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2862         Likewise.
2863         (__pthread_mutex_unlock): Likewise.
2864         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
2865         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
2866         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
2867         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
2868         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
2869         * nss/makedb.c (process_input): Likewise.
2870         * posix/fnmatch.c (__strchrnul): Likewise.
2871         (__wcschrnul): Likewise.
2872         (fnmatch): Likewise.
2873         * posix/fnmatch_loop.c (FCT): Likewise.
2874         * posix/glob.c (globfree): Likewise.
2875         (__glob_pattern_type): Likewise.
2876         (__glob_pattern_p): Likewise.
2877         * posix/regcomp.c (re_compile_pattern): Likewise.
2878         (re_set_syntax): Likewise.
2879         (re_compile_fastmap): Likewise.
2880         (regcomp): Likewise.
2881         (regerror): Likewise.
2882         (regfree): Likewise.
2883         * posix/regexec.c (regexec): Likewise.
2884         (re_match): Likewise.
2885         (re_search): Likewise.
2886         (re_match_2): Likewise.
2887         (re_search_2): Likewise.
2888         (re_search_stub): Likewise.  Use internal_function
2889         (re_copy_regs): Likewise.
2890         (re_set_registers): Convert to prototype-style function
2891         definition.
2892         (prune_impossible_nodes): Likewise.  Use internal_function.
2893         * resolv/inet_net_pton.c (inet_net_pton): Convert to
2894         prototype-style function definition.
2895         (inet_net_pton_ipv4): Likewise.
2896         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2897         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
2898         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
2899         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
2900         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2901         Make variadic.
2902         * time/strptime_l.c (localtime_r): Convert to prototype-style
2903         function definition.
2904         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2905         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2906         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2907         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2909         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
2910         definition.
2911         (_ufc_doit_r): Likewise.
2912         * crypt/crypt_util.c (_ufc_copymem): Likewise.
2913         (_ufc_output_conversion_r): Likewise.
2914         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
2915         * inet/rcmd.c (rcmd_af): Likewise.
2916         (rcmd): Likewise.
2917         (ruserok_af): Likewise.
2918         (ruserok): Likewise.
2919         (ruserok2_sa): Likewise.
2920         (ruserok_sa): Likewise.
2921         (iruserok_af): Likewise.
2922         (iruserok): Likewise.
2923         (__ivaliduser): Likewise.
2924         (__validuser2_sa): Likewise.
2925         * inet/rexec.c (rexec_af): Likewise.
2926         (rexec): Likewise.
2927         * inet/ruserpass.c (ruserpass): Likewise.
2928         * locale/programs/xmalloc.c (xcalloc): Likewise.
2929         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
2930         * math/w_drem.c (__drem): Likewise.
2931         * math/w_dremf.c (__dremf): Likewise.
2932         * math/w_dreml.c (__dreml): Likewise.
2933         * misc/daemon.c (daemon): Likewise.
2934         * resolv/res_debug.c (p_fqnname): Likewise.
2935         * stdlib/div.c (div): Likewise.
2936         * string/memcmp.c (memcmp_bytes): Likewise.
2937         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
2938         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2940         * crypt/cert.c (main): Convert to prototype-style function
2941         definition.
2942         * io/pipe.c (__pipe): Likewise.
2943         * io/pipe2.c (__pipe2): Likewise.
2944         * misc/futimesat.c (futimesat): Likewise.
2945         * misc/utimes.c (__utimes): Likewise.
2946         * posix/execve.c (__execve): Likewise.
2947         * posix/execvp.c (execvp): Likewise.
2948         * posix/execvpe.c (__execvpe): Likewise.
2949         * posix/fexecve.c (fexecve): Likewise.
2950         * socket/socketpair.c (socketpair): Likewise.
2951         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2952         * stdlib/erand48.c (erand48): Likewise.
2953         * stdlib/erand48_r.c (__erand48_r): Likewise.
2954         * stdlib/jrand48.c (jrand48): Likewise.
2955         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
2956         * stdlib/lcong48.c (lcong48): Likewise.
2957         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
2958         * stdlib/nrand48.c (nrand48): Likewise.
2959         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
2960         * stdlib/seed48.c (seed48): Likewise.
2961         * stdlib/seed48_r.c (__seed48_r): Likewise.
2962         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
2963         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
2964         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
2966 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2968         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
2969         * configure: Regenerated.
2970         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
2971         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
2972         unconditional.
2973         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2974         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2975         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2976         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
2977         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
2978         unconditional.
2979         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2981         * posix/Makefile (CFLAGS-regex.c): Remove variable.
2982         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
2984         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
2985         function definition.
2986         * crypt/crypt_util.c (__encrypt_r): Likewise.
2987         * libio/genops.c (_IO_no_init): Likewise.
2988         * libio/iofopncook.c (_IO_fopencookie): Likewise.
2989         (_IO_old_fopencookie): Likewise.
2990         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2991         * libio/iogetline.c (_IO_getline): Likewise.
2992         (_IO_getline_info): Likewise.
2993         * libio/iogetwline.c (_IO_getwline): Likewise.
2994         (_IO_getwline_info): Likewise.
2995         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2996         * libio/vswprintf.c (_IO_vswprintf): Likewise.
2997         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
2998         (find_entry): Likewise.
2999         (iterate_table): Likewise.
3000         (lookup): Likewise.
3001         * login/forkpty.c (forkpty): Likewise.
3002         * misc/hsearch_r.c (__hsearch_r): Likewise.
3003         * misc/select.c (__select): Likewise.
3004         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
3005         Likewise.
3006         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
3007         Likewise.
3008         * nptl/old_pthread_cond_timedwait.c
3009         (__pthread_cond_timedwait_2_0): Likewise.
3010         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
3011         * nptl/pthread_barrierattr_getpshared.c
3012         (pthread_barrierattr_getpshared): Likewise.
3013         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
3014         Likewise.
3015         * nptl/pthread_mutex_setprioceiling.c
3016         (pthread_mutex_setprioceiling): Likewise.
3017         * nptl/pthread_mutexattr_getprioceiling.c
3018         (pthread_mutexattr_getprioceiling): Likewise.
3019         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
3020         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3021         Likewise.
3022         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3023         Likewise.
3024         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
3025         Likewise.
3026         * socket/recvfrom.c (__recvfrom): Likewise.
3027         * socket/sendto.c (__sendto): Likewise.
3028         * socket/setsockopt.c (__setsockopt): Likewise.
3029         * stdio-common/_itoa.c (_itoa): Likewise.
3030         * stdio-common/_itowa.c (_itowa): Likewise.
3031         * stdio-common/reg-printf.c (__register_printf_specifier):
3032         Likewise.
3033         (__register_printf_function): Likewise.
3034         * stdio-common/tempname.c (__path_search): Likewise.
3035         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
3036         * stdlib/mul_1.c (mpn_mul_1): Likewise.
3037         * stdlib/random_r.c (__initstate_r): Likewise.
3038         * stdlib/setenv.c (__add_to_environ): Likewise.
3039         * stdlib/submul_1.c (mpn_submul_1): Likewise.
3040         * streams/getpmsg.c (getpmsg): Likewise.
3041         * streams/putmsg.c (putmsg): Likewise.
3042         * streams/putpmsg.c (putpmsg): Likewise.
3043         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
3044         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3045         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
3046         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
3047         * sunrpc/pm_getport.c (pmap_getport): Likewise.
3048         * sunrpc/svc_udp.c (cache_get): Likewise.
3049         * sunrpc/xdr_array.c (xdr_vector): Likewise.
3050         * sysdeps/mach/hurd/getcwd.c
3051         (__canonicalize_directory_name_internal): Likewise.
3052         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
3053         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
3054         * sysdeps/mach/hurd/select.c (__select): Likewise.
3055         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
3056         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
3057         * sysdeps/sparc/nptl/pthread_barrier_init.c
3058         (__pthread_barrier_init): Likewise.
3059         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
3060         (__pthread_cond_timedwait): Likewise.
3061         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
3062         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
3063         Likewise.
3064         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
3065         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
3066         Likewise.
3067         * sysvipc/semtimedop.c (semtimedop): Likewise.
3068         * time/setitimer.c (__setitimer): Likewise.
3069         * time/strftime_l.c (emacs_strftime): Likewise.
3071 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3073         * config.make.in (have-ssp): Delete.
3074         (stack-protector): New variable.
3075         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
3076         cache test for -fstack-protector-strong.  Export stack_protector to
3077         the best ssp flag.
3078         * configure: Regenerated.
3079         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
3080         * nscd/Makefile (CFLAGS-nscd): Likewise.
3081         * resolv/Makefile (CFLAGS-libresolv): Likewise.
3083 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
3085         [BZ #19122]
3086         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
3087         attribute_hidden.
3089 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3091         [BZ #18743]
3092         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
3093         code to...
3094         (ELIDE_LOCK): ...here.
3095         (__get_new_count): New function with part of the code from
3096         __elide_lock that updates the value of adapt_count after a
3097         transaction abort.
3098         (__elided_trylock): Moved this code to...
3099         (ELIDE_TRYLOCK): ...here.
3101 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3103         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
3104         * configure: Regenerate.
3105         * INSTALL: Regenerate.
3106         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
3107         and tweak grammar.
3109 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
3111         * login/programs/pt_chown.c: Include signal.h
3112         (main): Clear any signal mask from the parent process.
3114 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3116         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
3117         * configure: Regenerated.
3118         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
3119         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
3120         $(gnu89-inline-CFLAGS).
3122         * configure.ac (libc_cv_asm_weak_directive): Remove configure
3123         test.
3124         (libc_cv_asm_weakext_directive): Likewise.
3125         * configure: Regenerated.
3126         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
3127         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
3128         * include/libc-symbols.h
3129         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
3130         #error.
3131         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
3132         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
3134         * sysdeps/arm/backtrace.c (__backtrace): Convert to
3135         prototype-style function definition.
3136         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3137         * sysdeps/i386/ffs.c (__ffs): Likewise.
3138         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3139         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
3140         Likewise.
3141         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3142         Likewise.
3143         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3144         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3145         Likewise.
3146         * sysdeps/m68k/ffs.c (__ffs): Likewise.
3147         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
3148         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
3149         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
3150         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
3151         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
3152         * sysdeps/mach/hurd/access.c (__access): Likewise.
3153         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3154         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
3155         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
3156         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
3157         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
3158         (cthread_getspecific): Likewise.
3159         (cthread_setspecific): Likewise.
3160         (__libc_getspecific): Likewise.
3161         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
3162         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
3163         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
3164         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
3165         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
3166         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
3167         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
3168         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
3169         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
3170         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
3171         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
3172         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
3173         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
3174         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
3175         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
3176         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
3177         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
3178         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
3179         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
3180         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
3181         * sysdeps/mach/hurd/link.c (__link): Likewise.
3182         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
3183         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
3184         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
3185         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
3186         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3187         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
3188         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
3189         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
3190         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3191         * sysdeps/mach/hurd/rename.c (rename): Likewise.
3192         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
3193         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
3194         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
3195         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
3196         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
3197         * sysdeps/mach/hurd/send.c (__send): Likewise.
3198         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
3199         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
3200         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
3201         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
3202         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
3203         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
3204         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
3205         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
3206         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
3207         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
3208         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
3209         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
3210         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
3211         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
3212         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3213         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3214         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
3215         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
3216         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
3217         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3218         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
3219         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
3220         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
3221         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
3222         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
3223         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
3224         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
3225         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
3226         * sysdeps/posix/alarm.c (alarm): Likewise.
3227         * sysdeps/posix/cuserid.c (cuserid): Likewise.
3228         * sysdeps/posix/dirfd.c (dirfd): Likewise.
3229         * sysdeps/posix/dup.c (__dup): Likewise.
3230         * sysdeps/posix/dup2.c (__dup2): Likewise.
3231         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
3232         (main): Likewise.
3233         * sysdeps/posix/flock.c (__flock): Likewise.
3234         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3235         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3236         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
3237         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
3238         * sysdeps/posix/isatty.c (__isatty): Likewise.
3239         * sysdeps/posix/killpg.c (killpg): Likewise.
3240         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3241         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
3242         * sysdeps/posix/raise.c (raise): Likewise.
3243         * sysdeps/posix/remove.c (remove): Likewise.
3244         * sysdeps/posix/rename.c (rename): Likewise.
3245         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
3246         * sysdeps/posix/seekdir.c (seekdir): Likewise.
3247         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
3248         * sysdeps/posix/sigignore.c (sigignore): Likewise.
3249         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
3250         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
3251         * sysdeps/posix/sigset.c (sigset): Likewise.
3252         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
3253         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3254         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
3255         * sysdeps/posix/time.c (time): Likewise.
3256         * sysdeps/posix/ttyname.c (getttyname): Likewise.
3257         (ttyname): Likewise.
3258         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
3259         * sysdeps/posix/utime.c (utime): Likewise.
3260         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
3261         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3262         Likewise.
3263         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
3264         (pthread_spin_trylock): Likewise.
3265         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
3266         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
3267         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
3268         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
3269         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
3270         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
3271         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
3272         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
3273         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
3274         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
3275         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
3276         * sysdeps/s390/ffs.c (__ffs): Likewise.
3277         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
3278         Likewise.
3279         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3280         Likewise.
3281         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
3282         Likewise.
3283         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
3284         (pthread_barrier_destroy): Likewise.
3285         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3286         (__pthread_barrier_wait): Likewise.
3287         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
3288         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3289         (__pthread_barrier_wait): Likewise.
3290         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
3291         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
3292         (memcmp_not_common_alignment): Likewise.
3293         (MEMCMP): Likewise.
3294         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
3295         (_wordcopy_fwd_dest_aligned): Likewise.
3296         (_wordcopy_bwd_aligned): Likewise.
3297         (_wordcopy_bwd_dest_aligned): Likewise.
3298         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
3299         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
3300         * sysdeps/unix/bsd/stty.c (stty): Likewise.
3301         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
3302         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
3303         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
3304         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
3305         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
3306         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
3307         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
3308         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
3309         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3310         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
3311         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
3312         * sysdeps/unix/stime.c (stime): Likewise.
3313         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
3314         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
3315         Likewise.  Use internal_function.
3316         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
3317         Convert to prototype-style function definition.
3318         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3319         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3320         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
3321         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3322         Likewise.  Use internal_function.
3323         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
3324         prototype-style function definition
3325         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3326         Likewise.
3327         (__getlogin_r): Likewise.
3328         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
3329         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
3330         (__pthread_cond_broadcast): Likewise.
3331         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
3332         (__pthread_cond_destroy): Likewise.
3333         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
3334         (__pthread_cond_init): Likewise.
3335         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
3336         (__pthread_cond_signal): Likewise.
3337         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
3338         (__pthread_cond_wait): Likewise.
3339         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
3340         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3341         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
3342         Likewise.
3343         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
3344         Likewise.
3345         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
3346         Likewise.
3347         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
3348         Likewise.
3349         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
3350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
3351         (__ftruncate64): Likewise.
3352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
3353         (truncate64): Likewise.
3354         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
3355         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
3356         (pthread_getcpuclockid): Likewise.
3357         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3358         Likewise.
3359         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3360         Likewise.
3361         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
3362         Likewise.
3363         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3364         Likewise.
3365         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
3366         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
3367         (__libc_sigaction): Likewise.
3368         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
3369         Likewise.
3370         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
3371         (__sigprocmask): Likewise.
3372         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
3373         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
3374         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
3375         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3376         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3377         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
3378         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3379         Likewise.
3380         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
3381         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
3382         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3383         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
3384         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
3385         Likewise.
3386         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
3387         (__sigprocmask): Likewise.
3388         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
3389         (cfgetispeed): Likewise.
3390         (cfsetospeed): Likewise.
3391         (cfsetispeed): Likewise.
3392         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
3393         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
3394         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3395         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3396         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
3397         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
3398         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
3399         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
3400         Likewise.
3401         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
3402         Likewise.
3403         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
3404         Likewise.
3405         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
3406         Likewise.
3407         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3409 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3411         sunrpc: Rewrite with explicit TLS access using __thread.
3412         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
3413         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
3414         directly.
3415         (__rpc_thread_variables): Access thread_rpc_vars directly.
3416         Eliminate redundant assignment of the tvp variable.
3418 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3420         malloc: Rewrite with explicit TLS access using __thread.
3421         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
3422         (tsd_setspecific, tsd_getspecific): Remove.
3423         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
3424         (tsd_setspecific, tsd_getspecific): Likewise.
3425         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
3426         (tsd_setspecific, tsd_getspecific): Likewise.
3427         * malloc/arena.c (thread_arena): New TLS variable.
3428         (arena_key): Remove variable.
3429         (arena_get): Use thread_arena.
3430         (arena_lookup): Remove macro.
3431         (malloc_atfork, free_atfork, ptmalloc_lock_all)
3432         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
3433         (_int_new_arena, get_free_list, reused_arena)
3434         (arena_thread_freeres): Use thread_arena.
3435         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
3436         tsd_getspecific, tsd_setspecific from safety annotations.
3437         (Allocating Cleared Space): Remove arena_lookup from safety
3438         annotations.
3440 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3442         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
3443         struct scratch_buffer instead of extend_alloca.
3445 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3447         * sysdeps/unix/sysv/linux/kernel-features.h
3448         (__ASSUME_SOCK_CLOEXEC): Remove.
3449         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
3450         (__have_paccept): Remove unused macro.
3451         * include/unistd.h (__have_sock_cloexec): Remove declaration.
3452         * misc/syslog.c (openlog_internal): Remove fallback code for
3453         !__ASSUME_SOCK_CLOEXEC.
3454         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
3455         missing SOCK_CLOEXEC.
3456         * nscd/connections.c (have_sock_cloexec): Remove definition.
3457         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3458         * nscd/nscd_helper.c (open_socket): Remove fallback code for
3459         !__ASSUME_SOCK_CLOEXEC.
3460         * resolv/res_send.c (__have_o_nonblock): Remove definition.
3461         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3462         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
3463         definition.
3464         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
3465         code for !__ASSUME_SOCK_CLOEXEC.
3467 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3469         [BZ #18982]
3470         * manual/stdio.texi (Variable Arguments Output): Add portability
3471         note, explaining that vfprintf clobbers the va_list pointer.
3473 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3475         * math/libm-test.inc (fabs_test_data): Add more tests.
3476         (fdim_test_data): Likewise.
3477         (fma_test_data): Likewise.
3478         (fmax_test_data): Likewise.
3479         (fmin_test_data): Likewise.
3480         (fmod_test_data): Likewise.
3482 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
3484         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
3485         data.
3487 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3489         * math/libm-test.inc (ceil_test_data): Add more tests and more
3490         expectations for "inexact".
3491         (floor_test_data): Add more tests.
3492         (round_test_data): Likewise.
3493         (trunc_test_data): Likewise.
3495         * crypt/cert.c (good_bye): Convert to prototype-style function
3496         definition.
3497         (get8): Likewise.
3498         (put8): Likewise.
3499         * crypt/crypt-entry.c (crypt): Likewise.
3500         (__fcrypt): Likewise.
3501         * crypt/crypt_util.c (_ufc_prbits): Likewise.
3502         (_ufc_set_bits): Likewise.
3503         (_ufc_clearmem): Likewise.
3504         (__init_des_r): Likewise.
3505         (shuffle_sb): Likewise.
3506         (shuffle_sb): Likewise.
3507         (_ufc_setup_salt_r): Likewise.
3508         (_ufc_mk_keytab_r): Likewise.
3509         (_ufc_dofinalperm_r): Likewise.
3510         (encrypt): Likewise.
3511         (__setkey_r): Likewise.
3512         (setkey): Likewise.
3513         * crypt/md5.c (md5_init_ctx): Likewise.
3514         (md5_read_ctx): Likewise.
3515         (md5_finish_ctx): Likewise.
3516         (md5_stream): Likewise.
3517         (md5_buffer): Likewise.
3518         (md5_process_bytes): Likewise.
3519         * crypt/sha256.c (__sha256_init_ctx): Likewise.
3520         (__sha256_finish_ctx): Likewise.
3521         (__sha256_process_bytes): Likewise.
3522         * crypt/sha512.c (__sha512_init_ctx): Likewise.
3523         (__sha512_finish_ctx): Likewise.
3524         (__sha512_process_bytes): Likewise.
3525         * ctype/isctype.c (__isctype): Likewise.
3526         * debug/backtrace.c (__backtrace): Likewise.
3527         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
3528         * debug/fgets_chk.c (__fgets_chk): Likewise.
3529         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
3530         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
3531         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3532         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3533         * debug/memset_chk.c (__memset_chk): Likewise.
3534         * debug/strcat_chk.c (__strcat_chk): Likewise.
3535         * debug/strncat_chk.c (__strncat_chk): Likewise.
3536         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
3537         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
3538         * dirent/dirfd.c (dirfd): Likewise.
3539         * dirent/getdents.c (__getdirentries): Likewise.
3540         * dirent/getdents64.c (getdirentries64): Likewise.
3541         * dirent/rewinddir.c (__rewinddir): Likewise.
3542         * dirent/seekdir.c (seekdir): Likewise.
3543         * dirent/telldir.c (telldir): Likewise.
3544         * elf/sln.c (makesymlinks): Likewise.
3545         (makesymlink): Likewise.
3546         * gmon/gmon.c (__moncontrol): Likewise.
3547         (__monstartup): Likewise.
3548         (write_hist): Likewise.
3549         (write_call_graph): Likewise.
3550         (write_bb_counts): Likewise.
3551         * grp/setgroups.c (setgroups): Likewise.
3552         * inet/inet_lnaof.c (inet_lnaof): Likewise.
3553         * inet/inet_net.c (inet_network): Likewise.
3554         * inet/inet_netof.c (inet_netof): Likewise.
3555         * inet/rcmd.c (rresvport_af): Likewise.
3556         (rresvport): Likewise.
3557         * io/access.c (__access): Likewise.
3558         * io/chdir.c (__chdir): Likewise.
3559         * io/chmod.c (__chmod): Likewise.
3560         * io/chown.c (__chown): Likewise.
3561         * io/close.c (__close): Likewise.
3562         * io/creat.c (creat): Likewise.
3563         * io/creat64.c (creat64): Likewise.
3564         * io/dup.c (__dup): Likewise.
3565         * io/dup2.c (__dup2): Likewise.
3566         * io/dup3.c (__dup3): Likewise.
3567         * io/euidaccess.c (__euidaccess): Likewise.
3568         * io/faccessat.c (faccessat): Likewise.
3569         * io/fchmod.c (__fchmod): Likewise.
3570         * io/fchmodat.c (fchmodat): Likewise.
3571         * io/fchown.c (__fchown): Likewise.
3572         * io/fchownat.c (fchownat): Likewise.
3573         * io/fcntl.c (__fcntl): Likewise.
3574         * io/flock.c (__flock): Likewise.
3575         * io/fts.c (fts_load): Likewise.
3576         (fts_close): Likewise.
3577         (fts_read): Likewise.
3578         (fts_set): Likewise.
3579         (fts_children): Likewise.
3580         (fts_build): Likewise.
3581         (fts_stat): Likewise.
3582         (fts_sort): Likewise.
3583         (fts_alloc): Likewise.
3584         (fts_lfree): Likewise.
3585         (fts_palloc): Likewise.
3586         (fts_padjust): Likewise.
3587         (fts_maxarglen): Likewise.
3588         (fts_safe_changedir): Likewise.
3589         * io/getwd.c (getwd): Likewise.
3590         * io/isatty.c (__isatty): Likewise.
3591         * io/lchown.c (__lchown): Likewise.
3592         * io/link.c (__link): Likewise.
3593         * io/linkat.c (linkat): Likewise.
3594         * io/lseek.c (__libc_lseek): Likewise.
3595         * io/mkdir.c (__mkdir): Likewise.
3596         * io/mkdirat.c (mkdirat): Likewise.
3597         * io/mkfifo.c (mkfifo): Likewise.
3598         * io/mkfifoat.c (mkfifoat): Likewise.
3599         * io/open.c (__libc_open): Likewise.
3600         * io/open64.c (__libc_open64): Likewise.
3601         * io/readlink.c (__readlink): Likewise.
3602         * io/readlinkat.c (readlinkat): Likewise.
3603         * io/rmdir.c (__rmdir): Likewise.
3604         * io/symlink.c (__symlink): Likewise.
3605         * io/symlinkat.c (symlinkat): Likewise.
3606         * io/ttyname.c (ttyname): Likewise.
3607         * io/ttyname_r.c (__ttyname_r): Likewise.
3608         * io/umask.c (__umask): Likewise.
3609         * io/unlink.c (__unlink): Likewise.
3610         * io/unlinkat.c (unlinkat): Likewise.
3611         * io/utime.c (utime): Likewise.
3612         * libio/clearerr.c (clearerr): Likewise.
3613         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
3614         * libio/feof.c (_IO_feof): Likewise.
3615         * libio/feof_u.c (feof_unlocked): Likewise.
3616         * libio/ferror.c (_IO_ferror): Likewise.
3617         * libio/ferror_u.c (ferror_unlocked): Likewise.
3618         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3619         * libio/fileno.c (__fileno): Likewise.
3620         * libio/fputc.c (fputc): Likewise.
3621         * libio/fputc_u.c (fputc_unlocked): Likewise.
3622         * libio/fputwc.c (fputwc): Likewise.
3623         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
3624         * libio/freopen.c (freopen): Likewise.
3625         * libio/freopen64.c (freopen64): Likewise.
3626         * libio/fseek.c (fseek): Likewise.
3627         * libio/fseeko.c (fseeko): Likewise.
3628         * libio/fseeko64.c (fseeko64): Likewise.
3629         * libio/ftello.c (__ftello): Likewise.
3630         * libio/ftello64.c (ftello64): Likewise.
3631         * libio/fwide.c (fwide): Likewise.
3632         * libio/genops.c (_IO_un_link): Likewise.
3633         (_IO_link_in): Likewise.
3634         (_IO_least_marker): Likewise.
3635         (_IO_switch_to_main_get_area): Likewise.
3636         (_IO_switch_to_backup_area): Likewise.
3637         (_IO_switch_to_get_mode): Likewise.
3638         (_IO_free_backup_area): Likewise.
3639         (_IO_switch_to_put_mode): Likewise.
3640         (__overflow): Likewise.
3641         (__underflow): Likewise.
3642         (__uflow): Likewise.
3643         (_IO_setb): Likewise.
3644         (_IO_doallocbuf): Likewise.
3645         (_IO_default_underflow): Likewise.
3646         (_IO_default_uflow): Likewise.
3647         (_IO_default_xsputn): Likewise.
3648         (_IO_sgetn): Likewise.
3649         (_IO_default_xsgetn): Likewise.
3650         (_IO_sync): Likewise.
3651         (_IO_default_setbuf): Likewise.
3652         (_IO_default_seekpos): Likewise.
3653         (_IO_default_doallocate): Likewise.
3654         (_IO_init): Likewise.
3655         (_IO_old_init): Likewise.
3656         (_IO_default_sync): Likewise.
3657         (_IO_default_finish): Likewise.
3658         (_IO_default_seekoff): Likewise.
3659         (_IO_sputbackc): Likewise.
3660         (_IO_sungetc): Likewise.
3661         (_IO_set_column): Likewise.
3662         (_IO_set_column): Likewise.
3663         (_IO_adjust_column): Likewise.
3664         (_IO_get_column): Likewise.
3665         (_IO_init_marker): Likewise.
3666         (_IO_remove_marker): Likewise.
3667         (_IO_marker_difference): Likewise.
3668         (_IO_marker_delta): Likewise.
3669         (_IO_seekmark): Likewise.
3670         (_IO_unsave_markers): Likewise.
3671         (_IO_nobackup_pbackfail): Likewise.
3672         (_IO_default_pbackfail): Likewise.
3673         (_IO_default_seek): Likewise.
3674         (_IO_default_stat): Likewise.
3675         (_IO_default_read): Likewise.
3676         (_IO_default_write): Likewise.
3677         (_IO_default_showmanyc): Likewise.
3678         (_IO_default_imbue): Likewise.
3679         (_IO_iter_next): Likewise.
3680         (_IO_iter_file): Likewise.
3681         * libio/getc.c (_IO_getc): Likewise.
3682         * libio/getwc.c (_IO_getwc): Likewise.
3683         * libio/iofclose.c (_IO_new_fclose): Likewise.
3684         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
3685         * libio/iofflush.c (_IO_fflush): Likewise.
3686         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
3687         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
3688         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
3689         * libio/iofgets.c (_IO_fgets): Likewise.
3690         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
3691         * libio/iofgetws.c (fgetws): Likewise.
3692         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3693         * libio/iofopen64.c (_IO_fopen64): Likewise.
3694         * libio/iofopncook.c (_IO_cookie_read): Likewise.
3695         (_IO_cookie_write): Likewise.
3696         (_IO_cookie_seek): Likewise.
3697         (_IO_cookie_close): Likewise.
3698         (_IO_cookie_seekoff): Likewise.
3699         (_IO_old_cookie_seek): Likewise.
3700         * libio/iofputs.c (_IO_fputs): Likewise.
3701         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
3702         * libio/iofputws.c (fputws): Likewise.
3703         * libio/iofputws_u.c (fputws_unlocked): Likewise.
3704         * libio/iofread.c (_IO_fread): Likewise.
3705         * libio/iofread_u.c (__fread_unlocked): Likewise.
3706         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3707         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
3708         * libio/ioftell.c (_IO_ftell): Likewise.
3709         * libio/iofwrite.c (_IO_fwrite): Likewise.
3710         * libio/iogetdelim.c (_IO_getdelim): Likewise.
3711         * libio/iogets.c (_IO_gets): Likewise.
3712         * libio/iopadn.c (_IO_padn): Likewise.
3713         * libio/iopopen.c (_IO_new_proc_open): Likewise.
3714         (_IO_new_popen): Likewise.
3715         (_IO_new_proc_close): Likewise.
3716         * libio/ioputs.c (_IO_puts): Likewise.
3717         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
3718         (_IO_seekoff): Likewise.
3719         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
3720         (_IO_seekpos): Likewise.
3721         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
3722         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
3723         * libio/ioungetc.c (_IO_ungetc): Likewise.
3724         * libio/ioungetwc.c (ungetwc): Likewise.
3725         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3726         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
3727         * libio/iowpadn.c (_IO_wpadn): Likewise.
3728         * libio/libc_fatal.c (__libc_fatal): Likewise.
3729         * libio/memstream.c (__open_memstream): Likewise.
3730         (_IO_mem_sync): Likewise.
3731         (_IO_mem_finish): Likewise.
3732         * libio/oldfileops.c (_IO_old_file_init): Likewise.
3733         (_IO_old_file_close_it): Likewise.
3734         (_IO_old_file_finish): Likewise.
3735         (_IO_old_file_fopen): Likewise.
3736         (_IO_old_file_attach): Likewise.
3737         (_IO_old_file_setbuf): Likewise.
3738         (_IO_old_do_write): Likewise.
3739         (old_do_write): Likewise.
3740         (_IO_old_file_underflow): Likewise.
3741         (_IO_old_file_overflow): Likewise.
3742         (_IO_old_file_sync): Likewise.
3743         (_IO_old_file_seekoff): Likewise.
3744         (_IO_old_file_write): Likewise.
3745         (_IO_old_file_xsputn): Likewise.
3746         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3747         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3748         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
3749         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
3750         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3751         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
3752         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
3753         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
3754         (_IO_old_popen): Likewise.
3755         (_IO_old_proc_close): Likewise.
3756         * libio/oldpclose.c (__old_pclose): Likewise.
3757         * libio/pclose.c (__new_pclose): Likewise.
3758         * libio/peekc.c (_IO_peekc_locked): Likewise.
3759         * libio/putc.c (_IO_putc): Likewise.
3760         * libio/putc_u.c (putc_unlocked): Likewise.
3761         * libio/putchar.c (putchar): Likewise.
3762         * libio/putchar_u.c (putchar_unlocked): Likewise.
3763         * libio/putwc.c (putwc): Likewise.
3764         * libio/putwc_u.c (putwc_unlocked): Likewise.
3765         * libio/putwchar.c (putwchar): Likewise.
3766         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3767         * libio/rewind.c (rewind): Likewise.
3768         * libio/setbuf.c (setbuf): Likewise.
3769         * libio/setlinebuf.c (setlinebuf): Likewise.
3770         * libio/vasprintf.c (_IO_vasprintf): Likewise.
3771         * libio/vscanf.c (_IO_vscanf): Likewise.
3772         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
3773         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
3774         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3775         * libio/wgenops.c (_IO_least_wmarker): Likewise.
3776         (_IO_switch_to_main_wget_area): Likewise.
3777         (_IO_switch_to_wbackup_area): Likewise.
3778         (_IO_wsetb): Likewise.
3779         (_IO_wdefault_pbackfail): Likewise.
3780         (_IO_wdefault_finish): Likewise.
3781         (_IO_wdefault_uflow): Likewise.
3782         (__woverflow): Likewise.
3783         (__wuflow): Likewise.
3784         (__wunderflow): Likewise.
3785         (_IO_wdefault_xsputn): Likewise.
3786         (_IO_wdefault_xsgetn): Likewise.
3787         (_IO_wdoallocbuf): Likewise.
3788         (_IO_wdefault_doallocate): Likewise.
3789         (_IO_switch_to_wget_mode): Likewise.
3790         (_IO_free_wbackup_area): Likewise.
3791         (_IO_switch_to_wput_mode): Likewise.
3792         (_IO_sputbackwc): Likewise.
3793         (_IO_sungetwc): Likewise.
3794         (_IO_adjust_wcolumn): Likewise.
3795         (_IO_init_wmarker): Likewise.
3796         (_IO_wmarker_delta): Likewise.
3797         (_IO_seekwmark): Likewise.
3798         (_IO_unsave_wmarkers): Likewise.
3799         * libio/wmemstream.c (open_wmemstream): Likewise.
3800         (_IO_wmem_sync): Likewise.
3801         (_IO_wmem_finish): Likewise.
3802         * locale/nl_langinfo.c (nl_langinfo): Likewise.
3803         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
3804         * locale/programs/simple-hash.c (init_hash): Likewise.
3805         (delete_hash): Likewise.
3806         (insert_entry): Likewise.
3807         (set_entry): Likewise.
3808         (next_prime): Likewise.
3809         (is_prime): Likewise.
3810         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
3811         (xmalloc): Likewise.
3812         (xrealloc): Likewise.
3813         * locale/programs/xstrdup.c (xstrdup): Likewise.
3814         * localedata/collate-test.c (xstrcoll): Likewise.
3815         * localedata/xfrm-test.c (xstrcmp): Likewise.
3816         * login/getlogin_r.c (__getlogin_r): Likewise.
3817         * login/getpt.c (__posix_openpt): Likewise.
3818         * login/login_tty.c (login_tty): Likewise.
3819         * login/setlogin.c (setlogin): Likewise.
3820         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
3821         (mach_msg_destroy_port): Likewise.
3822         (mach_msg_destroy_memory): Likewise.
3823         * malloc/mcheck.c (flood): Likewise.
3824         * misc/acct.c (acct): Likewise.
3825         * misc/brk.c (__brk): Likewise.
3826         * misc/chflags.c (chflags): Likewise.
3827         * misc/chroot.c (chroot): Likewise.
3828         * misc/fchflags.c (fchflags): Likewise.
3829         * misc/fstab.c (getfsspec): Likewise.
3830         (getfsfile): Likewise.
3831         * misc/fsync.c (fsync): Likewise.
3832         * misc/ftruncate.c (__ftruncate): Likewise.
3833         * misc/ftruncate64.c (__ftruncate64): Likewise.
3834         * misc/getdomain.c (getdomainname): Likewise.
3835         (getdomainname): Likewise.
3836         * misc/gethostname.c (__gethostname): Likewise.
3837         * misc/getpass.c (getpass): Likewise.
3838         * misc/getttyent.c (skip): Likewise.
3839         (value): Likewise.
3840         * misc/gtty.c (gtty): Likewise.
3841         * misc/hsearch.c (hsearch): Likewise.
3842         (hcreate): Likewise.
3843         * misc/hsearch_r.c (__hcreate_r): Likewise.
3844         (__hdestroy_r): Likewise.
3845         * misc/ioctl.c (__ioctl): Likewise.
3846         * misc/mkdtemp.c (mkdtemp): Likewise.
3847         * misc/mkostemp.c (mkostemp): Likewise.
3848         * misc/mkostemp64.c (mkostemp64): Likewise.
3849         * misc/mkostemps.c (mkostemps): Likewise.
3850         * misc/mkostemps64.c (mkostemps64): Likewise.
3851         * misc/mkstemp.c (mkstemp): Likewise.
3852         * misc/mkstemp64.c (mkstemp64): Likewise.
3853         * misc/mkstemps.c (mkstemps): Likewise.
3854         * misc/mkstemps64.c (mkstemps64): Likewise.
3855         * misc/mktemp.c (__mktemp): Likewise.
3856         * misc/preadv.c (preadv): Likewise.
3857         * misc/preadv64.c (preadv64): Likewise.
3858         * misc/pwritev.c (pwritev): Likewise.
3859         * misc/pwritev64.c (pwritev64): Likewise.
3860         * misc/readv.c (__readv): Likewise.
3861         * misc/revoke.c (revoke): Likewise.
3862         * misc/setdomain.c (setdomainname): Likewise.
3863         * misc/setegid.c (setegid): Likewise.
3864         * misc/seteuid.c (seteuid): Likewise.
3865         * misc/sethostid.c (sethostid): Likewise.
3866         * misc/sethostname.c (sethostname): Likewise.
3867         * misc/setregid.c (__setregid): Likewise.
3868         * misc/setreuid.c (__setreuid): Likewise.
3869         * misc/sstk.c (sstk): Likewise.
3870         * misc/stty.c (stty): Likewise.
3871         * misc/syscall.c (syscall): Likewise.
3872         * misc/syslog.c (setlogmask): Likewise.
3873         * misc/truncate.c (__truncate): Likewise.
3874         * misc/truncate64.c (truncate64): Likewise.
3875         * misc/ualarm.c (ualarm): Likewise.
3876         * misc/usleep.c (usleep): Likewise.
3877         * misc/ustat.c (ustat): Likewise.
3878         * misc/writev.c (__writev): Likewise.
3879         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
3880         * nptl/old_pthread_cond_broadcast.c
3881         (__pthread_cond_broadcast_2_0): Likewise.
3882         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
3883         Likewise.
3884         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
3885         Likewise.
3886         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
3887         Likewise.
3888         * nptl/pt-raise.c (raise): Likewise.
3889         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
3890         Likewise.
3891         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
3892         * nptl/pthread_barrierattr_destroy.c
3893         (pthread_barrierattr_destroy): Likewise.
3894         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
3895         Likewise.
3896         * nptl/pthread_barrierattr_setpshared.c
3897         (pthread_barrierattr_setpshared): Likewise.
3898         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3899         Likewise.
3900         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
3901         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
3902         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
3903         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
3904         Likewise.
3905         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
3906         Likewise.
3907         * nptl/pthread_condattr_getpshared.c
3908         (pthread_condattr_getpshared): Likewise.
3909         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
3910         Likewise.
3911         * nptl/pthread_condattr_setpshared.c
3912         (pthread_condattr_setpshared): Likewise.
3913         * nptl/pthread_detach.c (pthread_detach): Likewise.
3914         * nptl/pthread_equal.c (__pthread_equal): Likewise.
3915         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
3916         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
3917         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
3918         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
3919         Likewise.
3920         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
3921         Likewise.
3922         * nptl/pthread_mutex_getprioceiling.c
3923         (pthread_mutex_getprioceiling): Likewise.
3924         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
3925         Likewise.
3926         * nptl/pthread_mutexattr_getprotocol.c
3927         (pthread_mutexattr_getprotocol): Likewise.
3928         * nptl/pthread_mutexattr_getpshared.c
3929         (pthread_mutexattr_getpshared): Likewise.
3930         * nptl/pthread_mutexattr_getrobust.c
3931         (pthread_mutexattr_getrobust): Likewise.
3932         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3933         Likewise.
3934         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
3935         Likewise.
3936         * nptl/pthread_mutexattr_setprioceiling.c
3937         (pthread_mutexattr_setprioceiling): Likewise.
3938         * nptl/pthread_mutexattr_setprotocol.c
3939         (pthread_mutexattr_setprotocol): Likewise.
3940         * nptl/pthread_mutexattr_setpshared.c
3941         (pthread_mutexattr_setpshared): Likewise.
3942         * nptl/pthread_mutexattr_setrobust.c
3943         (pthread_mutexattr_setrobust): Likewise.
3944         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
3945         Likewise.
3946         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
3947         Likewise.
3948         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
3949         Likewise.
3950         * nptl/pthread_rwlockattr_getkind_np.c
3951         (pthread_rwlockattr_getkind_np): Likewise.
3952         * nptl/pthread_rwlockattr_getpshared.c
3953         (pthread_rwlockattr_getpshared): Likewise.
3954         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
3955         Likewise.
3956         * nptl/pthread_rwlockattr_setkind_np.c
3957         (pthread_rwlockattr_setkind_np): Likewise.
3958         * nptl/pthread_rwlockattr_setpshared.c
3959         (pthread_rwlockattr_setpshared): Likewise.
3960         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
3961         Likewise.
3962         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
3963         Likewise.
3964         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
3965         Likewise.
3966         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
3967         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
3968         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
3969         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
3970         * nptl/sem_close.c (sem_close): Likewise.
3971         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
3972         * nptl/sem_init.c (__old_sem_init): Likewise.
3973         * nptl/sigaction.c (__sigaction): Likewise.
3974         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3975         * posix/_exit.c (_exit): Likewise.
3976         * posix/alarm.c (alarm): Likewise.
3977         * posix/confstr.c (confstr): Likewise.
3978         * posix/fpathconf.c (__fpathconf): Likewise.
3979         * posix/getgroups.c (__getgroups): Likewise.
3980         * posix/getpgid.c (__getpgid): Likewise.
3981         * posix/group_member.c (__group_member): Likewise.
3982         * posix/pathconf.c (__pathconf): Likewise.
3983         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
3984         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
3985         * posix/setgid.c (__setgid): Likewise.
3986         * posix/setpgid.c (__setpgid): Likewise.
3987         * posix/setuid.c (__setuid): Likewise.
3988         * posix/sleep.c (__sleep): Likewise.
3989         * posix/sysconf.c (__sysconf): Likewise.
3990         * posix/times.c (__times): Likewise.
3991         * posix/uname.c (__uname): Likewise.
3992         * posix/waitid.c (__waitid): Likewise.
3993         * pwd/getpw.c (__getpw): Likewise.
3994         * resolv/base64.c (b64_pton): Likewise.
3995         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
3996         * resolv/gethnamaddr.c (Dprintf): Likewise.
3997         (gethostbyname): Likewise.
3998         (gethostbyname2): Likewise.
3999         (gethostbyaddr): Likewise.
4000         (_sethtent): Likewise.
4001         (_gethtbyname): Likewise.
4002         (_gethtbyname2): Likewise.
4003         (_gethtbyaddr): Likewise.
4004         (map_v4v6_address): Likewise.
4005         (map_v4v6_hostent): Likewise.
4006         (addrsort): Likewise.
4007         (ht_sethostent): Likewise.
4008         (ht_gethostbyname): Likewise.
4009         (ht_gethostbyaddr): Likewise.
4010         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
4011         (inet_net_ntop_ipv4): Likewise.
4012         * resolv/inet_neta.c (inet_neta): Likewise.
4013         * resolv/inet_ntop.c (inet_ntop): Likewise.
4014         (inet_ntop4): Likewise.
4015         (inet_ntop6): Likewise.
4016         * resolv/inet_pton.c (__inet_pton): Likewise.
4017         (inet_pton4): Likewise.
4018         (inet_pton6): Likewise.
4019         * resolv/res_debug.c (loc_aton): Likewise.
4020         (loc_ntoa): Likewise.
4021         * resource/getpriority.c (__getpriority): Likewise.
4022         * resource/getrusage.c (__getrusage): Likewise.
4023         * resource/nice.c (nice): Likewise.
4024         * resource/setpriority.c (__setpriority): Likewise.
4025         * resource/setrlimit64.c (setrlimit64): Likewise.
4026         * resource/vlimit.c (vlimit): Likewise.
4027         * resource/vtimes.c (vtimes): Likewise.
4028         * rt/aio_error.c (aio_error): Likewise.
4029         * rt/aio_return.c (aio_return): Likewise.
4030         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
4031         * signal/kill.c (__kill): Likewise.
4032         * signal/killpg.c (killpg): Likewise.
4033         * signal/raise.c (raise): Likewise.
4034         * signal/sigaction.c (__sigaction): Likewise.
4035         * signal/sigaddset.c (sigaddset): Likewise.
4036         * signal/sigaltstack.c (sigaltstack): Likewise.
4037         * signal/sigandset.c (sigandset): Likewise.
4038         * signal/sigblock.c (__sigblock): Likewise.
4039         * signal/sigdelset.c (sigdelset): Likewise.
4040         * signal/sigempty.c (sigemptyset): Likewise.
4041         * signal/sigfillset.c (sigfillset): Likewise.
4042         * signal/sighold.c (sighold): Likewise.
4043         * signal/sigignore.c (sigignore): Likewise.
4044         * signal/sigintr.c (siginterrupt): Likewise.
4045         * signal/sigisempty.c (sigisemptyset): Likewise.
4046         * signal/sigismem.c (sigismember): Likewise.
4047         * signal/signal.c (signal): Likewise.
4048         * signal/sigorset.c (sigorset): Likewise.
4049         * signal/sigpause.c (__sigpause): Likewise.
4050         * signal/sigpending.c (sigpending): Likewise.
4051         * signal/sigprocmask.c (__sigprocmask): Likewise.
4052         * signal/sigrelse.c (sigrelse): Likewise.
4053         * signal/sigreturn.c (__sigreturn): Likewise.
4054         * signal/sigset.c (sigset): Likewise.
4055         * signal/sigsetmask.c (__sigsetmask): Likewise.
4056         * signal/sigstack.c (sigstack): Likewise.
4057         * signal/sigsuspend.c (__sigsuspend): Likewise.
4058         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
4059         * signal/sysv_signal.c (__sysv_signal): Likewise.
4060         * socket/accept.c (accept): Likewise.
4061         * socket/accept4.c (__libc_accept4): Likewise.
4062         * socket/bind.c (__bind): Likewise.
4063         * socket/connect.c (__connect): Likewise.
4064         * socket/getpeername.c (getpeername): Likewise.
4065         * socket/getsockname.c (__getsockname): Likewise.
4066         * socket/getsockopt.c (getsockopt): Likewise.
4067         * socket/listen.c (__listen): Likewise.
4068         * socket/recv.c (__recv): Likewise.
4069         * socket/recvmsg.c (__recvmsg): Likewise.
4070         * socket/send.c (__send): Likewise.
4071         * socket/sendmsg.c (__sendmsg): Likewise.
4072         * socket/shutdown.c (shutdown): Likewise.
4073         * socket/sockatmark.c (sockatmark): Likewise.
4074         * socket/socket.c (__socket): Likewise.
4075         * stdio-common/ctermid.c (ctermid): Likewise.
4076         * stdio-common/cuserid.c (cuserid): Likewise.
4077         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
4078         * stdio-common/remove.c (remove): Likewise.
4079         * stdio-common/rename.c (rename): Likewise.
4080         * stdio-common/renameat.c (renameat): Likewise.
4081         * stdio-common/tempname.c (__gen_tempname): Likewise.
4082         * stdio-common/xbug.c (InitBuffer): Likewise.
4083         (AppendToBuffer): Likewise.
4084         (ReadFile): Likewise.
4085         * stdlib/a64l.c (a64l): Likewise.
4086         * stdlib/drand48_r.c (drand48_r): Likewise.
4087         * stdlib/getcontext.c (getcontext): Likewise.
4088         * stdlib/getenv.c (getenv): Likewise.
4089         * stdlib/l64a.c (l64a): Likewise.
4090         * stdlib/llabs.c (llabs): Likewise.
4091         * stdlib/lldiv.c (lldiv): Likewise.
4092         * stdlib/lrand48_r.c (lrand48_r): Likewise.
4093         * stdlib/mrand48_r.c (mrand48_r): Likewise.
4094         * stdlib/putenv.c (putenv): Likewise.
4095         * stdlib/random.c (__srandom): Likewise.
4096         (__initstate): Likewise.
4097         (__setstate): Likewise.
4098         * stdlib/random_r.c (__srandom_r): Likewise.
4099         (__setstate_r): Likewise.
4100         (__random_r): Likewise.
4101         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
4102         * stdlib/setcontext.c (setcontext): Likewise.
4103         * stdlib/setenv.c (setenv): Likewise.
4104         (unsetenv): Likewise.
4105         * stdlib/srand48.c (srand48): Likewise.
4106         * stdlib/srand48_r.c (__srand48_r): Likewise.
4107         * stdlib/swapcontext.c (swapcontext): Likewise.
4108         * stdlib/system.c (__libc_system): Likewise.
4109         * stdlib/tst-strtod.c (expand): Likewise.
4110         * stdlib/tst-strtol.c (expand): Likewise.
4111         * stdlib/tst-strtoll.c (expand): Likewise.
4112         * streams/fattach.c (fattach): Likewise.
4113         * streams/fdetach.c (fdetach): Likewise.
4114         * streams/getmsg.c (getmsg): Likewise.
4115         * streams/isastream.c (isastream): Likewise.
4116         * string/ffs.c (__ffs): Likewise.
4117         * string/ffsll.c (ffsll): Likewise.
4118         * string/memcmp.c (memcmp_common_alignment): Likewise.
4119         (memcmp_not_common_alignment): Likewise.
4120         (MEMCMP): Likewise.
4121         * string/memcpy.c (memcpy): Likewise.
4122         * string/memmove.c (MEMMOVE): Likewise.
4123         * string/memset.c (memset): Likewise.
4124         * string/rawmemchr.c (RAWMEMCHR): Likewise.
4125         * string/strchrnul.c (STRCHRNUL): Likewise.
4126         * string/strerror.c (strerror): Likewise.
4127         * string/strndup.c (__strndup): Likewise.
4128         * string/strverscmp.c (__strverscmp): Likewise.
4129         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
4130         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
4131         (clnttcp_freeres): Likewise.
4132         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
4133         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
4134         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
4135         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
4136         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
4137         (xdr_callhdr): Likewise.
4138         * sunrpc/rpcinfo.c (udpping): Likewise.
4139         (tcpping): Likewise.
4140         (pstatus): Likewise.
4141         (pmapdump): Likewise.
4142         (brdcst): Likewise.
4143         (deletereg): Likewise.
4144         (getprognum): Likewise.
4145         (getvers): Likewise.
4146         (get_inet_address): Likewise.
4147         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
4148         * sunrpc/svc_udp.c (svcudp_create): Likewise.
4149         (svcudp_stat): Likewise.
4150         (svcudp_recv): Likewise.
4151         (svcudp_reply): Likewise.
4152         (svcudp_getargs): Likewise.
4153         (svcudp_freeargs): Likewise.
4154         (svcudp_destroy): Likewise.
4155         * sunrpc/xdr.c (xdr_bytes): Likewise.
4156         (xdr_netobj): Likewise.
4157         (xdr_string): Likewise.
4158         (xdr_wrapstring): Likewise.
4159         * sunrpc/xdr_float.c (xdr_float): Likewise.
4160         (xdr_double): Likewise.
4161         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
4162         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
4163         * sysvipc/ftok.c (ftok): Likewise.
4164         * sysvipc/msgctl.c (msgctl): Likewise.
4165         * sysvipc/msgget.c (msgget): Likewise.
4166         * sysvipc/msgrcv.c (msgrcv): Likewise.
4167         * sysvipc/msgsnd.c (msgsnd): Likewise.
4168         * sysvipc/semget.c (semget): Likewise.
4169         * sysvipc/semop.c (semop): Likewise.
4170         * sysvipc/shmat.c (shmat): Likewise.
4171         * sysvipc/shmctl.c (shmctl): Likewise.
4172         * sysvipc/shmdt.c (shmdt): Likewise.
4173         * sysvipc/shmget.c (shmget): Likewise.
4174         * termios/cfmakeraw.c (cfmakeraw): Likewise.
4175         * termios/speed.c (cfgetospeed): Likewise.
4176         (cfgetispeed): Likewise.
4177         (cfsetospeed): Likewise.
4178         (cfsetispeed): Likewise.
4179         * termios/tcflow.c (tcflow): Likewise.
4180         * termios/tcflush.c (tcflush): Likewise.
4181         * termios/tcgetattr.c (__tcgetattr): Likewise.
4182         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
4183         * termios/tcgetsid.c (tcgetsid): Likewise.
4184         * termios/tcsendbrk.c (tcsendbreak): Likewise.
4185         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
4186         * time/adjtime.c (__adjtime): Likewise.
4187         * time/dysize.c (dysize): Likewise.
4188         * time/ftime.c (ftime): Likewise.
4189         * time/getitimer.c (__getitimer): Likewise.
4190         * time/gettimeofday.c (__gettimeofday): Likewise.
4191         * time/gmtime.c (__gmtime_r): Likewise.
4192         (gmtime): Likewise.
4193         * time/localtime.c (__localtime_r): Likewise.
4194         (localtime): Likewise.
4195         * time/offtime.c (__offtime): Likewise.
4196         * time/settimeofday.c (__settimeofday): Likewise.
4197         * time/stime.c (stime): Likewise.
4198         * time/strftime_l.c (tm_diff): Likewise.
4199         (iso_week_days): Likewise.
4200         * time/strptime.c (strptime): Likewise.
4201         * time/time.c (time): Likewise.
4202         * time/timespec_get.c (timespec_get): Likewise.
4203         * time/tzset.c (tzset_internal): Likewise.
4204         (compute_change): Likewise.
4205         (__tz_compute): Likewise.
4206         * wcsmbs/btowc.c (__btowc): Likewise.
4207         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
4208         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
4209         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
4210         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
4211         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
4212         * wcsmbs/wcscat.c (__wcscat): Likewise.
4213         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4214         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
4215         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
4216         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4217         * wcsmbs/wcsdup.c (wcsdup): Likewise.
4218         * wcsmbs/wcslen.c (__wcslen): Likewise.
4219         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
4220         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
4221         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
4222         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
4223         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4224         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
4225         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4226         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4227         * wcsmbs/wcstok.c (wcstok): Likewise.
4228         * wcsmbs/wctob.c (wctob): Likewise.
4229         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
4230         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4231         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
4232         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
4233         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
4234         * wcsmbs/wmemset.c (__wmemset): Likewise.
4235         * wctype/wcfuncs.c (__towlower): Likewise.
4236         (__towupper): Likewise.
4238         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
4239         (lll_unlock_elision): Add adapt_count parameter.
4241 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4243         * sysdeps/nptl/configure.ac: Do not give errors based on the
4244         results of top-level configure tests.
4245         * sysdeps/nptl/configure: Regenerated.
4247         * configure.ac (libc_cv_Bgroup): Remove configure test.
4248         * configure: Regenerated.
4249         * config.make.in (have-Bgroup): Remove variable.
4251         * configure.ac (sizeof_long_double): Remove configure test.
4252         * configure: Regenerated.
4253         * config.make.in (sizeof-long-double): Remove variable.
4255         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
4256         * configure: Regenerated.
4257         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
4258         variable.
4259         (exceptions): Likewise.
4260         * sysdeps/arm/configure: Regenerated.
4261         * config.make.in (exceptions): Remove variable.
4262         * Makeconfig (uses-callbacks): Use -fexceptions instead of
4263         $(exceptions).
4264         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
4265         (CFLAGS-vdprintf_chk.c): Likewise.
4266         (CFLAGS-printf_chk.c): Likewise.
4267         (CFLAGS-fprintf_chk.c): Likewise.
4268         (CFLAGS-vprintf_chk.c): Likewise.
4269         (CFLAGS-vfprintf_chk.c): Likewise.
4270         (CFLAGS-gets_chk.c): Likewise.
4271         (CFLAGS-fgets_chk.c): Likewise.
4272         (CFLAGS-fgets_u_chk.c): Likewise.
4273         (CFLAGS-fread_chk.c): Likewise.
4274         (CFLAGS-fread_u_chk.c): Likewise.
4275         (CFLAGS-wprintf_chk.c): Likewise.
4276         (CFLAGS-fwprintf_chk.c): Likewise.
4277         (CFLAGS-vwprintf_chk.c): Likewise.
4278         (CFLAGS-vfwprintf_chk.c): Likewise.
4279         (CFLAGS-fgetws_chk.c): Likewise.
4280         (CFLAGS-fgetws_u_chk.c): Likewise.
4281         * libio/Makefile (CFLAGS-fileops.c): Likewise.
4282         (CFLAGS-fputc.c): Likewise.
4283         (CFLAGS-fputwc.c): Likewise.
4284         (CFLAGS-freopen64.c): Likewise.
4285         (CFLAGS-freopen.c): Likewise.
4286         (CFLAGS-fseek.c): Likewise.
4287         (CFLAGS-fseeko64.c): Likewise.
4288         (CFLAGS-fseeko.c): Likewise.
4289         (CFLAGS-ftello64.c): Likewise.
4290         (CFLAGS-ftello.c): Likewise.
4291         (CFLAGS-fwide.c): Likewise.
4292         (CFLAGS-genops.c): Likewise.
4293         (CFLAGS-getc.c): Likewise.
4294         (CFLAGS-getchar.c): Likewise.
4295         (CFLAGS-getwc.c): Likewise.
4296         (CFLAGS-getwchar.c): Likewise.
4297         (CFLAGS-iofclose.c): Likewise.
4298         (CFLAGS-iofflush.c): Likewise.
4299         (CFLAGS-iofgetpos64.c): Likewise.
4300         (CFLAGS-iofgetpos.c): Likewise.
4301         (CFLAGS-iofgets.c): Likewise.
4302         (CFLAGS-iofgetws.c): Likewise.
4303         (CFLAGS-iofputs.c): Likewise.
4304         (CFLAGS-iofputws.c): Likewise.
4305         (CFLAGS-iofread.c): Likewise.
4306         (CFLAGS-iofsetpos64.c): Likewise.
4307         (CFLAGS-iofsetpos.c): Likewise.
4308         (CFLAGS-ioftell.c): Likewise.
4309         (CFLAGS-iofwrite.c): Likewise.
4310         (CFLAGS-iogetdelim.c): Likewise.
4311         (CFLAGS-iogetline.c): Likewise.
4312         (CFLAGS-iogets.c): Likewise.
4313         (CFLAGS-iogetwline.c): Likewise.
4314         (CFLAGS-ioputs.c): Likewise.
4315         (CFLAGS-ioseekoff.c): Likewise.
4316         (CFLAGS-ioseekpos.c): Likewise.
4317         (CFLAGS-iosetbuffer.c): Likewise.
4318         (CFLAGS-iosetvbuf.c): Likewise.
4319         (CFLAGS-ioungetc.c): Likewise.
4320         (CFLAGS-ioungetwc.c): Likewise.
4321         (CFLAGS-oldfileops.c): Likewise.
4322         (CFLAGS-oldiofclose.c): Likewise.
4323         (CFLAGS-oldiofgetpos64.c): Likewise.
4324         (CFLAGS-oldiofgetpos.c): Likewise.
4325         (CFLAGS-oldiofsetpos64.c): Likewise.
4326         (CFLAGS-oldiofsetpos.c): Likewise.
4327         (CFLAGS-peekc.c): Likewise.
4328         (CFLAGS-putc.c): Likewise.
4329         (CFLAGS-putchar.c): Likewise.
4330         (CFLAGS-putwc.c): Likewise.
4331         (CFLAGS-putwchar.c): Likewise.
4332         (CFLAGS-rewind.c): Likewise.
4333         (CFLAGS-wfileops.c): Likewise.
4334         (CFLAGS-wgenops.c): Likewise.
4335         (CFLAGS-oldiofopen.c): Likewise.
4336         (CFLAGS-iofopen.c): Likewise.
4337         (CFLAGS-iofopen64.c): Likewise.
4338         (CFLAGS-oldtmpfile.c): Likewise.
4339         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
4340         (CFLAGS-fprintf.c): Likewise.
4341         (CFLAGS-printf.c): Likewise.
4342         (CFLAGS-vfwprintf.c): Likewise.
4343         (CFLAGS-vfscanf.c): Likewise.
4344         (CFLAGS-vfwscanf.c): Likewise.
4345         (CFLAGS-fscanf.c): Likewise.
4346         (CFLAGS-scanf.c): Likewise.
4347         (CFLAGS-isoc99_vfscanf.c): Likewise.
4348         (CFLAGS-isoc99_vscanf.c): Likewise.
4349         (CFLAGS-isoc99_fscanf.c): Likewise.
4350         (CFLAGS-isoc99_scanf.c): Likewise.
4351         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
4352         (CFLAGS-isoc99_fwscanf.c): Likewise.
4353         (CFLAGS-isoc99_vwscanf.c): Likewise.
4354         (CFLAGS-isoc99_vfwscanf.c): Likewise.
4356         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
4357         after mkstemp64.
4358         * login/tst-utmp.c (do_prepare): Likewise.
4359         * rt/tst-aio.c (do_prepare): Likewise.
4360         * rt/tst-aio64.c (do_prepare): Likewise.
4362 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4364         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4365         (__lll_lock_elision): Remove adapt_count decrement...
4366         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4367         (__lll_trylock_elision): Likewise.
4368         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4369         (__lll_unlock_elision): ... to here. And utilize
4370         new adapt_count parameter.
4371         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4372         (__lll_unlock_elision): Update to include adapt_count
4373         parameter.
4374         (lll_unlock_elision): Pass pointer to adapt_count
4375         variable.
4377 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4379         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
4380         Add elision adapt_count parameter to list of arguments.
4381         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4382         (lll_unlock_elision): Update with new parameter list
4383         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
4384         (lll_unlock_elision): Likewise
4385         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
4386         (lll_unlock_elision): Likewise
4388 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4390         [BZ #19122]
4391         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
4392         attribute_hidden.
4394         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
4395         attribute_hidden.
4396         [IS_IN (rtld)] (__strdup): Likewise.
4397         [IS_IN (rtld)] (__strerror_r): Likewise.
4398         [IS_IN (rtld)] (__strsep_g): Likewise.
4399         [IS_IN (rtld)] (memchr): Likewise.
4400         [IS_IN (rtld)] (memcmp): Likewise.
4401         [IS_IN (rtld)] (memcpy): Likewise.
4402         [IS_IN (rtld)] (memmove): Likewise.
4403         [IS_IN (rtld)] (memset): Likewise.
4404         [IS_IN (rtld)] (rawmemchr): Likewise.
4405         [IS_IN (rtld)] (stpcpy): Likewise.
4406         [IS_IN (rtld)] (strchr): Likewise.
4407         [IS_IN (rtld)] (strcmp): Likewise.
4408         [IS_IN (rtld)] (strlen): Likewise.
4409         [IS_IN (rtld)] (strnlen): Likewise.
4410         [IS_IN (rtld)] (strsep): Likewise.
4412         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
4413         attribute_hidden.
4414         [IS_IN (rtld)] (__strtoul_internal): Likewise.
4416         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
4417         attribute_hidden.
4418         [IS_IN (rtld)] (__libc_sigaction): Likewise.
4420         * include/setjmp.h (__longjmp): Add attribute_hidden.
4421         [IS_IN (rtld)] (__sigsetjmp): Likewise.
4423         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
4424         Add attribute_hidden.
4426         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
4427         [IS_IN (rtld)] (__open): Likewise.
4428         [IS_IN (rtld)] (__fcntl): Likewise.
4430         * include/dirent.h (__opendirat): Add attribute_hidden.
4431         (__getdents): Likewise.
4432         (__getdents64): Likewise.
4433         (__alloc_dir): Likewise.
4434         [IS_IN (rtld)] (__closedir): Likewise.
4435         [IS_IN (rtld)] (__fdopendir): Likewise.
4436         [IS_IN (rtld)] (__readdir): Likewise.
4437         [IS_IN (rtld)] (__readdir64): Likewise.
4438         [IS_IN (rtld)] (__rewinddir): Likewise.
4440         * include/dlfcn.h (_dl_catch_error): Moved to ...
4441         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
4442         attribute_hidden.
4444         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
4445         (_itoa_word): Likewise.
4447         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
4448         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
4449         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
4450         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
4451         (_dl_higher_prime_number): Likewise.
4452         (_dl_debug_printf_c): Likewise.
4453         (_dl_signal_cerror): Likewise.
4454         (_dl_receive_error): Likewise.
4455         (_dl_reloc_bad_type): Likewise.
4456         (_dl_resolve_conflicts): Likewise.
4457         (_dl_check_all_versions): Likewise.
4458         (_dl_check_map_versions): Likewise.
4459         (_dl_sort_fini): Likewise.
4460         (_dl_debug_initialize): Likewise.
4461         (_dl_init_paths): Likewise.
4462         (_dl_show_auxv): Likewise.
4463         (_dl_next_ld_env_entry): Likewise.
4464         (_dl_important_hwcaps): Likewise.
4465         (_dl_load_cache_lookup): Likewise.
4466         (_dl_update_slotinfo): Likewise.
4467         (_dl_show_scope): Likewise.
4469         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
4470         attribute_hidden.
4471         (_wordcopy_fwd_dest_aligned): Likewise.
4472         (_wordcopy_bwd_aligned): Likewise.
4473         (_wordcopy_bwd_dest_aligned): Likewise.
4475         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4476         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4477         Likewise.
4478         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4479         Likewise.
4480         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
4482 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4484         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
4485         GCC 5 requirement.
4487 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4489         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
4490         test.
4491         * sysdeps/i386/configure: Regenerated.
4492         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
4493         code unconditional.
4495         * configure.ac (libc_cv_asm_previous_directive): Remove configure
4496         test.
4497         (libc_cv_asm_popsection_directive): Likewise.
4498         * configure: Regenerated.
4499         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
4500         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
4501         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
4502         (__make_section_unallocated): Make definition unconditional.
4503         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
4504         Remove conditional definition.
4505         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
4506         (__make_section_unallocated): Likewise.
4508         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
4509         * configure: Regenerated.
4510         * config.make.in (static-libgcc): Remove variable.
4511         * Makerules (build-shlib-helper): Use -static-libgcc instead of
4512         $(static-libgcc).
4513         (build-module-helper): Likewise.
4515         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
4516         * configure: Regenerated.
4518 2015-10-15  Florian Weimer  <fweimer@redhat.com>
4520         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
4521         (struct char_buffer): New type.
4522         (char_buffer_start, char_buffer_size, char_buffer_error)
4523         (char_buffer_rewind, char_buffer_add): New functions.
4524         (ADDW): Remove macro, replaced by the char_buffer_add function.
4525         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
4526         of extend_alloca.  Make control flow more explicit.
4528 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4530         [BZ #19137]
4531         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4532         Add -fomit-frame-pointer.
4533         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
4535 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4537         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
4538         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
4539         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
4540         only if !__GNUC_PREREQ (5,0).
4541         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
4542         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
4543         (INTERNAL_SYSCALL_NCS): Likewise.
4544         (LOADREGS_0): New macro for GCC 5.
4545         (ASMARGS_0): Likewise.
4546         (LOADREGS_1): Likewise.
4547         (ASMARGS_1): Likewise.
4548         (LOADREGS_2): Likewise.
4549         (ASMARGS_2): Likewise.
4550         (LOADREGS_3): Likewise.
4551         (ASMARGS_3): Likewise.
4552         (LOADREGS_4): Likewise.
4553         (ASMARGS_4): Likewise.
4554         (LOADREGS_5): Likewise.
4555         (ASMARGS_5): Likewise.
4556         (LOADREGS_6): Likewise.
4557         (ASMARGS_6): Likewise.
4559 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4561         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
4562         -fomit-frame-pointer.
4563         (CFLAGS-mmap64.c): Likewise.
4564         (CFLAGS-semtimedop.c): Likewise.
4565         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
4566         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
4567         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4568         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4570 2015-10-15  Florian Weimer  <fweimer@redhat.com>
4572         [BZ #18928]
4573         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
4574         _dl_pointer_guard member.
4575         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
4576         initializer.
4577         (security_init): Always set up pointer guard.
4578         (process_envvars): Do not process LD_POINTER_GUARD.
4580 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
4582         [BZ #19134]
4583         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
4584         (.LC2): Likewise.
4585         (.LC3): Likewise.
4586         (__lround): Do not add 0.5 to integer or out-of-range arguments.
4588 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4590         [BZ #19129]
4591         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
4592         r0 and r1.
4594 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
4596         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
4598 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
4600         * include/stap-probe.h: Fix macro definition formatting.
4602 2015-10-14  Florian Weimer  <fweimer@redhat.com>
4604         [BZ #19074]
4605         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
4606         load and store num_ifs.
4608 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4610         [BZ #18822]
4611         * sysdeps/unix/sysv/linux/sched_getaffinity.c
4612         (__sched_getaffinity_new): Add libc_hidden_proto and
4613         libc_hidden_def.
4615 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4617         [BZ #19007]
4618         * scripts/localplt.awk: Also allow GOT references.
4619         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
4620         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
4621         with "+ REL R_386_GLOB_DAT".
4622         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
4623         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
4625 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4627         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
4628         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4629         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
4630         Likewise.
4631         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
4632         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
4633         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4634         INTERNAL_SYSCALLINTERNAL_SYSCALL and
4635         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4636         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4637         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4638         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4639         Likewise.
4640         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4642 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
4644         [BZ #19125]
4645         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
4646         <math_private.h> and <stdint.h>.
4647         (__llround): Avoid conversions to and from long long int, and
4648         subtractions, where those might raise spurious exceptions.
4649         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
4650         <math_private.h> and <stdint.h>.
4651         (__llroundf): Avoid conversions to and from long long int, and
4652         subtractions, where those might raise spurious exceptions.
4654 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4656         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
4657         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4658         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4659         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
4660         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4661         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4662         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
4663         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
4664         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
4665         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4666         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4667         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4668         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
4669         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4670         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4671         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
4672         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
4673         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4674         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
4675         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
4676         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4677         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
4678         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
4679         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4680         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
4681         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4682         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
4683         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4684         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4685         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
4686         (__xstat64_conv): Likewise.
4687         (__xstat32_conv): Likewise.
4689 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4691         * sysdeps/unix/sysv/linux/sysdep.h: New file.
4692         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
4693         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
4694         <sysdeps/unix/sysv/linux/sysdep.h>.
4695         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4696         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
4697         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
4698         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4699         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4700         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
4701         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
4702         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4703         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4706         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4707         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4708         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4709         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4710         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4711         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
4712         (sysdep-dl-routines): Add sysdep.
4713         [$(subdir) == nptl] (libpthread-routines): Likewise.
4714         [$(subdir) == rt] (librt-routines): Likewise.
4715         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
4716         PIC when branching to SYSCALL_ERROR_LABEL.
4717         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
4718         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
4719         <sysdeps/unix/sysv/linux/sysdep.h>.
4720         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
4721         (SYSCALL_ERROR_ERRNO): Removed.
4722         (SYSCALL_ERROR_HANDLER): Changed to empty.
4723         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
4724         (__syscall_error): New prototype.
4725         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
4726         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
4728 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4730         [BZ #19124]
4731         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
4732         (_dl_runtime_resolve_avx512): Make it a hidden alias of
4733         _dl_runtime_resolve_avx.
4734         (_dl_runtime_profile_avx512): Make it a hidden alias of
4735         _dl_runtime_profile_avx.
4737 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
4739         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
4740         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
4741         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
4742         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
4744         [BZ #16422]
4745         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
4746         New configure test.
4747         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
4748         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
4749         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
4750         <math_private.h> and <stdint.h>.
4751         (__llrint): Avoid conversions to long long int where those might
4752         raise spurious exceptions.
4753         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
4754         <math_private.h> and <stdint.h>.
4755         (__llrintf): Avoid conversions to long long int where those might
4756         raise spurious exceptions.
4758 2015-10-12  Andreas Schwab  <schwab@suse.de>
4760         [BZ #18969]
4761         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
4762         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
4763         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
4764         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
4765         $(gen-locales).
4766         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
4767         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
4768         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
4769         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
4770         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
4771         $(gen-locales).
4772         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
4773         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
4774         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
4775         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
4776         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
4777         ($(objpfx)tst-ftell-active-handler.out)
4778         ($(objpfx)tst-ftell-append.out)
4779         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
4780         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
4781         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
4782         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
4783         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
4784         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
4785         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
4786         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
4787         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
4788         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
4789         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
4790         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
4791         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
4792         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
4793         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
4794         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
4795         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
4796         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
4797         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
4798         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
4799         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
4800         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
4801         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
4802         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
4803         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
4804         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
4805         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
4806         $(gen-locales).
4807         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
4808         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
4809         $(gen-locales).
4810         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
4811         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
4812         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
4813         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
4814         $(gen-locales).
4815         * libio/tst_wprintf2.c (main): Use explicit locale.
4816         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
4818 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4820         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
4821         __msg_sig_post.
4822         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
4824 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
4826         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4827         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4829         * sysdeps/arm/libm-test-ulps: Regenerated.
4831         [BZ #15470]
4832         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
4834         [BZ #16399]
4835         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
4836         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
4837         and <fix-fp-int-convert-overflow.h>.
4838         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
4839         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4840         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
4841         and <fix-fp-int-convert-overflow.h>.
4842         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
4843         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4844         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
4845         <fix-fp-int-convert-overflow.h>.
4846         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
4847         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4848         * sysdeps/ieee754/dbl-64/s_lround.c: Include
4849         <fix-fp-int-convert-overflow.h>.
4850         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
4851         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4852         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
4853         and <fix-fp-int-convert-overflow.h>.
4854         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
4855         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4856         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
4857         <limits.h> and <fix-fp-int-convert-overflow.h>.
4858         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
4859         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4860         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
4861         and <fix-fp-int-convert-overflow.h>.
4862         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
4863         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4864         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
4865         and <fix-fp-int-convert-overflow.h>.
4866         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
4867         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4868         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
4870 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
4872         [BZ #18589]
4873         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
4874         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
4875         $(gen-locales).
4877 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4878             Phil Blundell <pb@pbcl.net>
4880         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
4881         * nptl/tst-cancel26.c: New file.
4882         * nptl/tst-cancel27.c: Likewise.
4884 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
4886         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
4887         __ILP32__ isn't defined.
4888         (lrint): Likewise.
4889         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
4890         (lrintf): Likewise.
4891         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
4892         (lrintl): Likewise.
4893         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
4894         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
4895         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
4897 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4899         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4900         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4902         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
4903         file.
4904         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
4905         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4907 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
4909         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
4910         configure test.
4911         * sysdeps/i386/configure: Regenerated.
4912         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
4913         configure test.
4914         * sysdeps/x86_64/configure: Regenerated.
4915         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
4916         Make code unconditional.
4918         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
4919         test.
4920         * sysdeps/i386/configure: Regenerated.
4921         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
4922         test.
4923         * sysdeps/x86_64/configure: Regenerated.
4924         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
4925         Make code unconditional.
4926         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4927         Likewise.
4928         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
4929         Likewise.
4930         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4931         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
4932         code unconditional.
4933         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4934         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
4935         code unconditional.
4936         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4937         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
4938         code unconditional.
4939         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
4940         code unconditional.
4941         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4942         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
4943         code unconditional.
4944         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4945         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
4946         code unconditional.
4947         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4948         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
4949         code unconditional.
4950         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4951         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
4952         code unconditional.
4953         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4954         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
4956         [BZ #19095]
4957         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
4958         mantissa to long int before shifting left.
4960 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
4962         [BZ #19094]
4963         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
4964         <limits.h>.
4965         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4966         when result overflows but exception would not result from cast.
4967         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
4968         <limits.h>.
4969         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4970         when result overflows but exception would not result from cast.
4971         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
4972         <limits.h>.
4973         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4974         when result overflows but exception would not result from cast.
4975         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
4976         <limits.h>.
4977         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4978         when result overflows but exception would not result from cast.
4979         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
4980         <limits.h>.
4981         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4982         when result overflows but exception would not result from cast.
4983         * math/libm-test.inc (lrint_test_data): Add more tests.
4984         (llrint_test_data): Likewise.
4986 2015-10-08  Roland McGrath  <roland@hack.frob.com>
4988         [BZ #18872]
4989         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
4990         Move out from under [$(run-built-tests) = yes] conditional.
4991         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
4992         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
4994 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
4996         [BZ #18589]
4997         * string/Makefile (tests): Add bug-strcoll2.
4998         (LOCALES): Add cs_CZ.UTF-8.
4999         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
5001         [BZ #18589]
5002         * string/bug-strcoll2.c: New file.
5003         * locale/categories.def: Revert commit
5004         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
5005         * locale/langinfo.h: Likewise.
5006         * locale/localeinfo.h: Likewise.
5007         * locale/C-collate.c: Likewise.
5008         * locale/programs/ld-collate.c (collate_output): Likewise.
5009         * string/strcoll_l.c (STRDIFF): Likewise.
5010         (STRCOLL): Likewise.
5011         * wcsmbs/wcscoll_l.c: Likewise.
5013 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
5015         * math/libm-test.inc (lround_test_data): Do not expect the absence
5016         of "inexact" for some tests with non-integer arguments.
5017         (llround_test_data): Likewise.
5019         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
5020         test.
5021         (libc_cv_cc_sse2avx): Likewise.
5022         * sysdeps/i386/configure: Regenerated.
5023         * sysdeps/i386/i686/multiarch/Makefile
5024         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
5025         [$(subdir) = math].
5026         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
5027         code unconditional.
5028         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5029         Likewise.
5030         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
5031         Likewise.
5032         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5033         Likewise.
5034         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
5035         test.
5036         (libc_cv_cc_sse2avx): Likewise.
5037         * sysdeps/x86_64/configure: Regenerated.
5038         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
5039         unconditional.
5040         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
5041         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
5042         unconditional.
5043         (_dl_runtime_profile)
5044         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
5045         conditional code.
5046         * sysdeps/x86_64/fpu/multiarch/Makefile
5047         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
5048         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5049         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5050         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5051         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5052         * sysdeps/x86_64/fpu/multiarch/e_log.c
5053         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5054         * sysdeps/x86_64/fpu/multiarch/s_atan.c
5055         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5056         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5057         Likewise.
5058         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5059         Likewise.
5060         * sysdeps/x86_64/fpu/multiarch/s_sin.c
5061         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5062         * sysdeps/x86_64/fpu/multiarch/s_tan.c
5063         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5064         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
5065         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
5066         (HAVE_SSE2AVX_SUPPORT): Likewise.
5068 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
5070         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
5071         instead of #pragma optimize.
5073 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5075         [BZ #17195]
5076         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
5077         as is similarly done in systrim and _int_free already.
5079 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5081         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
5083 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5085         [BZ #19088]
5086         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
5087         <limits.h>.
5088         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5089         overflows but exception would not result from cast.
5090         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
5091         and <limits.h>.
5092         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5093         overflows but exception would not result from cast.
5094         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
5095         <limits.h>.
5096         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5097         overflows but exception would not result from cast.
5098         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
5099         <limits.h>.
5100         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5101         overflows but exception would not result from cast.
5102         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
5103         <limits.h>.
5104         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5105         overflows but exception would not result from cast.
5106         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
5107         <limits.h>.
5108         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5109         overflows but exception would not result from cast.
5110         * math/libm-test.inc (lround_test_data): Add more tests.
5111         (llround_test_data): Likewise.
5113 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
5115         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
5116         (CFLAGS-ialloc.c): Ditto.
5117         (CFLAGS-scheck.c): Ditto.
5119 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5121         [BZ #19086]
5122         * manual/filesys.texi (Storage Allocation): Fix argument order for
5123         posix_fallocate64.
5125 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5127         [BZ #19085]
5128         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
5129         exponent below 48 inside case for non-overflowing exponent.
5130         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
5132 2015-10-07  Florian Weimer  <fweimer@redhat.com>
5134         * iconvdata/cp737.h (from_idx): Add const.
5135         * iconvdata/cp775.h (from_idx): Likewise.
5137 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5139         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
5140         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
5141         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
5143         [BZ #19079]
5144         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
5145         file, conditioned on [!_LP64].
5146         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
5147         [!_LP64] (__lround): Do not define as function or alias.
5148         [!_LP64] (lround): Likewise.
5149         [!_LP64] (__lroundl): Likewise.
5150         [!_LP64] (lroundl): Likewise.
5151         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
5152         macro.
5153         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5154         Likewise.
5156 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5158         * math/libm-test.inc (lrint_test_data): Add more tests.
5159         (llrint_test_data): Likewise.
5160         (lround_test_data): Likewise.
5161         (llround_test_data): Likewise.
5163         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
5164         (llrint_test_data): Add tests used for lrint.
5166         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
5167         test.
5168         * sysdeps/i386/configure: Regenerated.
5169         * sysdeps/i386/i686/multiarch/Makefile
5170         [$(config-cflags-sse4) = yes]: Make code unconditional.
5171         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5172         Likewise.
5173         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
5174         Likewise.
5175         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
5176         test.
5177         * sysdeps/x86_64/configure: Regenerated.
5178         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
5179         Make code unconditional.
5180         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5181         Likewise.
5182         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
5183         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
5185         * scripts/rpm2dynsym.sh: Remove file.
5187 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5189         * configure.ac (libc_cv_cxx_thread_local): Define.
5190         * configure: Regenerate.
5191         * config.make.in (have-cxx-thread_local): Define.
5192         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
5193         (LDLIBS-tst-thread_local1): Define.
5194         (tests): Add tst-thread_local1.
5195         [have-cxx-thread_local != yes] (tests-unsupported): Add
5196         tst-thread_local1.
5197         * nptl/tst-thread_local1.cc: New file.
5199 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5201         [BZ #19078]
5202         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
5203         (u_thres): Likewise.
5204         (__expl): Determine whether to call __kernel_standard_l based on
5205         value of result, not argument.
5207         * math/libm-test.inc (scalb_test_data): Add more expectations for
5208         the "inexact" exception.
5210         [BZ #19077]
5211         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
5212         0.0L for argument 1.0L.
5214         [BZ #19076]
5215         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
5216         constant 0.0L when computing infinite result.
5218 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5220         [BZ #10432]
5221         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
5222         malloc_usable_size.
5224 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5226         [BZ #19018]
5227         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5228         Mangle function pointer before storing it.
5229         (__call_tls_dtors): Demangle function pointer before calling it.
5231 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5233         [BZ #19012]
5234         * iconv/gconv_db.c (gen_steps): Check for additional errors.
5235         Clean up on failure.
5237 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
5239         [BZ #19071]
5240         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
5241         long int variable to store possibly incremented high part of
5242         mantissa.
5243         * math/libm-test.inc (lround_test_data): Add tests used for
5244         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
5245         for tests requiring 64-bit long.  Do not condition tests on
5246         [TEST_FLOAT] unnecessarily.
5247         (llround_test_data): Add tests used for lround.  Add another
5248         expectation for the "inexact" exception.  Do not condition tests
5249         on [TEST_FLOAT] unnecessarily.
5251         [BZ #887]
5252         [BZ #19049]
5253         [BZ #19050]
5254         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
5255         * sysdeps/ieee754/dbl-64/e_log10.c: Include
5256         <fix-int-fp-convert-zero.h>.
5257         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5258         * sysdeps/ieee754/dbl-64/e_log2.c: Include
5259         <fix-int-fp-convert-zero.h>.
5260         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5261         * sysdeps/ieee754/dbl-64/s_erf.c: Include
5262         <fix-int-fp-convert-zero.h>.
5263         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5264         * sysdeps/ieee754/dbl-64/s_logb.c: Include
5265         <fix-int-fp-convert-zero.h>.
5266         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5267         * sysdeps/ieee754/flt-32/e_log10f.c: Include
5268         <fix-int-fp-convert-zero.h>.
5269         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5270         * sysdeps/ieee754/flt-32/e_log2f.c: Include
5271         <fix-int-fp-convert-zero.h>.
5272         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5273         * sysdeps/ieee754/flt-32/s_erff.c: Include
5274         <fix-int-fp-convert-zero.h>.
5275         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5276         * sysdeps/ieee754/flt-32/s_logbf.c: Include
5277         <fix-int-fp-convert-zero.h>.
5278         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5279         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
5280         <fix-int-fp-convert-zero.h>.
5281         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5282         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
5283         <fix-int-fp-convert-zero.h>.
5284         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5285         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
5286         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
5287         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
5288         file.
5289         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
5291 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5293         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5295 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
5297         [BZ #19059]
5298         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
5299         overflowing computation.
5300         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5301         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5302         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5303         Likewise.
5304         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5305         Likewise.
5306         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5307         Likewise.
5308         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5309         Likewise.
5310         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5311         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5312         Likewise.
5313         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5314         Likewise.
5315         * math/libm-test.inc (nexttoward_test_data): Add more tests.
5317         * nss/rewrite_field.c (__nss_rewrite_field): Use
5318         internal_function.
5319         * nss/valid_field.c (__nss_valid_field): Likewise.
5320         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
5322 2015-10-02  Florian Weimer  <fweimer@redhat.com>
5324         [BZ #18724]
5325         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
5326         (__nss_invalid_field_characters, __nss_valid_field)
5327         (__nss_valid_list_field, __nss_rewrite_field): Declare.
5328         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
5329         tst-field.c: New file.
5330         * nss/Makefile (routines): Add valid_field, rewrite_field.
5331         (tests-static): Define unconditionally.
5332         (tests): Include tests-static.
5333         [build-static-nss] (tests-static): Use append.
5334         [build-static-nss] (tests): Remove modification.
5335         * nss/getent.c (print_group): Call putgrent.  Report error.
5336         (print_gshadow): Call putsgent.  Report error.
5337         (print_passwd): Call putpwent.  Report error.
5338         (print_shadow): Call putspent.  Report error.
5339         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
5340         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
5341         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
5342         name, password, directory, shell fields for valid syntax.  Rewrite
5343         GECOS field to match syntax.
5344         * pwd/Makefile (tests): Add tst-putpwent.
5345         * pwd/tst-putpwent.c: New file.
5346         * grp/putgrent.c (putgrent): Convert to ISO function definition.
5347         Check grName, grpasswd, gr_mem fields for valid syntax.
5348         Change loop variable i to size_t.
5349         * grp/Makefile (tests): Add tst-putgrent.
5350         * grp/tst-putgrent.c: New file.
5351         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
5352         valid syntax.
5353         * shadow/Makefile (tests): Add tst-putspent.
5354         * shadow/tst-putspent.c: New file.
5355         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
5356         sg_mem fields for valid syntax.
5357         * gshadow/Makefile (tests): Add tst-putsgent.
5358         * gshadow/tst-putsgent.c: New file.
5360 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5362         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
5363         assembly instructions.
5365 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5367         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
5368         prefix from operands.
5370 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
5372         [BZ #16347]
5373         [BZ #19046]
5374         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
5375         <libc-internal.h>.
5376         (MAXLGM): Do not use diagnostic control macros.
5377         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
5378         threshold for ldbl-128ibm.
5379         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
5380         instead of multiplying by log then subtracting.
5381         * math/auto-libm-test-in: Add more tests of lgamma.
5382         * math/auto-libm-test-out: Regenerated.
5384         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
5385         (TYPE_HEX_DIG): Likewise.
5386         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
5387         precisions when printing floating-point numbers.
5388         (check_float_internal): Likewise.
5390 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5392         [BZ #16620]
5393         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
5394         of log (10) rounded downward to 48 bits.
5395         (log10_low): Use corresponding low part of log (10).
5397         [BZ #19032]
5398         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
5399         compute result as (x - x) / (x - x) not as 0 / 0.
5400         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5401         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
5403         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5404         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
5405         and expm1.
5406         * math/auto-libm-test-out: Regenerated.
5407         * math/libm-test.inc (acos_test_data): Add more tests.
5408         (asin_test_data): Likewise.
5409         (asinh_test_data): Likewise.
5410         (atan_test_data): Likewise.
5411         (atanh_test_data): Likewise.
5412         (atan2_test_data): Likewise.
5413         (cbrt_test_data): Likewise.
5414         (ceil_test_data): Likewise.
5415         (copysign_test_data): Likewise.
5416         (cos_test_data): Likewise.
5417         (cosh_test_data): Likewise.
5418         (erf_test_data): Likewise.
5419         (erfc_test_data): Likewise.
5420         (exp_test_data): Likewise.
5421         (exp10_test_data): Likewise.
5422         (exp2_test_data): Likewise.
5423         (expm1_test_data): Likewise.
5424         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5426 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
5428         [BZ #19006]
5429         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
5430         to ...
5431         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
5432         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
5433         to ...
5434         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
5435         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
5436         to ...
5437         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
5438         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
5439         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
5440         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
5441         to ...
5442         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
5443         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5444         Moved to ...
5445         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
5446         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5447         Moved to ...
5448         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
5449         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
5450         to ...
5451         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
5452         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5453         Moved to ...
5454         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
5455         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
5456         to ...
5457         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
5458         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
5459         Removed.
5460         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
5461         Likewise.
5462         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
5463         Likewise.
5464         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
5465         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
5466         Likewise.
5467         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5468         Likewise.
5469         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5470         Likewise.
5471         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5472         Likewise.
5473         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5474         Likewise.
5475         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
5476         Likewise.
5477         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
5478         Likewise.
5479         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
5480         Likewise.
5481         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
5482         Likewise.
5483         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
5484         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
5485         Likewise.
5486         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5487         Likewise.
5488         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5489         Likewise.
5490         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5491         Likewise.
5492         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
5493         Likewise.
5494         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5495         Replace ../i486/pthread_cond_timedwait.S with
5496         ../pthread_cond_timedwait.S.
5498 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5500         * math/libm-test.inc (acos_test_data): Refine expectations for
5501         errno and "inexact" exceptions.
5502         (acosh_test_data): Likewise.
5503         (asin_test_data): Likewise.
5504         (asinh_test_data): Likewise.
5505         (atan_test_data): Likewise.
5506         (atanh_test_data): Likewise.
5507         (atan2_test_data): Likewise.
5508         (cbrt_test_data): Likewise.
5509         (ceil_test_data): Likewise.
5510         (copysign_test_data): Likewise.
5511         (cosh_test_data): Likewise.
5512         (erf_test_data): Likewise.
5513         (erfc_test_data): Likewise.
5514         (exp_test_data): Likewise.
5515         (exp10_test_data): Likewise.
5516         (exp2_test_data): Likewise.
5517         (expm1_test_data): Likewise.
5518         (fabs_test_data): Likewise.
5519         (floor_test_data): Likewise.
5520         (fma_test_data): Likewise.
5521         (fmax_test_data): Likewise.
5522         (fmin_test_data): Likewise.
5523         (fmod_test_data): Likewise.
5524         (fpclassify_test_data): Likewise.
5525         (frexp_test_data): Likewise.
5526         (hypot_test_data): Likewise.
5527         (ilogb_test_data): Likewise.
5528         (isgreater_test_data): Likewise.
5529         (isgreaterequal_test_data): Likewise.
5530         (isinf_test_data): Likewise.
5531         (isless_test_data): Likewise.
5532         (islessequal_test_data): Likewise.
5533         (islessgreater_test_data): Likewise.
5534         (isnan_test_data): Likewise.
5535         (isnormal_test_data): Likewise.
5536         (issignaling_test_data): Likewise.
5537         (isunordered_test_data): Likewise.
5538         (j0_test_data): Likewise.
5539         (j1_test_data): Likewise.
5540         (jn_test_data): Likewise.
5541         (lgamma_test_data): Likewise.
5542         (lrint_test_data): Likewise.
5543         (llrint_test_data): Likewise.
5544         (log_test_data): Likewise.
5545         (log10_test_data): Likewise.
5546         (log1p_test_data): Likewise.
5547         (log2_test_data): Likewise.
5548         (logb_test_data): Likewise.
5549         (lround_test_data): Likewise.
5550         (llround_test_data): Likewise.
5551         (modf_test_data): Likewise.
5552         (nearbyint_test_data): Likewise.
5553         (nextafter_test_data): Likewise.
5554         (nexttoward_test_data): Likewise.
5555         (pow_test_data): Likewise.
5556         (remainder_test_data): Likewise.
5557         (remquo_test_data): Likewise.
5558         (rint_test_data): Likewise.
5559         (round_test_data): Likewise.
5560         (signbit_test_data): Likewise.
5561         (sinh_test_data): Likewise.
5562         (sqrt_test_data): Likewise.
5563         (tanh_test_data): Likewise.
5564         (tgamma_test_data): Likewise.
5565         (trunc_test_data): Likewise.
5566         (y0_test_data): Likewise.
5567         (y1_test_data): Likewise.
5568         (yn_test_data): Likewise.
5569         (significand_test_data): Likewise.
5571 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
5573         * manual/filesys.texi (Storage Allocation): Document that
5574         posix_fallocate emulation fails when fd is open with O_WRONLY.
5576 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
5578         [BZ #19016]
5579         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
5580         allow more cases with X^2 + Y^2 >= 0.5.
5581         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
5582         normal element in sum instead of special-casing based on values of
5583         arguments.
5584         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
5585         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
5586         -1 as normal element in sum instead of special-casing based on
5587         values of arguments.
5588         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
5589         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
5590         (__x2y2m1): Update comment.
5591         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
5592         as normal element in sum instead of special-casing based on values
5593         of arguments.
5594         * math/s_clog.c (__clog): Handle more cases using log1p without
5595         hypot.
5596         * math/s_clog10.c (__clog10): Likewise.
5597         * math/s_clog10f.c (__clog10f): Likewise.
5598         * math/s_clog10l.c (__clog10l): Likewise.
5599         * math/s_clogf.c (__clogf): Likewise.
5600         * math/s_clogl.c (__clogl): Likewise.
5601         * math/auto-libm-test-in: Add more tests of clog and clog10.
5602         * math/auto-libm-test-out: Regenerated.
5603         * sysdeps/i386/fpu/libm-test-ulps: Update.
5604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5606 2015-09-28  Martin Sebor  <msebor@redhat.com>
5608         [BZ #18969]
5609         * string/Makefile (LOCALES): Define.
5610         (gen-locales.mk): Include.
5611         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
5612         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
5613         * string/tst-strxfrm2.c (do_test): Print the name of the locale
5614         on setlocale failure.
5616 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5618         [BZ #18985]
5619         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
5620         (__strftime_internal): Likewise.
5621         * time/tst-strftime.c (do_bz18985): New test.
5622         (do_test): Call it.
5624 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
5626         [BZ #18956]
5627         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
5628         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
5629         extracting high part.
5630         * math/auto-libm-test-in: Add another test of pow.
5631         * math/auto-libm-test-out: Regenerated.
5632         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5634 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
5636         [BZ #18825]
5637         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
5638         New macro.
5639         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
5640         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5641         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
5642         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
5643         DBL_NARROW_EVAL, reloading the PIC register as needed.
5644         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
5645         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
5646         FLT_NARROW_EVAL.  Use separate return path for case when first
5647         argument is NaN.
5648         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
5649         DEFINE_LDBL_MIN.
5650         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
5651         PIC register.
5652         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
5653         math_check_force_underflow_nonneg.
5654         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
5655         underflow for subnormal result.
5656         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5657         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
5658         math_check_force_underflow_nonneg.
5659         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
5660         math_check_force_underflow.
5661         * sysdeps/x86_64/fpu/x86_64-math-asm.h
5662         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
5663         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
5664         DEFINE_LDBL_MIN.
5665         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
5666         * math/auto-libm-test-in: Add more tests of pow.
5667         * math/auto-libm-test-out: Regenerated.
5669 2015-09-25  Florian Weimer  <fweimer@redhat.com>
5671         * nss/bug17079.c (init_test_items): Add diagnostic for
5672         inconsistent entries.
5673         (test_buffer_size): Skip inconsistent entries.
5675 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
5677         [BZ #13304]
5678         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
5679         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
5680         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
5682         [BZ #13304]
5683         * sysdeps/microblaze/s_fma.c: New file.
5684         * sysdeps/microblaze/s_fmaf.c: Likewise.
5685         * sysdeps/microblaze/sfp-machine.h: Likewise.
5687 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
5689         [BZ #17250]
5690         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
5691         member.
5693 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
5695         [BZ #18803]
5696         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
5697         (MO): New macro.
5698         (__ieee754_hypot) [PIC]: Load PIC register.
5699         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
5700         DBL_NARROW_EVAL.
5701         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
5702         math_check_force_underflow_nonneg in case where result might be
5703         tiny.
5704         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5705         Likewise.
5706         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5707         Likewise.
5708         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5709         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
5710         * math/auto-libm-test-in: Add more tests of hypot.
5711         * math/auto-libm-test-out: Regenerated.
5713 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
5715         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
5717 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
5719         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
5720         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
5721         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
5722         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
5723         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
5724         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
5725         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
5727         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
5728         LOAD_PIC_REG.
5730         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
5731         (FLT_CHECK_FORCE_UFLOW): Likewise.
5732         (DBL_CHECK_FORCE_UFLOW): Likewise.
5733         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
5734         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
5735         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
5736         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5737         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5738         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5739         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5740         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5741         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
5742         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5743         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
5744         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
5745         (flt_min): Replace with use of DEFINE_FLT_MIN.
5746         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
5747         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
5748         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5749         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
5750         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
5751         (flt_min): Replace with use of DEFINE_FLT_MIN.
5752         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
5753         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
5754         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5755         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
5756         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
5757         (flt_min): Replace with use of DEFINE_FLT_MIN.
5758         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
5759         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
5760         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
5761         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
5762         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
5763         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
5764         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
5765         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
5766         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5767         (__atan): Use DBL_CHECK_FORCE_UFLOW.
5768         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
5769         (flt_min): Replace with use of DEFINE_FLT_MIN.
5770         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
5771         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
5772         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5773         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
5774         main computation.
5775         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
5776         (flt_min): Replace with use of DEFINE_FLT_MIN.
5777         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
5778         main computation.
5779         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
5780         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5781         (MO): New macro.
5782         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
5783         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
5784         (flt_min): Replace with use of DEFINE_FLT_MIN.
5785         (MO): New macro.
5786         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
5787         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
5788         (__log1pl): Use MO.
5790         [BZ #19003]
5791         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
5792         $(config-cflags-nofma).
5794 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5796         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5798 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
5800         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
5801         (TWO127): Likewise.
5803         * sysdeps/generic/math_private.h (fabs_tg): New macro.
5804         (min_of_type): Likewise.
5805         (math_check_force_underflow): Likewise.
5806         (math_check_force_underflow_nonneg): Likewise.
5807         (math_check_force_underflow_complex): Likewise.
5808         * math/e_exp2l.c (__ieee754_exp2l): Use
5809         math_check_force_underflow_nonneg.
5810         * math/k_casinh.c (__kernel_casinh): Likewise.
5811         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5812         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5813         * math/s_catan.c (__catan): Use
5814         math_check_force_underflow_complex.
5815         * math/s_catanf.c (__catanf): Likewise.
5816         * math/s_catanh.c (__catanh): Likewise.
5817         * math/s_catanhf.c (__catanhf): Likewise.
5818         * math/s_catanhl.c (__catanhl): Likewise.
5819         * math/s_catanl.c (__catanl): Likewise.
5820         * math/s_ccosh.c (__ccosh): Likewise.
5821         * math/s_ccoshf.c (__ccoshf): Likewise.
5822         * math/s_ccoshl.c (__ccoshl): Likewise.
5823         * math/s_cexp.c (__cexp): Likewise.
5824         * math/s_cexpf.c (__cexpf): Likewise.
5825         * math/s_cexpl.c (__cexpl): Likewise.
5826         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
5827         * math/s_clog10.c (__clog10): Likewise.
5828         * math/s_clog10f.c (__clog10f): Likewise.
5829         * math/s_clog10l.c (__clog10l): Likewise.
5830         * math/s_clogf.c (__clogf): Likewise.
5831         * math/s_clogl.c (__clogl): Likewise.
5832         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
5833         * math/s_csinf.c (__csinf): Likewise.
5834         * math/s_csinh.c (__csinh): Likewise.
5835         * math/s_csinhf.c (__csinhf): Likewise.
5836         * math/s_csinhl.c (__csinhl): Likewise.
5837         * math/s_csinl.c (__csinl): Likewise.
5838         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
5839         * math/s_csqrtf.c (__csqrtf): Likewise.
5840         * math/s_csqrtl.c (__csqrtl): Likewise.
5841         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
5842         * math/s_ctanf.c (__ctanf): Likewise.
5843         * math/s_ctanh.c (__ctanh): Likewise.
5844         * math/s_ctanhf.c (__ctanhf): Likewise.
5845         * math/s_ctanhl.c (__ctanhl): Likewise.
5846         * math/s_ctanl.c (__ctanl): Likewise.
5847         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
5848         instead of volatile.
5849         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
5850         math_check_force_underflow.
5851         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5852         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
5853         volatile when forcing underflow.
5854         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5855         math_check_force_underflow_nonneg.
5856         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5857         Likewise.
5858         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
5859         math_check_force_underflow.
5860         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5861         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5862         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5863         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
5864         math_check_force_underflow_nonneg.
5865         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
5866         math_check_force_underflow.
5867         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
5868         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
5869         instead of volatile.
5870         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
5871         math_check_force_underflow.
5872         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5873         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5874         math_check_force_underflow_nonneg.
5875         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
5876         math_check_force_underflow.
5877         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
5878         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5879         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
5880         math_check_force_underflow_nonneg.
5881         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5882         Likewise.
5883         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
5884         math_check_force_underflow.
5885         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5886         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5887         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
5888         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
5889         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5890         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
5891         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
5892         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
5893         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5894         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
5895         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
5896         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
5897         Likewise.
5898         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
5899         math_check_force_underflow_nonneg.
5900         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5901         Likewise.
5902         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
5903         math_check_force_underflow.
5904         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5905         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
5906         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5907         Likewise.
5908         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
5909         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
5910         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
5911         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
5912         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
5913         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
5914         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
5915         instead of volatile.
5916         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
5917         math_check_force_underflow.
5918         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
5919         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
5920         math_check_force_underflow.
5921         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
5922         Likewise.
5923         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5924         Use math_check_force_underflow_nonneg.
5925         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
5926         math_check_force_underflow.
5927         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
5928         Likewise.
5929         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5930         Likewise.
5931         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5932         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5933         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5934         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5935         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
5936         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5937         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
5938         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
5939         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
5940         math_check_force_underflow_nonneg.
5941         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
5942         math_check_force_underflow.
5943         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5944         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
5945         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
5946         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
5947         math_check_force_underflow_nonneg.
5948         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
5949         math_check_force_underflow.
5950         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
5951         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
5952         instead of volatile.
5953         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
5954         math_check_force_underflow.
5956         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
5957         * stdlib/strtod_l.c: Include <math_private.h>.
5958         (overflow_value): Use math_narrow_eval.
5959         (underflow_value): Likewise.
5960         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5961         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5962         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
5963         (__ieee754_gamma_r): Likewise.
5964         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
5965         Likewise.
5966         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5967         Likewise.
5968         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
5969         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
5970         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
5971         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
5972         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5973         (__ieee754_gammaf_r): Likewise.
5974         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5975         Likewise.
5976         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
5977         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
5978         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
5979         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
5980         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
5981         volatile.
5982         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
5983         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
5984         math_narrow_eval.
5985         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5986         Likewise.
5987         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5988         Likewise.
5989         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
5990         Likewise.
5991         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
5992         volatile.
5993         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
5994         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
5995         math_narrow_eval.
5996         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5997         Likewise.
5998         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5999         Likewise.
6001 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
6003         * nptl/Versions: Remove ignored symbols.
6005 2015-09-22  Florian Weimer  <fweimer@redhat.com>
6007         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
6008         * nss/Makefile (tests): Update.
6010 2015-09-22  Florian Weimer  <fweimer@redhat.com>
6012         * nss/bug18287.c: New file.
6013         * nss/Makefile (tests): Add bug18287.
6015 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6017         * mach/Versions (__mach_host_self_): Add symbol.
6019 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6021         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
6022         vm_page_size.
6024 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6026         Really fix sysdeps/i386/fpu/s_scalbn.S build
6028         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
6029         (libc: GLIBC_2_22): Remove unused version set.
6031 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6033         * config.make.in (enable-timezone-tools): New variable.
6034         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
6035         (enable_timezone_tools): Export to generated files.
6036         * configure: Regenerate.
6037         * INSTALL: Regenerate.
6038         * manual/install.texi (--disable-timezone-tools): Document new flag.
6039         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
6040         ifeq ($(enable-timezone-tools),yes) check.
6042 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6044         * timezone/Makefile: Revert previous change.
6046         [BZ #18980]
6047         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
6048         (DEFINE_DBL_MIN): Likewise.
6049         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6050         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6051         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6052         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6053         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
6054         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6055         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6056         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
6057         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
6058         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6059         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6060         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
6061         (flt_min): Replace with use of DEFINE_FLT_MIN.
6062         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6063         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
6064         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6065         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6066         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
6067         (flt_min): Replace with use of DEFINE_FLT_MIN.
6068         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6069         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
6070         (flt_min): Replace with use of DEFINE_FLT_MIN.
6071         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6072         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
6073         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
6074         (__ieee754_hypot): Use DBL_NARROW_EVAL.
6075         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
6076         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
6077         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
6078         (__ieee754_pow): Use DBL_NARROW_EVAL.
6079         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
6080         (__ieee754_powf): Use FLT_NARROW_EVAL.
6081         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
6082         (__ieee754_expf_sse2): Convert double-precision result to single
6083         precision.
6084         * sysdeps/i386/fpu/libm-test-ulps: Update.
6086 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6088         * timezone/Makefile: Ignore unused variable errors due to private.h
6089         (time_t_min) and (time_t_max).
6090         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
6091         Likewise.
6093 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6095         [BZ #18981]
6096         * sysdeps/i386/fpu/i386-math-asm.h: New file.
6097         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
6098         (__ieee754_scalb): Use DBL_NARROW_EVAL.
6099         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
6100         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
6101         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
6102         (__scalbn): Use DBL_NARROW_EVAL.
6103         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
6104         (__scalbnf): Use FLT_NARROW_EVAL.
6106 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6108         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
6109         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
6110         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
6111         * stdio-common/printf_fp.c (___printf_fp):
6112         Use signbit to get the sign. Use isinf macro to allow inlining.
6113         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
6114         * stdio-common/printf_size.c (__printf_size): Likewise.
6116 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6118         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
6120 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6122         [BZ #18980]
6123         * sysdeps/generic/math_private.h: Include <float.h>.
6124         (math_narrow_eval): New macro.
6125         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
6126         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
6127         math_narrow_eval on overflowing return value.
6128         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
6129         Likewise.
6130         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6131         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
6132         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
6133         Likewise.
6134         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6136 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6138         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
6139         * math/Makefile: Remove isinf_ns.c.
6140         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
6141         * math/multc3.c (__multc3): Likewise.
6142         * math/s_casin.c (__casin): Likewise.
6143         * math/s_casinf.c (__casinf): Likewise.
6144         * math/s_casinl.c (__casinl): Likewise.
6145         * math/s_cproj.c (__cproj): Likewise.
6146         * math/s_cprojf.c (__cprojf): Likewise.
6147         * math/s_cprojl.c (__cprofl): Likewise.
6148         * math/s_ctan.c (__ctan): Likewise.
6149         * math/s_ctanf.c (__ctanf): Likewise.
6150         * math/s_ctanh.c (__ctanh): Likewise.
6151         * math/s_ctanhf.c (__ctanhf): Likewise.
6152         * math/s_ctanhl.c (__ctanhl): Likewise.
6153         * math/s_ctanl.c (__ctanl): Likewise.
6154         * math/w_fmod.c (__fmod): Likewise.
6155         * math/w_fmodf.c (__fmodf): Likewise.
6156         * math/w_fmodl.c (_fmodl): Likewise.
6157         * math/w_remainder.c (__remainder): Likewise.
6158         * math/w_remainderf.c (__remainderf): Likewise.
6159         * math/w_remainderl.c (__remainderl): Likewise.
6160         * math/w_scalb.c (__scalb): Likewise.
6161         * math/w_scalbf.c (__scalbf): Likewise.
6162         * math/w_scalbl.c (__scalbl): Likewise.
6163         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
6164         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
6165         with isinf.
6166         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
6167         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
6168         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
6169         __isinf_nsf with isinf.
6170         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
6171         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
6172         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
6173         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
6174         with isinf.
6175         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
6176         __isinf_nsl with isinf.
6177         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
6178         with isinf.
6179         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
6180         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
6181         __isinf_nsl with isinf.
6182         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
6183         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
6184         with isinf.
6186 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6188         * resolv/base64.c (rcsid): Remove unused static.
6189         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
6190         static.  (tqpi1): Likewise.
6191         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
6192         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
6193         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
6194         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
6195         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
6196         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
6197         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
6198         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
6199         Likewise.
6201 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
6203         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
6204         <nptl/pthreadP.h>.
6205         (_longjmp_unwind): Use __libc_ptf_call.
6206         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
6208 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
6210         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
6211         * sysdeps/arm/__longjmp.S: Likewise
6213 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6215         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
6216         Use __builtin_signbit.
6217         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
6218         Use __builtin_signbitf.
6219         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
6220         Use __builtin_signbitl.
6221         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6222         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
6224 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6226         [BZ #15367]
6227         [BZ #17441]
6229         * math/Makefile: Build test-snan.c with -fsignaling-nans.
6230         * math/math.h (fpclassify): Use __builtin_fpclassify when
6231         available.  (signbit): Use __builtin_signbit(f/l).
6232         (isfinite): Use__builtin_isfinite.  (isnormal): Use
6233         __builtin_isnormal.  (isnan): Use __builtin_isnan.
6234         (isinf): Use __builtin_isinf_sign.
6236 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6238         * benchtests/Makefile: Add bench-math-inlines, link with libm.
6239         * benchtests/bench-math-inlines.c: New benchmark.
6240         * benchtests/bench-util.h: New file.
6241         * benchtests/bench-util.c: New file.
6242         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
6244 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
6246         * elf/tst-dlmopen1.c: Define TEST_SO.
6247         (do_test): Use TEST_SO.
6249         * elf/dl-load.c: Include libc-internal.h.
6250         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
6252 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6254         [BZ #17887]
6255         * time/strptime_l.c (__strptime_internal): Make %z accept
6256         [+-]HH:MM time zones.
6258 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6260         [BZ #17886]
6261         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
6262         valid time zone.
6264 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
6266         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
6267         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
6268         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6269         (__ASSUME_FDATASYNC): Delete.
6271 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6273         * conform/linknamespace.pl: Require weak undefined symbols to be
6274         in the standard namespace.
6275         (%strong_syms): Rename to %seen_syms.
6276         (%strong_seen): Rename to %seen_where.
6278 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
6280         [BZ #18970]
6281         * misc/error.c (error): Replace pthread_setcancelstate with
6282         __pthread_setcancelstate.
6283         (error_at_line): Likewise.
6284         * posix/wordexp.c (parse_comm): Likewise.
6285         * stdlib/fmtmsg.c (fmtmsg): Likewise.
6286         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
6287         (__pthread_setcancelstate): This.
6288         (pthread_setcancelstate): Add an alias.
6289         * nptl/nptl-init.c (pthread_functions): Replace
6290         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
6291         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
6292         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
6293         hidden_proto.
6294         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
6295         it with hidden_def.
6296         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
6297         (pthread_setcancelstate): Renamed to ...
6298         (__pthread_setcancelstate): This.
6299         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
6300         __libc_ptf_call with __pthread_setcancelstate.
6302 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6303             Andreas Schwab  <schwab@suse.de>
6305         [BZ #17118]
6306         * math/s_ctan.c (__ctan): Determine sign of zero real part of
6307         result when imaginary part of argument is infinite using sine and
6308         cosine.
6309         * math/s_ctanf.c (__ctanf): Likewise.
6310         * math/s_ctanl.c (__ctanl): Likewise.
6311         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
6312         of result when real part of argument is infinite using sine and
6313         cosine.
6314         * math/s_ctanhf.c (__ctanhf): Likewise.
6315         * math/s_ctanhl.c (__ctanhl): Likewise.
6316         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
6317         (ctanh_test_data): Add more tests of ctanh.
6319 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6321         [BZ #15384]
6322         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
6323         bit-mask as in subtraction.
6324         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
6325         Likewise.
6326         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
6327         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
6328         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
6330         [BZ #18951]
6331         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
6332         underflow exception for small results.
6333         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6334         Likewise.
6335         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6336         Likewise.
6337         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6338         Likewise.
6339         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6340         Likewise.
6341         * math/auto-libm-test-in: Add more tests of tgamma.
6342         * math/auto-libm-test-out: Regenerated.
6344 2015-09-17  Andreas Schwab  <schwab@suse.de>
6346         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
6348 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6350         [BZ #18977]
6351         * math/bits/mathcalls.h
6352         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
6353         not declare.
6354         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
6355         Likewise.
6356         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
6357         Likewise.
6358         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
6359         Likewise.
6360         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
6361         Likewise.
6362         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
6363         Likewise.
6364         * conform/data/math.h-data
6365         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
6366         function.
6367         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
6368         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
6369         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
6370         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
6371         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
6372         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
6373         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
6374         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
6375         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
6376         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
6377         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
6379         [BZ #6803]
6380         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
6381         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
6382         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
6383         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
6384         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
6385         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
6386         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
6387         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
6388         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6389         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
6390         Likewise.
6391         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6392         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
6393         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
6394         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
6395         long_double_symbol calls.
6396         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
6397         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
6398         strong alias of __ldexpl.
6399         (scalbnl): Define using long_double_symbol.
6400         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
6401         Remove alias.
6402         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
6403         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
6404         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
6405         (scalbln_test_data): Add more errno expectations.
6407 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
6409         Cache the host port like we cache the task port.  This way we do not
6410         need to call the kernel just to get the port.  Furthermore, we no
6411         longer increase the reference count on every invocation of
6412         `mach_host_self'.
6414         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
6415         Protect declarations against the macro expansion.
6416         * mach/mach_init.c (__mach_host_self_): New variable.
6417         (mach_init): Initialize `__mach_host_self_'.
6418         * mach/mach_init.h (__mach_host_self_): New declaration.
6419         (__mach_host_self, mach_host_self): New macros.
6420         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
6421         Release reference.
6423 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6425         [BZ #4404]
6426         * po/de.po: Update from Translation Project.
6428         [BZ #16415]
6429         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
6430         (__expm1l): Remove code to handle positive infinity and overflow.
6431         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
6432         variable.
6433         (__expm1l): Remove code to handle positive infinity and overflow.
6435 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
6436             Paul Pluzhnikov  <ppluzhnikov@google.com>
6438         [BZ #18872]
6439         * stdio-common/Makefile (tst-printf-bz18872): New test.
6440         (tst-printf-bz18872-mem.out): Likewise.
6441         * stdio-common/tst-printf-bz18872.sh: Generate new test.
6442         * stdio-common/vfprintf.c: Fix memory leaks.
6444 2015-09-16  Andreas Schwab  <schwab@suse.de>
6446         [BZ #17244]
6447         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
6448         Remove extra va_start/va_end calls.
6450         [BZ #17243]
6451         * posix/execl.c (execl): Add missing va_end.
6452         * posix/execle.c (execle): Likewise.
6453         * posix/execlp.c (execlp): Likewise.
6455 2015-09-15  Roland McGrath  <roland@hack.frob.com>
6457         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
6458         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
6460 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
6462         [BZ #18967]
6463         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
6464         undefine around includes of <bits/mathcalls.h>.
6465         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
6466         not declare function.
6467         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
6468         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
6469         (scalb): Likewise.
6470         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
6471         not define macro.
6472         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
6473         variable.
6474         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6475         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6476         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6478         [BZ #18857]
6479         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
6480         return non-finite argument without doing ordered comparisons on
6481         it.
6483         [BZ #16296]
6484         * math/fenv.h (fegetround): Use __attribute_pure__.
6485         * include/fenv.h (__fegetround): Likewise.
6487         [BZ #18595]
6488         * math/s_ctan.c (__ctan): Force underflow exception for results
6489         whose real or imaginary part has small absolute value.
6490         * math/s_ctanf.c (__ctanf): Likewise.
6491         * math/s_ctanh.c (__ctanh): Likewise.
6492         * math/s_ctanhf.c (__ctanhf): Likewise.
6493         * math/s_ctanhl.c (__ctanhl): Likewise.
6494         * math/s_ctanl.c (__ctanl): Likewise.
6495         * math/auto-libm-test-in: Do not allow missing underflow for ctan
6496         and ctanh.  Add more tests of ctan and ctanh.
6498         [BZ #15918]
6499         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
6500         handling of cases where one argument is an infinity.
6502         [BZ #18875]
6503         [BZ #18966]
6504         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
6505         (MO): New macro.
6506         (__ieee754_exp10): For small results, force underflow exception
6507         and remove excess range and precision from return value.
6508         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
6509         (MO): New macro.
6510         (__ieee754_exp10f): For small results, force underflow exception
6511         and remove excess range and precision from return value.
6512         * math/auto-libm-test-in: Add more tests of exp10.
6513         * math/auto-libm-test-out: Regenerated.
6515 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
6517         [BZ #18875]
6518         [BZ #18961]
6519         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
6520         (MO): New macro.
6521         (__ieee754_exp): For small results, force underflow exception and
6522         remove excess range and precision from return value.
6523         (__exp_finite): Likewise.
6524         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
6525         (MO): New macro.
6526         (__ieee754_expf): For small results, force underflow exception and
6527         remove excess range and precision from return value.
6528         (__expf_finite): Likewise.
6529         * math/auto-libm-test-in: Add more tests of exp.
6530         * math/auto-libm-test-out: Regenerated.
6532         [BZ #16521]
6533         [BZ #18875]
6534         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
6535         small results.
6536         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
6537         (MO): New macro.
6538         (__ieee754_exp2): For small results, force underflow exception and
6539         remove excess range and precision from return value.
6540         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
6541         (MO): New macro.
6542         (__ieee754_exp2f): For small results, force underflow exception
6543         and remove excess range and precision from return value.
6544         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
6545         (MO): New macro.
6546         (__ieee754_exp2l): Force underflow exception for small results.
6547         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6548         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6549         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
6550         (MO): New macro.
6551         (__ieee754_exp2l): Force underflow exception for small results.
6552         * math/auto-libm-test-in: Add more tests or exp2.
6553         * math/auto-libm-test-out: Regenerated.
6555 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
6557         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
6559         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
6560         /dev/null.
6562 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6564         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6565         io fs process)): Drop spurious backslash.
6567 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6569         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
6570         Use sysinfo system call instead of parsing /proc/meminfo.
6571         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
6572         Likewise.
6574 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
6576         [BZ #16985]
6577         * programs/localedef.c (main): Display argv[remaining] when
6578         output_path is NULL.
6580 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
6582         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6583         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
6584         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
6585         tanh.
6586         * math/auto-libm-test-out: Regenerated.
6587         * sysdeps/i386/fpu/libm-test-ulps: Update.
6588         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6589         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6592 2015-09-11  Roland McGrath  <roland@hack.frob.com>
6594         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
6595         Use 'override' keyword to freeze the value here, preventing
6596         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
6598 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
6600         [BZ #14912]
6601         * sysdeps/aarch64/bits/atomic.h: Move to ...
6602         * sysdeps/aarch64/atomic-machine.h: ...here.
6603         (_AARCH64_BITS_ATOMIC_H): Rename macro to
6604         _AARCH64_ATOMIC_MACHINE_H.
6605         * sysdeps/alpha/bits/atomic.h: Move to ...
6606         * sysdeps/alpha/atomic-machine.h: ...here.
6607         * sysdeps/arm/bits/atomic.h: Move to ...
6608         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
6609         * bits/atomic.h: Move to ...
6610         * sysdeps/generic/atomic-machine.h: ...here.
6611         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6612         * sysdeps/i386/bits/atomic.h: Move to ...
6613         * sysdeps/i386/atomic-machine.h: ...here.
6614         * sysdeps/ia64/bits/atomic.h: Move to ...
6615         * sysdeps/ia64/atomic-machine.h: ...here.
6616         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
6617         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
6618         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6619         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
6620         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
6621         * sysdeps/microblaze/bits/atomic.h: Move to ...
6622         * sysdeps/microblaze/atomic-machine.h: ...here.
6623         * sysdeps/mips/bits/atomic.h: Move to ...
6624         * sysdeps/mips/atomic-machine.h: ...here.
6625         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
6626         * sysdeps/powerpc/bits/atomic.h: Move to ...
6627         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
6628         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
6629         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
6630         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
6631         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
6632         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
6633         <atomic-machine.h> instead of <bits/atomic.h>.
6634         * sysdeps/s390/bits/atomic.h: Move to ...
6635         * sysdeps/s390/atomic-machine.h: ...here.
6636         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
6637         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
6638         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6639         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
6640         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
6641         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
6642         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
6643         * sysdeps/tile/bits/atomic.h: Move to ...
6644         * sysdeps/tile/atomic-machine.h: ...here.
6645         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
6646         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
6647         <sysdeps/tile/atomic-machine.h> instead of
6648         <sysdeps/tile/bits/atomic.h>.
6649         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6650         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
6651         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
6652         <sysdeps/tile/atomic-machine.h> instead of
6653         <sysdeps/tile/bits/atomic.h>.
6654         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6655         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
6656         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
6657         <sysdeps/arm/atomic-machine.h> instead of
6658         <sysdeps/arm/bits/atomic.h>.
6659         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
6660         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
6661         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6662         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
6663         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
6664         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6665         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
6666         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
6667         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
6668         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
6669         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
6670         * sysdeps/x86_64/bits/atomic.h: Move to ...
6671         * sysdeps/x86_64/atomic-machine.h: ...here.
6672         * include/atomic.h: Include <atomic-machine.h> instead of
6673         <bits/atomic.h>.
6675         * sysdeps/mips/mips32/libm-test-ulps: Update.
6676         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6678         [BZ #18952]
6679         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
6680         not convert non-integer negative arguments to int to determine the
6681         value of signgam.
6682         * math/auto-libm-test-in: Add more tests of lgamma.
6683         * math/auto-libm-test-out: Regenerated.
6685         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
6686         cosh, csqrt, erfc, expm1 and lgamma.
6687         * math/auto-libm-test-out: Regenerated.
6688         * sysdeps/i386/fpu/libm-test-ulps: Update.
6689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6691 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
6693         [BZ #2542]
6694         [BZ #2543]
6695         [BZ #2558]
6696         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
6697         __lgamma_neg for arguments from -28.0 to -2.0.
6698         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
6699         __lgamma_negf for arguments from -15.0 to -2.0.
6700         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6701         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
6702         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
6703         Call __lgamma_negl for arguments from -33.0 to -2.0.
6704         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
6705         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6706         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6707         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
6708         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6709         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6710         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6711         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
6712         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6713         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
6714         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
6715         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
6716         (__lgamma_neg): Likewise.
6717         (__lgamma_negl): Likewise.
6718         (__lgamma_product): Likewise.
6719         (__lgamma_productl): Likewise.
6720         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
6721         * math/auto-libm-test-in: Add more tests of lgamma.
6722         * math/auto-libm-test-out: Regenerated.
6723         * sysdeps/i386/fpu/libm-test-ulps: Update.
6724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6726 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
6728         [BZ #18675]
6729         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
6731 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
6733         [BZ #14912]
6734         * bits/libc-lock.h: Move to ...
6735         * sysdeps/generic/libc-lock.h: ...here.
6736         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6737         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
6738         * sysdeps/mach/hurd/libc-lock.h: ...here.
6739         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6740         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
6741         * sysdeps/mach/bits/libc-lock.h: Move to ...
6742         * sysdeps/mach/libc-lock.h: ...here.
6743         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6744         * sysdeps/nptl/bits/libc-lock.h: Move to ...
6745         * sysdeps/nptl/libc-lock.h: ...here.
6746         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6747         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
6748         * sysdeps/nptl/libc-lockP.h: ...here.
6749         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
6750         * crypt/crypt_util.c: Include <libc-lock.h> instead of
6751         <bits/libc-lock.h>.
6752         * dirent/scandir-tail.c: Likewise.
6753         * dlfcn/dlerror.c: Likewise.
6754         * elf/dl-close.c: Likewise.
6755         * elf/dl-iteratephdr.c: Likewise.
6756         * elf/dl-lookup.c: Likewise.
6757         * elf/dl-open.c: Likewise.
6758         * elf/dl-support.c: Likewise.
6759         * elf/dl-writev.h: Likewise.
6760         * elf/rtld.c: Likewise.
6761         * grp/fgetgrent.c: Likewise.
6762         * gshadow/fgetsgent.c: Likewise.
6763         * gshadow/sgetsgent.c: Likewise.
6764         * iconv/gconv_conf.c: Likewise.
6765         * iconv/gconv_db.c: Likewise.
6766         * iconv/gconv_dl.c: Likewise.
6767         * iconv/gconv_int.h: Likewise.
6768         * iconv/gconv_trans.c: Likewise.
6769         * include/link.h: Likewise.
6770         * inet/getnameinfo.c: Likewise.
6771         * inet/getnetgrent.c: Likewise.
6772         * inet/getnetgrent_r.c: Likewise.
6773         * intl/bindtextdom.c: Likewise.
6774         * intl/dcigettext.c: Likewise.
6775         * intl/finddomain.c: Likewise.
6776         * intl/gettextP.h: Likewise.
6777         * intl/loadmsgcat.c: Likewise.
6778         * intl/localealias.c: Likewise.
6779         * intl/textdomain.c: Likewise.
6780         * libidn/idn-stub.c: Likewise.
6781         * libio/libioP.h: Likewise.
6782         * locale/duplocale.c: Likewise.
6783         * locale/freelocale.c: Likewise.
6784         * locale/newlocale.c: Likewise.
6785         * locale/setlocale.c: Likewise.
6786         * login/getutent_r.c: Likewise.
6787         * login/getutid_r.c: Likewise.
6788         * login/getutline_r.c: Likewise.
6789         * login/utmp-private.h: Likewise.
6790         * login/utmpname.c: Likewise.
6791         * malloc/mtrace.c: Likewise.
6792         * misc/efgcvt.c: Likewise.
6793         * misc/error.c: Likewise.
6794         * misc/fstab.c: Likewise.
6795         * misc/getpass.c: Likewise.
6796         * misc/mntent.c: Likewise.
6797         * misc/syslog.c: Likewise.
6798         * nis/nis_call.c: Likewise.
6799         * nis/nis_callback.c: Likewise.
6800         * nis/nss-default.c: Likewise.
6801         * nis/nss_compat/compat-grp.c: Likewise.
6802         * nis/nss_compat/compat-initgroups.c: Likewise.
6803         * nis/nss_compat/compat-pwd.c: Likewise.
6804         * nis/nss_compat/compat-spwd.c: Likewise.
6805         * nis/nss_nis/nis-alias.c: Likewise.
6806         * nis/nss_nis/nis-ethers.c: Likewise.
6807         * nis/nss_nis/nis-grp.c: Likewise.
6808         * nis/nss_nis/nis-hosts.c: Likewise.
6809         * nis/nss_nis/nis-network.c: Likewise.
6810         * nis/nss_nis/nis-proto.c: Likewise.
6811         * nis/nss_nis/nis-pwd.c: Likewise.
6812         * nis/nss_nis/nis-rpc.c: Likewise.
6813         * nis/nss_nis/nis-service.c: Likewise.
6814         * nis/nss_nis/nis-spwd.c: Likewise.
6815         * nis/nss_nisplus/nisplus-alias.c: Likewise.
6816         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6817         * nis/nss_nisplus/nisplus-grp.c: Likewise.
6818         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6819         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
6820         * nis/nss_nisplus/nisplus-network.c: Likewise.
6821         * nis/nss_nisplus/nisplus-proto.c: Likewise.
6822         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6823         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6824         * nis/nss_nisplus/nisplus-service.c: Likewise.
6825         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6826         * nis/ypclnt.c: Likewise.
6827         * nptl/libc_pthread_init.c: Likewise.
6828         * nss/getXXbyYY.c: Likewise.
6829         * nss/getXXent.c: Likewise.
6830         * nss/getXXent_r.c: Likewise.
6831         * nss/nss_db/db-XXX.c: Likewise.
6832         * nss/nss_db/db-netgrp.c: Likewise.
6833         * nss/nss_db/nss_db.h: Likewise.
6834         * nss/nss_files/files-XXX.c: Likewise.
6835         * nss/nss_files/files-alias.c: Likewise.
6836         * nss/nsswitch.c: Likewise.
6837         * posix/regex_internal.h: Likewise.
6838         * posix/wordexp.c: Likewise.
6839         * pwd/fgetpwent.c: Likewise.
6840         * resolv/res_hconf.c: Likewise.
6841         * resolv/res_libc.c: Likewise.
6842         * shadow/fgetspent.c: Likewise.
6843         * shadow/lckpwdf.c: Likewise.
6844         * shadow/sgetspent.c: Likewise.
6845         * socket/opensock.c: Likewise.
6846         * stdio-common/reg-modifier.c: Likewise.
6847         * stdio-common/reg-printf.c: Likewise.
6848         * stdio-common/reg-type.c: Likewise.
6849         * stdio-common/vfprintf.c: Likewise.
6850         * stdio-common/vfscanf.c: Likewise.
6851         * stdlib/abort.c: Likewise.
6852         * stdlib/cxa_atexit.c: Likewise.
6853         * stdlib/fmtmsg.c: Likewise.
6854         * stdlib/random.c: Likewise.
6855         * stdlib/setenv.c: Likewise.
6856         * string/strsignal.c: Likewise.
6857         * sunrpc/auth_none.c: Likewise.
6858         * sunrpc/bindrsvprt.c: Likewise.
6859         * sunrpc/create_xid.c: Likewise.
6860         * sunrpc/key_call.c: Likewise.
6861         * sunrpc/rpc_thread.c: Likewise.
6862         * sysdeps/arm/backtrace.c: Likewise.
6863         * sysdeps/generic/ldsodefs.h: Likewise.
6864         * sysdeps/generic/stdio-lock.h: Likewise.
6865         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
6866         * sysdeps/i386/backtrace.c: Likewise.
6867         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6868         * sysdeps/m68k/backtrace.c: Likewise.
6869         * sysdeps/mach/hurd/cthreads.c: Likewise.
6870         * sysdeps/mach/hurd/dirstream.h: Likewise.
6871         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
6872         * sysdeps/nptl/malloc-machine.h: Likewise.
6873         * sysdeps/nptl/stdio-lock.h: Likewise.
6874         * sysdeps/posix/dirstream.h: Likewise.
6875         * sysdeps/posix/getaddrinfo.c: Likewise.
6876         * sysdeps/posix/system.c: Likewise.
6877         * sysdeps/pthread/aio_suspend.c: Likewise.
6878         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6879         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6880         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6881         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6882         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
6883         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
6884         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
6885         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6886         * sysdeps/unix/sysv/linux/system.c: Likewise.
6887         * sysdeps/x86_64/backtrace.c: Likewise.
6888         * time/alt_digit.c: Likewise.
6889         * time/era.c: Likewise.
6890         * time/tzset.c: Likewise.
6891         * wcsmbs/wcsmbsload.c: Likewise.
6892         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
6893         instead of <bits/libc-lock.h> in comment.
6895 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
6897         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
6898         Only use .set mips2 if the current ISA is below mips2.
6899         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
6900         Likewise.
6901         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
6902         mips32r2 if the current ISA is below mips32r2.
6903         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
6904         (TLS_IE): Updated to use the TLD_RDHWR macro.
6905         (TLS_LE): Likewise.
6906         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
6907         __ASSEMBLER__ condition.
6909 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6911         Fix parallel build of before-compile targets.
6913         * sysdeps/mach/Makefile ($(patsubst
6914         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
6915         mach-before-compile target.
6916         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6917         io fs process)): Move rule to dedicated hurd-before-compile target.
6919 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6921         Fix rules generating headers in hurd/ and mach/ when initial make call
6922         has subdir= explicitly set.
6924         * sysdeps/mach/Makefile ($(patsubst
6925         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
6926         calling $(MAKE).
6927         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6928         io fs process)): Force subdir to hurd when calling $(MAKE).
6929         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
6930         subdir to mach when calling $(MAKE).
6932 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
6934         Check sysheaders when looking for Mach and Hurd headers
6936         * sysdeps/mach/configure.ac: Add sysheaders check.
6937         * sysdeps/mach/configure: Regenerate.
6938         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
6939         * sysdeps/mach/hurd/configure: Regenerate.
6941 2015-09-04  Roland McGrath  <roland@hack.frob.com>
6943         [BZ #18921]
6944         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
6945         Fix inverted sense of test of 'o_directory_works' value.
6946         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
6947         Bernhard Voelker <mail@bernhard-voelker.de>.
6949 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
6951         [BZ #14912]
6952         * bits/linkmap.h: Move to ...
6953         * sysdeps/generic/linkmap.h: ...here.
6954         * sysdeps/aarch64/bits/linkmap.h: Move to ...
6955         * sysdeps/aarch64/linkmap.h: ...here.
6956         * sysdeps/arm/bits/linkmap.h: Move to ...
6957         * sysdeps/arm/linkmap.h: ...here.
6958         * sysdeps/hppa/bits/linkmap.h: Move to ...
6959         * sysdeps/hppa/linkmap.h: ...here.
6960         * sysdeps/ia64/bits/linkmap.h: Move to ...
6961         * sysdeps/ia64/linkmap.h: ...here.
6962         * sysdeps/mips/bits/linkmap.h: Move to ...
6963         * sysdeps/mips/linkmap.h: ...here.
6964         * sysdeps/s390/bits/linkmap.h: Move to ...
6965         * sysdeps/s390/linkmap.h: ...here.
6966         * sysdeps/sh/bits/linkmap.h: Move to ...
6967         * sysdeps/sh/linkmap.h: ...here.
6968         * sysdeps/x86/bits/linkmap.h: Move to ...
6969         * sysdeps/x86/linkmap.h: ...here.
6970         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
6972 2015-09-04  Andreas Schwab  <schwab@suse.de>
6974         [BZ #18635]
6975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
6976         (__makecontext): Terminate FDE before return label.
6977         (__novec_makecontext): Likewise.
6979 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6981         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
6982         first member of struct sv in syscall macro.
6984 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
6986         [BZ #14912]
6987         * bits/stdio-lock.h: Move to ...
6988         * sysdeps/generic/stdio-lock.h: ...here.
6989         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
6990         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
6991         * sysdeps/nptl/stdio-lock.h: ...here.
6992         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
6993         * include/libio.h: Include <stdio-lock.h> instead of
6994         <bits/stdio-lock.h>.
6995         * sysdeps/nptl/fork.c: Likewise.
6996         * sysdeps/pthread/flockfile.c: Likewise.
6997         * sysdeps/pthread/ftrylockfile.c: Likewise.
6998         * sysdeps/pthread/funlockfile.c: Likewise.
7000         [BZ #14912]
7001         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
7002         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
7003         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
7004         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
7005         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
7006         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7007         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
7009 2015-09-03  Roland McGrath  <roland@hack.frob.com>
7011         * elf/Makefile (test-xfail-tst-protected1a): New variable.
7012         (test-xfail-tst-protected1b): New variable.
7014 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
7016         [BZ #14912]
7017         * bits/libc-tsd.h: Move to ...
7018         * sysdeps/generic/libc-tsd.h: ...here.
7019         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
7020         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
7021         * sysdeps/mach/hurd/libc-tsd.h: ...here.
7022         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
7023         * include/ctype.h: Include <libc-tsd.h> instead of
7024         <bits/libc-tsd.h>.
7025         * include/rpc/rpc.h: Likewise.
7026         * locale/localeinfo.h: Likewise.
7027         * sunrpc/rpc_thread.c: Likewise.
7028         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7029         * sysdeps/nptl/malloc-machine.h: Likewise.
7031         * Makefile (headers): Remove bits/libc-lock.h.
7032         * libio/Makefile (headers): Remove bits/stdio-lock.h.
7034         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
7035         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
7036         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
7037         <bits/stdio-lock.h>.
7038         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
7039         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
7041 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7043         [BZ #18757]
7044         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
7045         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
7046         BZ #18757.
7048 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7050         * malloc/mtrace.pl: Filter out NULL entries.
7052 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
7054         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
7055         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
7056         macro.
7058         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
7059         (TCP_CC_INFO): Likewise.
7060         (TCP_SAVE_SYN): Likewise.
7061         (TCP_SAVED_SYN): Likewise.
7063 2015-08-31  Brett Neumeier <brett@neumeier.us>
7065         [BZ #18870]
7066         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
7068 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
7070         [BZ #18873]
7071         Fix broken overflow check in posix_fallocate
7072         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
7073         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
7074         Fix parenthesization typo.
7076 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
7078         [BZ #18887]
7079         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
7080         tst-mntent-blank-passno.
7081         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
7082         * misc/tst-mntent-blank-corrupt.c: New test.
7083         * misc/tst-mntent-blank-passno.c: New test ripped from ...
7084         * misc/tst-mntent.c (do_test): ... here.
7086 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
7088         [BZ #4404]
7089         * po/de.po: Fix SIGALRM typo.
7091 2015-08-28  James Perkins  <james@loowit.net>
7093         * time/tst-strptime2.c (tests): Replace short list of test
7094         strings for strptime %z specifier with code which exhaustively
7095         tests every combination of sign and 0 to 5 digits. Tests for
7096         rejection of invalid strings.
7098 2015-08-28  James Perkins  <james@loowit.net>
7100         [BZ #16141]
7101         * time/strptime_l.c (__strptime_internal): Fix %z minutes
7102         calculation, removing incorrect decimal time rounding, so that
7103         all minute values result in a valid seconds value.
7104         * time/strptime_l.c (__strptime_internal): Extend %z time zone
7105         offset range limits to UTC-99:59 through UTC+99:59 to parse
7106         current and historical use cases.
7107         * time/tst-strptime2.c (tests): Modify and add tests for the
7108         strptime %z input field descriptor, specifically conversion of
7109         minutes to seconds and validating an offset range of -9959 to
7110         +9959.
7112 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7113             Dmitry V. Levin  <ldv@altlinux.org>
7115         [BZ #18877]
7116         * posix/Makefile (tests): Add tst-mmap-offset.
7117         * posix/tst-mmap.c: New file.
7118         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
7119         offset calculation for negative values.
7121 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7123         * sysdeps/i386/init-arch.h: New file.
7124         * sysdeps/i386/i586/init-arch.h: Likewise.
7125         * sysdeps/i386/i686/init-arch.h: Likewise.
7126         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
7127         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
7128         * sysdeps/x86/cpu-features.h (bit_I586): New.
7129         (bit_I686): Likewise.
7130         (bit_CX8): Likewise.
7131         (bit_CMOV): Likewise.
7132         (index_CX8): Likewise.
7133         (index_CMOV): Likewise.
7134         (index_I586): Likewise.
7135         (index_I686): Likewise.
7136         (reg_CX8): Likewise.
7137         (reg_CMOV): Likewise.
7138         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
7139         available at compile-time.
7140         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
7141         available at compile-time.
7142         * sysdeps/x86/init-arch.h (USE_I586): New macro.
7143         (USE_I686): Likewise.
7145 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7147         * sysdeps/i386/bcopy.S: New file.
7148         * sysdeps/i386/bzero.S: Likewise.
7149         * sysdeps/i386/memcpy.S: Likewise.
7150         * sysdeps/i386/memmove.S: Likewise.
7151         * sysdeps/i386/mempcpy.S: Likewise.
7152         * sysdeps/i386/memset.S: Likewise.
7153         * sysdeps/i386/bzero.c: Removed.
7154         * sysdeps/i386/memset.c: Likewise.
7155         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
7156         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
7157         * sysdeps/i386/i586/memset_chk.S: Likewise.
7158         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
7159         * sysdeps/i386/memcpy_chk.S: Here.
7160         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
7161         * sysdeps/i386/memmove_chk.S: Here.
7162         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
7163         * sysdeps/i386/mempcpy_chk.S: Likewise.
7164         * sysdeps/i386/i686/memset_chk.S: Moved to ...
7165         * sysdeps/i386/memset_chk.S: Likewise.
7167 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
7169         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
7170         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
7171         file, move DIAG_POP_NEEDS_COMMENT to end of file.
7172         * soft-fp/fmadf4.c: Ditto.
7173         * soft-fp/fmatf4.c: Ditto.
7175 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7177         * sysdeps/i386/i586/Implies: Removed.
7178         * sysdeps/i386/i686/Implies: Likewise.
7180 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7182         * sysdeps/i386/i486/strlen.S: Moved to ...
7183         * sysdeps/i386/strlen.S: Here.
7185 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7187         * sysdeps/i386/i486/strcat.S: Moved to ...
7188         * sysdeps/i386/strcat.S: Here.
7190 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7192         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
7193         * sysdeps/i386/pthread_spin_trylock.S: Here.
7194         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
7195         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
7197 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7199         * sysdeps/i386/i486/string-inlines.c: Moved to ...
7200         * sysdeps/i386/string-inlines.c: Here.
7202 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7204         * sysdeps/i386/i486/htonl.S: Moved ...
7205         * sysdeps/i386/htonl.S: here.
7207 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7209         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
7210         * sysdeps/i386/bits/atomic.h: Here.
7212 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7214         * sysdeps/i386/i486/Versions: Removed.
7216 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7218         [BZ #2898]
7219         * misc/mktemp.c: Add mkdtemp to the link_warning message.
7220         Based on patch by Aurelien Jarno.
7222 2015-08-26  Stan Shebs  <stanshebs@google.com>
7224         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
7225         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7227 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7229         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
7230         * sysdeps/powerpc/dl-procinfo.c:
7231         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
7232         feature so it shows when LD_SHOW_AUXV=1.
7234 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7236         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7237         (__arch_compare_and_exchange_val_32_acq): Remove and use common
7238         definition.  ISA 2.07B no longer requires full sync.
7240 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
7242         [BZ #18863]
7243         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
7244         (si_call_addr): Define.
7245         (si_syscall): Define.
7246         (si_arch): Define.
7248 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
7250         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
7251         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
7252         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
7253         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7254         (__memset_zero_constant_len_parameter): New.
7255         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
7256         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7257         (__memset_zero_constant_len_parameter): Don't define if
7258         __memset_chk or USE_AS_BZERO are defined.
7260         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
7261         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
7262         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
7264         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
7265         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
7266         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
7267         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
7268         comments.
7269         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
7270         -mno-mmx for $(all-rtld-routines).
7271         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
7272         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
7273         i386.
7275 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7277         * sysdeps/generic/unwind.h
7278         (_Unwind_Word): Use __mode__(__unwind_word__)
7279         instead of __mode__(__word__).
7280         (_Unwind_Sword): Likewise.
7282         * sysdeps/s390/s390-64/utf8-utf16-z9.c
7283         (MAX_NEEDED_INPUT): New define.
7284         (MAX_NEEDED_OUTPUT): New define.
7286         * NEWS: New item for IBM z13 string optimizations.
7288         * sysdeps/s390/multiarch/memrchr-c.c: New File.
7289         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
7290         * sysdeps/s390/multiarch/memrchr.c: Likewise.
7291         * sysdeps/s390/multiarch/Makefile
7292         (sysdep_routines): Add memrchr functions.
7293         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7294         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
7296         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
7297         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
7298         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
7299         * sysdeps/s390/multiarch/Makefile
7300         (sysdep_routines): Add wmemcmp functions.
7301         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7302         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
7303         * benchtests/bench-wmemcmp.c: New File.
7304         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
7306         * sysdeps/s390/multiarch/wmemset-c.c: New File.
7307         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
7308         * sysdeps/s390/multiarch/wmemset.c: Likewise.
7309         * sysdeps/s390/multiarch/Makefile
7310         (sysdep_routines): Add wmemset functions.
7311         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7312         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
7313         * wcsmbs/wmemset.c: Use WMEMSET if defined.
7314         * string/test-memset.c: Add wmemset support.
7315         * wcsmbs/test-wmemset.c: New File.
7316         * wcsmbs/Makefile (strop-tests): Add wmemset.
7317         * benchtests/bench-memset.c: Add wmemset support.
7318         * benchtests/bench-wmemset.c: New File.
7319         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
7321         * sysdeps/s390/multiarch/memccpy-c.c: New File.
7322         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
7323         * sysdeps/s390/multiarch/memccpy.c: Likewise.
7324         * sysdeps/s390/multiarch/Makefile
7325         (sysdep_routines): Add memccpy functions.
7326         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7327         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
7328         * string/memccpy.c: Use MEMCCPY if defined.
7330         * sysdeps/s390/multiarch/memchr-vx.S: New File.
7331         * sysdeps/s390/multiarch/memchr.c: Likewise.
7332         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
7333         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
7334         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
7335         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
7336         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
7337         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
7338         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
7339         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
7340         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
7341         and rawmemchr functions.
7342         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7343         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
7344         and wmemchr.
7345         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
7346         * string/test-memchr.c: Add wmemchr support.
7347         * wcsmbs/test-wmemchr.c: New File.
7348         * wcsmbs/Makefile (strop-tests): Add wmemchr.
7349         * benchtests/bench-memchr.c: Add wmemchr support.
7350         * benchtests/bench-wmemchr.c: New File.
7351         * benchtests/Makefile (wcsmbs-bench): wmemchr.
7353         * sysdeps/s390/multiarch/strcspn-c.c: New File.
7354         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
7355         * sysdeps/s390/multiarch/strcspn.c: Likewise.
7356         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
7357         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
7358         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
7359         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
7360         wcscspn functions.
7361         * sysdeps/s390/multiarch/ifunc-impl-list.c
7362         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
7363         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
7364         * string/test-strcspn.c: Add wcscspn support.
7365         * wcsmbs/test-wcscspn.c: New File.
7366         * wcsmbs/Makefile (strop-tests): Add wcscspn.
7367         * benchtests/bench-strcspn.c: Add wcscspn support.
7368         * benchtests/bench-wcscspn.c: New File.
7369         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
7371         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
7372         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
7373         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
7374         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
7375         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
7376         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
7377         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
7378         wcspbrk functions.
7379         * sysdeps/s390/multiarch/ifunc-impl-list.c
7380         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
7381         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
7382         * string/test-strpbrk.c: Add wcspbrk support.
7383         * wcsmbs/test-wcspbrk.c: New File.
7384         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
7385         * benchtests/bench-strpbrk.c: Add wcspbrk support.
7386         * benchtests/bench-wcspbrk.c: New File.
7387         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
7389         * sysdeps/s390/multiarch/strspn-c.c: New File.
7390         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
7391         * sysdeps/s390/multiarch/strspn.c: Likewise.
7392         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
7393         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
7394         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
7395         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
7396         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
7397         wcsspn functions.
7398         * sysdeps/s390/multiarch/ifunc-impl-list.c
7399         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
7400         * string/test-strspn.c: Add wcsspn support.
7401         * wcsmbs/test-wcsspn.c: New File.
7402         * wcsmbs/Makefile (strop-tests): Add wcsspn.
7403         * benchtests/bench-strspn.c: Add wcsspn support.
7404         * benchtests/bench-wcsspn.c: New File.
7405         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
7407         * sysdeps/s390/multiarch/strrchr-c.c: New File.
7408         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
7409         * sysdeps/s390/multiarch/strrchr.c: Likewise.
7410         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
7411         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
7412         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
7413         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
7414         wcsrchr functions.
7415         * sysdeps/s390/multiarch/ifunc-impl-list.c
7416         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
7417         * benchtests/bench-wcsrchr.c: New File.
7418         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
7420         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
7421         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
7422         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
7423         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
7424         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
7425         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
7426         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
7427         wcschrnul functions.
7428         * sysdeps/s390/multiarch/ifunc-impl-list.c
7429         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
7430         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
7431         * string/test-strchr.c: Add wcschrnul support.
7432         * wcsmbs/test-wcschrnul.c: New File.
7433         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
7434         * benchtests/bench-strchr.c: Add wcschrnul support.
7435         * benchtests/bench-wcschrnul.c: New File.
7436         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
7438         * sysdeps/s390/multiarch/strchr-c.c: New File.
7439         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
7440         * sysdeps/s390/multiarch/strchr.c: Likewise.
7441         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
7442         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
7443         * sysdeps/s390/multiarch/wcschr.c: Likewise.
7444         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
7445         wcschr functions.
7446         * sysdeps/s390/multiarch/ifunc-impl-list.c
7447         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
7448         * string/strchr.c (STRCHR): Define and use macro.
7449         * benchtests/bench-wcschr.c: New File.
7450         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
7452         * sysdeps/s390/multiarch/strncmp-c.c: New File.
7453         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
7454         * sysdeps/s390/multiarch/strncmp.c: Likewise.
7455         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
7456         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
7457         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
7458         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
7459         wcsncmp functions.
7460         * sysdeps/s390/multiarch/ifunc-impl-list.c
7461         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
7462         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
7463         * benchtests/bench-strncmp.c: Add wcsncmp support.
7464         * benchtests/bench-wcsncmp.c: New File.
7465         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
7467         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
7468         * sysdeps/s390/multiarch/strcmp.c: Likewise.
7469         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
7470         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
7471         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
7472         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
7473         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7474         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
7475         wcscmp functions.
7476         * sysdeps/s390/multiarch/ifunc-impl-list.c
7477         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
7478         * string/strcmp.c (STRCMP): Define and use macro.
7479         * benchtests/bench-wcscmp.c: New File.
7480         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
7481         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
7482         instead of _HAVE_STRING_ARCH_memchr.
7484         * sysdeps/s390/multiarch/strncat-c.c: New File.
7485         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
7486         * sysdeps/s390/multiarch/strncat.c: Likewise.
7487         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
7488         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
7489         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
7490         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
7491         wcsncat functions.
7492         * sysdeps/s390/multiarch/ifunc-impl-list.c
7493         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
7494         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
7495         * string/test-strncat.c: Add wcsncat support.
7496         * wcsmbs/test-wcsncat.c: New File.
7497         * wcsmbs/Makefile (strop-tests): Add wcsncat.
7498         * benchtests/bench-strncat.c: Add wcsncat support.
7499         * benchtests/bench-wcsncat.c: New File.
7500         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
7502         * sysdeps/s390/multiarch/strcat-c.c: New File.
7503         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
7504         * sysdeps/s390/multiarch/strcat.c: Likewise.
7505         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
7506         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
7507         * sysdeps/s390/multiarch/wcscat.c: Likewise.
7508         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
7509         wcscat functions.
7510         * sysdeps/s390/multiarch/ifunc-impl-list.c
7511         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
7512         * string/strcat.c (STRCAT): Define and use macro.
7513         * wcsmbs/wcscat.c: Use WCSCAT if defined.
7514         * string/test-strcat.c: Add wcscat support.
7515         * wcsmbs/test-wcscat.c: New File.
7516         * wcsmbs/Makefile (strop-tests): Add wcscat.
7517         * benchtests/bench-strcat.c: Add wcscat support.
7518         * benchtests/bench-wcscat.c: New File.
7519         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
7521         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
7522         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
7523         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
7524         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
7525         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
7526         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
7527         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
7528         wcpncpy functions.
7529         * sysdeps/s390/multiarch/ifunc-impl-list.c
7530         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
7531         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
7532         * string/test-stpncpy.c: Add wcpncpy support.
7533         * wcsmbs/test-wcpncpy.c: New File.
7534         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
7535         * benchtests/bench-stpncpy.c: Add wcpncpy support.
7536         * benchtests/bench-wcpncpy.c: New File.
7537         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
7539         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
7540         * sysdeps/s390/multiarch/strncpy.c: Likewise.
7541         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
7542         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
7543         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
7544         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
7545         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7546         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
7547         wcsncpy functions.
7548         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
7549         * sysdeps/s390/multiarch/ifunc-impl-list.c
7550         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
7551         * string/test-strncpy.c: Add wcsncpy support.
7552         * wcsmbs/test-wcsncpy.c: New File.
7553         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
7554         * benchtests/bench-strncpy.c: Add wcsncpy support.
7555         * benchtests/bench-wcsncpy.c: New File.
7556         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
7558         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
7559         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
7560         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
7561         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
7562         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
7563         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
7564         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
7565         wcpcpy functions.
7566         * string/stpcpy.c: Use STPCPY if defined.
7567         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
7568         * sysdeps/s390/multiarch/ifunc-impl-list.c
7569         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
7570         * string/test-stpcpy.c: Add wcpcpy support.
7571         * wcsmbs/test-wcpcpy.c: New File.
7572         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
7573         * benchtests/bench-stpcpy.c: Add wcpcpy support.
7574         * benchtests/bench-wcpcpy.c: New File.
7575         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
7577         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
7578         * sysdeps/s390/multiarch/strcpy.c: Likewise.
7579         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
7580         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
7581         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
7582         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
7583         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7584         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
7585         wcscpy functions.
7586         * sysdeps/s390/multiarch/ifunc-impl-list.c
7587         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
7588         * benchtests/bench-wcscpy.c: New File.
7589         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
7591         * sysdeps/s390/multiarch/strnlen-c.c: New File.
7592         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
7593         * sysdeps/s390/multiarch/strnlen.c: Likewise.
7594         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
7595         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
7596         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
7597         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
7598         wcsnlen functions.
7599         * sysdeps/s390/multiarch/ifunc-impl-list.c
7600         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
7601         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
7602         * string/test-strnlen.c: Add wcsnlen support.
7603         * wcsmbs/test-wcsnlen.c: New File.
7604         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
7605         * benchtests/bench-strnlen.c: Add wcsnlen support.
7606         * benchtests/bench-wcsnlen.c: New File.
7607         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
7609         * sysdeps/s390/multiarch/Makefile: New File.
7610         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
7611         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
7612         * sysdeps/s390/multiarch/strlen.c: Likewise.
7613         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
7614         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
7615         * sysdeps/s390/multiarch/wcslen.c: Likewise.
7616         * string/strlen.c (STRLEN): Define and use macro.
7617         * sysdeps/s390/multiarch/ifunc-impl-list.c
7618         (IFUNC_VX_IMPL): New macro function.
7619         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
7620         * benchtests/Makefile (wcsmbs-bench): New variable.
7621         (string-bench-all): Added wcsmbs-bench.
7622         * benchtests/bench-wcslen.c: New File.
7624         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
7625         s390_vx_libc_ifunc2): New macro function.
7627         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
7628         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
7629         assembler support.
7630         * sysdeps/s390/configure: Regenerated.
7632         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
7633         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
7635         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
7636         * sysdeps/s390/dl-procinfo.h: Add vector capability.
7637         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
7639         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7640         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
7641         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
7642         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
7643         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
7644         (memcmp, bcmp): Use __memcmp_default as alias source.
7645         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
7646         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
7647         Rename to __memcmp_default.
7648         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
7649         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
7650         (memcpy): Use __memcpy_default as alias source.
7651         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
7652         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
7653         Rename to __memcpy_default.
7654         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
7655         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
7656         (memset): Use __memset_default as alias source.
7657         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
7658         * sysdeps/s390/s390-32/memset.S (__memset_g5):
7659         Rename to __memset_default.
7660         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
7661         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
7662         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
7663         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
7664         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
7665         (memcmp, bcmp): Use __memcmp_default as alias source.
7666         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
7667         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
7668         Rename to __memcmp_default.
7669         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
7670         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
7671         (memcpy): Use __memcpy_default as alias source.
7672         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
7673         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
7674         Rename to __memcpy_default.
7675         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
7676         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
7677         (memset): Use __memset_default as alias source.
7678         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
7679         * sysdeps/s390/s390-64/memset.S (__memset_z900):
7680         Rename to __memset_default.
7681         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
7682         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
7684         [BZ #18610]
7685         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
7686         __ieee_instruction_pointer to __unused.
7687         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
7688         __ieee_instruction_pointer.
7689         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
7690         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
7691         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7692         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
7693         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
7694         Mark dxc-field as reserved.
7696 2015-08-25  Roland McGrath  <roland@hack.frob.com>
7698         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
7699         if the weak reference is not null.
7701 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7703         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
7705         [BZ #11214]
7706         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
7708 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7710         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
7711         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
7712         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
7713         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
7714         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
7715         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
7716         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
7717         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
7718         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
7719         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
7720         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
7721         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
7722         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
7723         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
7724         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
7725         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
7726         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
7727         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
7729 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7731         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
7732         register other than r0 for tabort, it has special meaning.
7733         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
7734         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
7735         transaction before starting syscall.
7737 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7739         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
7741 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7743         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
7745         * sysdeps/x86_64/rtld-memcmp.c: Removed.
7746         * sysdeps/x86_64/rtld-memset.S: Likewise.
7747         * sysdeps/x86_64/rtld-strchr.S: Likewise.
7748         * sysdeps/x86_64/rtld-strlen.S: Likewise.
7749         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
7750         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7752         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
7754 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
7756         * debug/strcpy_chk.c: Improve performance.
7757         * debug/stpcpy_chk.c: Likewise.
7758         * sysdeps/x86_64/strcpy_chk.S: Remove.
7759         * sysdeps/x86_64/stpcpy_chk.S: Remove.
7761         [BZ #18240]
7762         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
7764 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7766         [BZ #15128]
7767         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
7768         ifuncmain8.
7769         (modules-names): Add ifuncmod8.
7770         ($(objpfx)ifuncmain8): New rule.
7771         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
7772         <cpuid.h>.
7773         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
7774         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
7775         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
7776         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
7777         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
7778         * sysdeps/x86_64/dl-trampoline.h: Likewise.
7779         * sysdeps/x86_64/ifuncmain8.c: New file.
7780         * sysdeps/x86_64/ifuncmod8.c: Likewise.
7781         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
7782         Removed.
7783         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
7784         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
7785         Change rtld_savespace_sse to __glibc_unused2.
7786         (RTLD_CHECK_FOREIGN_CALL): Removed.
7787         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
7788         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
7789         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
7791 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
7793         * sysdeps/aarch64/bzero.S (__bzero): Remove.
7795 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
7797         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
7798         Unconditionally set __fpcr to avoid uninialized warning.
7799         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
7801 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7803         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
7804         is corrupt.
7806         * malloc/arena.c (arena_get2): Drop unused argument.
7807         (arena_lock): Adjust.
7808         (arena_get_retry): Likewise.
7810 2015-08-24  Andreas Schwab  <schwab@suse.de>
7812         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
7813         Don't define.
7814         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7815         (__ASSUME_IPC64): Don't undef.
7816         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
7817         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7818         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7819         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
7820         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
7821         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
7822         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
7823         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
7824         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
7825         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
7826         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
7827         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
7828         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
7829         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
7830         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
7831         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
7832         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
7833         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
7834         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
7835         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
7836         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
7838 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
7840         * manual/Makefile (install): Only build manual when perl is available.
7842 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7844         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
7845         '#undef memcpy' by '#undef memchr'.
7847 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7849         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
7850         memchr not point to the internal __GI_memchr implementation.
7852 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
7854         * timezone/Makefile (CFLAGS-zdump.c): Remove
7855         -Wno-strict-prototypes.
7856         (CFLAGS-zic.c): Likewise.
7857         (CFLAGS-ialloc.c): Likewise.
7858         (CFLAGS-scheck.c): Likewise.
7860         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
7861         -Wno-error=undef.
7863 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7865         * i386/i686/multiarch/strcasestr-c.c: Removed.
7866         * x86_64/multiarch/strcasestr.c: Likewise.
7867         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7868         Remove strcasestr.
7870 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
7872         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
7874         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
7875         variables for high and low parts before possibly modifying them.
7877 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7879         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
7880         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
7881         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
7882         of "multiarch/init-arch.h".
7883         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
7884         * sysdeps/x86/init-arch.h: This.
7886 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7888         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
7889         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
7891 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
7893         [BZ #17787]
7894         * manual/macros.texi: Add twoexp macro.
7895         * manual/filesys.texi: Fix exponents.
7896         * manual/llio.texi: Likewise.
7897         * manual/stdio.texi: Likewise.
7899 2015-08-20  Florian Weimer  <fweimer@redhat.com>
7901         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
7902         incorrect use.
7904 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
7906         [BZ #18370]
7907         * math/s_csqrt.c (__csqrt): Force underflow exception for results
7908         whose real or imaginary part has small absolute value.
7909         * math/s_csqrtf.c (__csqrtf): Likewise.
7910         * math/s_csqrtl.c (__csqrtl): Likewise.
7911         * math/auto-libm-test-in: Add more tests of csqrt.
7912         * math/auto-libm-test-out: Regenerated.
7913         * sysdeps/i386/fpu/libm-test-ulps: Update.
7915 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7917         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
7918         __ppc_set_ppr_very_low): New functions.
7919         * manual/platform.texi: Add documentation about
7920         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
7922 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
7924         * string/stpncpy.c (stpncpy): Improve performance using
7925         __strnlen/memcpy/memset.
7927 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7929         [BZ #18796]
7930         * scripts/test-installation.pl: Don't add -lmvec to build options if
7931         libmvec wasn't built.
7933 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
7935         [BZ #14341]
7936         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
7937         case when there is a gap between DT_REL and DT_JMPREL sections.
7938         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
7939         (LDFLAGS-tst-split-dynreloc): New.
7940         (tst-split-dynreloc-ENV): Likewise.
7941         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
7942         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
7944 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7946         [BZ #18822]
7947         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
7948         attribute_hidden.
7949         (__xstat64_conv): Likewise.
7950         (__xstat32_conv): Likewise.
7952 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7954         [BZ #18822]
7955         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
7956         Don't load %ebx when calling __setcontext.  Call __setcontext
7957         with HIDDEN_JUMPTARGET.
7958         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
7959         libc_hidden_def.
7961 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7963         * sysdeps/i386/i686/Makefile
7964         [$(subdir) == string] (sysdep_routines): Moved to ...
7965         * sysdeps/i386/Makefile: Here.
7966         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
7967         * sysdeps/i386/cacheinfo.c: Here.
7968         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
7969         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
7970         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
7971         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
7973 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7975         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
7976         __i586__ is defined.
7977         (HAS_I686): Defined to 1 if __i686__ is defined.
7979 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
7981         * elf/Makefile [$(have-z-execstack) = yes]
7982         (CPPFLAGS-tst-execstack.c): New variable.
7984         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
7985         conditional to [defined UTMPX || _HAVE_UT_TYPE].
7986         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
7987         UTMPX || _HAVE_UT_TV].
7988         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
7989         UTMPX || _HAVE_UT_TV - 0].
7991 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
7993         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
7994         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
7995         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
7997 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7999         * sysdeps/powerpc/dl-procinfo.c:
8000         (_dl_powerpc_cap_flags): Added missing strings for some
8001         hwcap features.
8002         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
8004 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
8006         Port the 0x7efe...feff pattern to GCC 6.
8007         See Steve Ellcey's bug report in:
8008         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
8009         * string/memrchr.c (MEMRCHR):
8010         * string/rawmemchr.c (RAWMEMCHR):
8011         * string/strchr.c (strchr):
8012         * string/strchrnul.c (STRCHRNUL):
8013         Rewrite code to avoid issues with signed shift overflow.
8015 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
8017         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
8018         whether cpuid is available only if HAS_CPUID is 0.
8019         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
8020         (HAS_I586): Likewise.
8021         (HAS_I686): Likewise.
8023 2015-08-18  Zack Weinberg  <zackw@panix.com>
8025         * misc/Versions (libc): Add GLIBC_2.23.
8027 2015-08-18  Alan Modra  <amodra@gmail.com>
8029         [BZ #18421]
8030         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
8031         .Lp__global.
8032         (_start): Load %dp via .Lp__global.
8033         [!SHARED]: Use .section .rodata.
8035 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8037         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
8038         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
8040 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8042         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
8043         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
8045 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8047         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
8048         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
8050 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8052         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
8053         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
8055 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8057         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
8058         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
8060 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8062         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
8063         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
8065 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8067         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
8069 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8071         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
8072         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
8073         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8074         (__ASSUME_LWS_CAS): Delete.
8076 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8078         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
8079         * sysdeps/hppa/configure: Regenerated.
8080         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
8081         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
8082         * sysdeps/hppa/nptl/tls.h: Likewise.
8084 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
8086         [BZ #18823]
8087         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
8088         for scaling up small arguments.
8089         * math/s_csqrtf.c (__csqrtf): Likewise.
8090         * math/s_csqrtl.c (__csqrtl): Likewise.
8091         * math/auto-libm-test-in: Add more tests of csqrt.
8092         * math/auto-libm-test-out: Regenerated.
8094 2015-08-17  Andreas Schwab  <schwab@suse.de>
8096         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
8097         version set GLIBC_2.19.
8099 2015-08-16  Zack Weinberg  <zackw@panix.com>
8101         [BZ #18681]
8102         * misc/regexp.h: This interface is no longer supported.
8103         Remove all contents, leaving only an #error directive.
8104         * misc/regexp.c (loc1, loc2, locs, step, advance):
8105         Demote to compatibility symbols.
8107 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
8109         [BZ #18084]
8110         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
8111         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
8112         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8113         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
8114         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
8115         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
8116         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
8117         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
8118         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8120 2015-08-15  Zack Weinberg  <zackw@panix.com>
8122         [BZ #18795]
8123         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
8124         buffer length is known to be too large, not if it's known to be
8125         small enough.
8126         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
8127         overflow at runtime, involving a length parameter, twice: once
8128         with a compile-time constant length parameter, once without.
8130 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
8132         [BZ #18824]
8133         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
8134         scaling x * y up instead of down.
8135         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8136         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8137         * math/auto-libm-test-in: Add more tests of fma.
8138         * math/auto-libm-test-out: Regenerated.
8140 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
8142         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8144 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8146         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
8147         unnecessary movq.
8148         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
8149         Likewise.
8151 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
8153         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8154         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
8155         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
8156         and tgamma.
8157         * math/auto-libm-test-out: Regenerated.
8158         * sysdeps/i386/fpu/libm-test-ulps: Update.
8159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8161         [BZ #16520]
8162         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
8163         (__tanh): Force underflow exception for arguments with small
8164         absolute value.
8165         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
8166         (__tanhf): Force underflow exception for arguments with small
8167         absolute value.
8168         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
8169         (__tanhl): Force underflow exception for arguments with small
8170         absolute value.
8171         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
8172         (__tanhl): Force underflow exception for arguments with small
8173         absolute value.
8174         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
8175         (__tanhl): Force underflow exception for arguments with small
8176         absolute value.
8177         * math/auto-libm-test-in: Add more tests of tanh.
8178         * math/auto-libm-test-out: Regenerated.
8179         * sysdeps/i386/fpu/libm-test-ulps: Update.
8181 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8183         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
8184         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
8186 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8188         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
8189         <cpuid.h>.
8191 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8193         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
8194         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
8196 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8198         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
8199         Remove $(objpfx)init-arch.o.
8200         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
8201         init-arch.
8202         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
8203         (INIT_ARCH_EXT): Defined as empty.
8204         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
8205         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
8206         __init_cpu_features call.  Replace HAS_XXX with
8207         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8208         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
8209         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
8210         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
8211         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
8212         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8213         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
8214         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
8215         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8216         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
8217         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
8218         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8219         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
8220         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
8221         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8222         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
8223         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
8224         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8225         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8226         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
8227         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
8228         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8229         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
8230         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
8231         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8232         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
8233         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
8234         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8235         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
8236         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
8237         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8238         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
8239         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
8240         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8241         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
8242         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
8244 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8246         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
8247         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8248         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8249         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8250         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
8251         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
8252         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
8253         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
8254         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
8255         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
8256         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
8257         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
8258         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8259         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8260         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8261         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8262         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8263         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8264         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8265         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8266         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8267         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8268         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8269         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8270         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8271         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8272         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8273         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8274         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8275         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8276         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8277         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8278         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8279         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8280         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8281         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8282         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8283         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8284         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8285         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8286         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8287         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8288         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8290 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8292         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
8293         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8294         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8295         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8296         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8297         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
8298         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8299         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
8300         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8301         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8302         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8303         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
8304         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
8305         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
8306         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
8307         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
8308         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
8309         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
8310         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
8311         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
8312         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8313         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
8314         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
8315         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8316         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8317         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
8318         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
8319         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
8320         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8321         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8322         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8323         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8324         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8325         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8326         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8327         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8328         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8329         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8330         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8331         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8332         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8333         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8334         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8336 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8338         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
8339         (dl_platform_init): Call init_cpu_features.
8340         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
8341         * sysdeps/i386/i686/cacheinfo.c
8342         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
8343         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
8344         * sysdeps/i386/i686/multiarch/Versions: Removed.
8345         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
8346         Removed.
8347         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
8348         * sysdeps/unix/sysv/linux/x86/Makefile
8349         (libpthread-sysdep_routines): Remove init-arch.
8350         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
8351         <sysdeps/x86_64/dl-procinfo.c> instead of
8352         sysdeps/generic/dl-procinfo.c>.
8353         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
8354         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
8355         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
8356         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
8357         [$(subdir) == elf] (tests-static): Add
8358         tst-get-cpu-features-static.
8359         * sysdeps/x86/Versions: New file.
8360         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
8361         * sysdeps/x86/cpu-features.c: Likewise.
8362         * sysdeps/x86/cpu-features.h: Likewise.
8363         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
8364         * sysdeps/x86/libc-start.c: Likewise.
8365         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8366         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
8367         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
8368         * sysdeps/x86_64/dl-procinfo.c: Likewise.
8369         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
8370         Assume USE_MULTIARCH is defined and don't check it.
8371         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
8372         (is_amd): Likewise.
8373         (max_cpuid): Likewise.
8374         (intel_check_word): Likewise.
8375         (__cache_sysconf): Don't call __init_cpu_features.
8376         (__x86_preferred_memory_instruction): Removed.
8377         (init_cacheinfo): Don't call __init_cpu_features. Replace
8378         __cpu_features with GLRO(dl_x86_cpu_features).
8379         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
8380         (dl_platform_init): Call init_cpu_features.
8381         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
8382         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
8383         * sysdeps/x86_64/multiarch/Versions: Removed.
8384         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
8385         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
8386         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
8387         Removed.
8388         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
8390 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8392         [BZ #18820]
8393         * libio/Makefile (test-fmemopen-mem): New test.
8394         * libio/test-fmemopen.c (do_bz18820): New test.
8395         * libio/fmemopen.c (__fmemopen): Fix memory leak.
8396         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
8398 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8400         [BZ #16734]
8401         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
8402         (FREE_BUF): Delete.
8403         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
8404         * libio/genops.c (_IO_setb): Use malloc and free directly.
8405         (_IO_default_doallocate, _IO_default_finish): Likewise.
8406         ( _IO_unbuffer_all): Likewise.
8407         ( libc_freeres_fn): Likewise.
8408         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8409         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8410         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
8411         (_IO_wdefault_doallocate): Likewise.
8413 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8415         [BZ #18086]
8416         * sysdeps/posix/nice.c (nice): Restore old errno.
8417         * posix/tst-nice.c (do_test): Add test for BZ #18086.
8419 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
8421         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
8423 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8425         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
8426         __bcopy and add a weak_alias to bcopy.
8427         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
8428         for static build.
8430         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
8431         cleanup macro usage.
8432         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
8433         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
8434         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8435         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
8436         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8437         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
8438         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
8439         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8440         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8441         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
8442         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8443         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
8444         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8445         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
8446         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8447         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
8448         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
8449         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
8450         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8452         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
8453         libc_hidden_def.
8454         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
8456         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
8457         (sysdep_routines): Add strstr-ppc64.
8458         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
8460 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
8462         [BZ #18778]
8463         * elf/Makefile (tests): Add Add tst-nodelete2.
8464         (modules-names): Add tst-nodelete2mod.
8465         (tst-nodelete2mod.so-no-z-defs): New.
8466         ($(objpfx)tst-nodelete2): Likewise.
8467         ($(objpfx)tst-nodelete2.out): Likewise.
8468         (LDFLAGS-tst-nodelete2): Likewise.
8469         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
8470         out of loop through all loaded libraries.
8471         * elf/tst-nodelete2.c: New file.
8472         * elf/tst-nodelete2mod.c: Likewise.
8473         * elf/tst-znodelete-zlib.cc: Delete.
8475 2015-08-11  Andreas Schwab  <schwab@suse.de>
8477         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
8478         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
8479         (__openat64_nocancel): Likewise.
8481 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
8483         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
8484         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
8485         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
8486         * math/auto-libm-test-out: Regenerated.
8487         * sysdeps/i386/fpu/libm-test-ulps: Update.
8488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8490 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
8492         [BZ #18790]
8493         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
8494         threshold for returning +/- 1.
8495         * math/auto-libm-test-in: Add more tests of tanh.
8496         * math/auto-libm-test-out: Regenerated.
8497         * sysdeps/i386/fpu/libm-test-ulps: Update.
8499 2015-08-10  Andreas Schwab  <schwab@suse.de>
8501         [BZ #18781]
8502         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
8503         MORE_OFLAGS to oflag.
8504         * io/test-lfs.c (do_test): Test openat64.
8506 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
8508         [BZ #18789]
8509         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
8510         smaller threshold for returning the argument.
8511         * math/auto-libm-test-in: Add more tests of sinh.
8512         * math/auto-libm-test-out: Regenerated.
8513         * sysdeps/i386/fpu/libm-test-ulps: Update.
8515 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
8517         [BZ #18674]
8518         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
8519         break.
8521 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
8523         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
8524         (generated): Don't add $(addprefix z.,$(tzfiles)).
8526 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8528         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
8529         * scripts/sysd-rules.awk: Likewise.
8531 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8533         * iconvdata/tst-tables.sh: Change echo -n to printf.
8534         * nss/db-Makefile: Likewise.
8535         * posix/tst-getconf.sh: Likewise.
8536         * stdio-common/tst-unbputc.sh: Likewise.
8538 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8540         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
8541         MADV_*_PAGES defines behind this feature check.
8543 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
8545         [BZ #18480]
8546         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
8547         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
8548         Define.
8549         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
8550         LOAD_REGS_5, LOAD_REGS_6): Update.
8551         (INTERNAL_SYSCALL): Update using new LOAD defines.
8552         (INTERNAL_SYSCALL_NCS): Likewise.
8553         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
8555 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8557         [BZ #16734]
8558         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
8560 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8562         [BZ #17905]
8563         * catgets/Makefile (tst-catgets-mem): New test.
8564         * catgets/catgets.c (catopen): Don't use unbounded alloca.
8565         * catgets/open_catalog.c (__open_catalog): Likewise.
8566         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
8568 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
8570         [BZ #18787]
8571         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
8572         clobber registers.
8573         (atomic_compare_and_exchange_val_acq): Use register asms to assign
8574         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
8575         Cast return to __typeof (oldval).
8577 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
8579         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
8580         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
8581         and delete sys/syscall.h include.
8583 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
8585         [BZ #16517]
8586         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
8587         (tan): Force underflow exception for arguments with small absolute
8588         value.
8589         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
8590         (__kernel_tanf): Force underflow exception for arguments with
8591         small absolute value.
8592         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
8593         (__kernel_tanl): Force underflow exception for arguments with
8594         small absolute value.
8595         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
8596         (__kernel_tanl): Force underflow exception for arguments with
8597         small absolute value.
8598         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
8599         (__kernel_tanl): Force underflow exception for arguments with
8600         small absolute value.
8601         * math/auto-libm-test-in: Add more tests of tan.
8602         * math/auto-libm-test-out: Regenerated.
8604 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8606         Fix sysdeps/i386/fpu/s_scalbn.S build
8608         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
8610 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
8612         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8614 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8616         Fix gcrt0.o compilation
8618         When static-start-installed-name is different from
8619         start-installed-name, we must not use the shared objects.
8621         * csu/Makefile
8622         (extra-objs): Add gmon-start.o when building shared library and
8623         $(static-start-installed-name) is different from
8624         $(start-installed-name).
8625         $(objpfx)g$(static-start-installed-name): When building shared
8626         library and $(static-start-installed-name) is different from
8627         $(static-start-installed-name), revert to non-shared rule,
8628         i.e. using $(objpfx)% and gmon-start.o.
8630 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
8632         [BZ #16519]
8633         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
8634         (__ieee754_sinh): Force underflow exception for arguments with
8635         small absolute value.
8636         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
8637         (__ieee754_sinhf): Force underflow exception for arguments with
8638         small absolute value.
8639         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
8640         (__ieee754_sinhl): Force underflow exception for arguments with
8641         small absolute value.
8642         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
8643         (__ieee754_sinhl): Force underflow exception for arguments with
8644         small absolute value.
8645         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
8646         (__ieee754_sinhl): Force underflow exception for arguments with
8647         small absolute value.
8648         * math/auto-libm-test-in: Add more tests of sinh.
8649         * math/auto-libm-test-out: Regenerated.
8650         * sysdeps/i386/fpu/libm-test-ulps: Update.
8652 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8654         * libio/oldfileops.c: Include unistd.h.
8656 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
8658         * stdlib/isomac.c: Include ctype.h.
8660 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
8662         * dirent/tst-seekdir.c (main): Converted to ...
8663         (do_test): ... this.
8664         (TEST_FUNCTION): New macro.
8665         Include test-skeleton.c.
8666         * elf/tst-dlmodcount.c (main): Converted to ...
8667         (do_test): ... this.
8668         (TEST_FUNCTION): New macro.
8669         Include test-skeleton.c.
8670         * elf/tst-order-main.c (main): Converted to ...
8671         (do_test): ... this.
8672         (TEST_FUNCTION): New macro.
8673         Include test-skeleton.c.
8674         * elf/tst-pie2.c (main): Converted to ...
8675         (do_test): ... this.
8676         (TEST_FUNCTION): New macro.
8677         Include test-skeleton.c.
8678         * inet/tst-ether_aton.c (main): Converted to ...
8679         (do_test): ... this.
8680         (TEST_FUNCTION): New macro.
8681         Include test-skeleton.c.
8682         * misc/tst-mntent.c (main): Converted to ...
8683         (do_test): ... this.
8684         (TEST_FUNCTION): New macro.
8685         Include test-skeleton.c.
8686         * misc/tst-tsearch.c (main): Converted to ...
8687         (do_test): ... this.
8688         (TEST_FUNCTION): New macro.
8689         Include test-skeleton.c.
8690         * posix/tst-regexloc.c (main): Converted to ...
8691         (do_test): ... this.
8692         (TEST_FUNCTION): New macro.
8693         Include test-skeleton.c.
8694         * resolv/tst-aton.c (main): Converted to ...
8695         (do_test): ... this.
8696         (TEST_FUNCTION): New macro.
8697         Include test-skeleton.c.
8698         * stdio-common/test-fwrite.c (main): Converted to ...
8699         (do_test): ... this.
8700         (TEST_FUNCTION): New macro.
8701         Include test-skeleton.c.
8702         * stdio-common/tst-ferror.c (main): Converted to ...
8703         (do_test): ... this.
8704         (TEST_FUNCTION): New macro.
8705         Include test-skeleton.c.
8706         * stdio-common/tst-printf.c (main): Converted to ...
8707         (do_test): ... this.
8708         (TEST_FUNCTION): New macro.
8709         Include test-skeleton.c.
8710         * stdio-common/tst-printfsz.c (main): Converted to ...
8711         (do_test): ... this.
8712         (TEST_FUNCTION): New macro.
8713         Include test-skeleton.c.
8714         * stdlib/tst-strtod.c (main): Converted to ...
8715         (do_test): ... this.
8716         (TEST_FUNCTION): New macro.
8717         Include test-skeleton.c.
8718         * string/tst-strlen.c (main): Converted to ...
8719         (do_test): ... this.
8720         (TEST_FUNCTION): New macro.
8721         Include test-skeleton.c.
8722         * string/tst-svc.c (main): Converted to ...
8723         (do_test): ... this.
8724         (TEST_FUNCTION): New macro.
8725         Include test-skeleton.c.
8726         * time/tst-strptime.c (main): Converted to ...
8727         (do_test): ... this.
8728         (TEST_FUNCTION): New macro.
8729         Include test-skeleton.c.
8730         * timezone/tst-timezone.c (main): Converted to ...
8731         (do_test): ... this.
8732         (TEST_FUNCTION): New macro.
8733         Include test-skeleton.c.
8735 2015-08-05  Zack Weinberg  <zackw@panix.com>
8737         * misc/regexp.h: Update comments.
8739 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
8741         [BZ #18635]
8742         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
8743         before return label.
8745 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8747         [BZ #18661]
8748         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
8749         when calling __errno_location.
8750         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
8751         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
8753 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8755         [BZ #18661]
8756         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
8757         (__lll_timedwait_tid): Align stack to 16 bytes when calling
8758         __gettimeofday.
8760 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8762         [BZ #18661]
8763         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8764         (__start_context): Don't use pop to restore %rdi so that stack
8765         is aligned to 16 bytes when calling __setcontext.
8767 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8769         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
8770         only for libc.
8771         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8773 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8775         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
8776         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
8777         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
8779 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8781         * string/memccpy.c (memccpy):
8782         Improve performance by using memchr/memcpy/__mempcpy.
8784 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8786         * string/strncpy.c (strncpy):
8787         Improve performance by using __strnlen/memcpy.
8789 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8791         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8792         Optimize to avoid an unnecessary FPCR read.
8794 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8796         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8797         Optimize to reduce FPCR/FPSR accesses.
8799 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8801         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
8802         dead->data[category] != NULL.
8804 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
8806         [BZ #18647]
8807         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
8808         and |x| close to 1, use absolute value of x when computing log.
8809         * math/auto-libm-test-in: Add more tests of pow.
8810         * math/auto-libm-test-out: Regenerated.
8812 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8814         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
8815         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
8816         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
8818 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
8820         [BZ #18525]
8821         * locales/km_KH: Remove timezone definition.
8822         * locales/lo_LA: Likewise.
8823         * locales/my_MM: Likewise.
8824         * locales/nan_TW@latin: Likewise.
8825         * locales/th_TH: Likewise.
8826         * locales/uk_UA: Likewise.
8828 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
8830         [BZ #18265]
8831         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
8832         (wcsncat): Likewise.
8833         (wcscmp): Likewise.
8834         (wcsncmp): Likewise.
8836 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8838         * test-skeleton.c (usage): New function.
8839         (main): Call usage when opt is '?'.
8841 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8843         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
8844         before first use.
8846 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8848         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
8849         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
8850         in there too.
8852 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
8854         * version.h (RELEASE): Set to "development".
8855         (VERSION): Set to "2.22.90"
8857         * version.h (RELEASE): Set to "stable".
8858         (VERSION): Set to "2.22"
8859         * include/features.h (__GLIBC_MINOR__): Set to 22.
8861 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
8863         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
8864         Restructure macro to avoid "value computed is not used" warning.
8865         (atomic_compare_and_exchange_val_acq): Likewise.
8867 2015-08-04  Andreas Schwab  <schwab@suse.de>
8869         [BZ #18635]
8870         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
8871         ret.
8872         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
8874 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
8876         * po/pl.po: Updated translation.
8877         * po/uk.po: Likewise.
8878         * po/fi.po: Likewise.
8879         * po/ko.po: Likewise.
8880         * po/ru.po: Likewise.
8881         * po/vi.po: Likewise.
8883 2015-07-31  Zack Weinberg  <zackw@panix.com>
8885         [BZ #18681]
8886         * regexp.h: Add unconditional #warning stating that this header
8887         will be removed soon.  Revise banner comment to match.
8888         (compile): Consistently use ERROR instead of RETURN to report
8889         errors (partial fix for bz#18681).
8890         * regexp.c: Don't include regexp.h. Remove some unnecessary
8891         declarations.
8893 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
8895         * po/libc.pot: Regenerated.
8897 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8899         [BZ #18740]
8900         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
8901         float-vlen4-arch-ext-cflags): Removed.
8902         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
8903         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
8905 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8907         [BZ #14113]
8908         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
8909         aligned to __aligned__.
8910         (pthread_cond_t, pthread_rwlock_t): Likewise.
8912 2015-07-30  Torvald Riegel  <triegel@redhat.com>
8914         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
8916 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8918         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
8919         (struct sigaction): Change sa_flags from a long to an int, and add
8920         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
8922 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8924         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
8925         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
8926         sysdeps/generic/sysdep.h include.
8927         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
8928         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
8929         sysdeps/hppa/sysdep.h.
8930         (ENTRY, PSEUDO): Undefine before defining.
8932 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8934         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
8935         from scratch to use INTERNAL_SYSCALL.
8937 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
8939         [BZ #18078]
8940         * scripts/check-localplt.awk: Support alternate relocations.
8941         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
8942         sections.
8943         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
8944         malloc entries with + REL R_386_GLOB_DAT.
8945         * sysdeps/x86_64/localplt.data: New file.
8947 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
8949         [BZ #18731]
8950         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
8951         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8952         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8954 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8956         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
8958 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8960         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
8961         directly in terms of __sync_fetch_and_add and delete (int) cast.
8963 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8965         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
8966         the -D_ASM_IA64_CURRENT_H flag.
8968 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8970         [BZ #18641]
8971         * pwd/pwd.h (putpwent): Delete __nonnull markings.
8973 2015-07-27  Andreas Schwab  <schwab@suse.de>
8975         * conform/conformtest.pl (checknamespace): Filter out string
8976         literals while tokenizing.
8978 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
8980         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8981         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
8982         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8984 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
8986         * nptl/tst-join7mod.c: Add #include <string.h>.
8988 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
8990         * sysdeps/nios2/libm-test-ulps: Update.
8992 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
8994         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
8995         Fix order of arguments to the rt_sigprocmask syscall.
8996         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
8997         Likewise.
8999 2015-07-24  Roland McGrath  <roland@hack.frob.com>
9001         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
9003 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9005         [BZ #18457]
9006         * nptl/Makefile (tests): New test case tst-join7.
9007         (modules-names): New test case module tst-join7mod.
9008         * nptl/tst-join7.c: New file.
9009         * nptl/tst-join7mod.c: New file.
9010         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
9011         all translation units in libc.so, libpthread.so and rtld.
9013 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9017 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9019         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
9020         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9021         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9022         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9023         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9024         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9025         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9026         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9027         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9028         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9029         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9030         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9031         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
9032         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
9033         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
9034         implementation.
9036 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9038         [BZ #17711]
9039         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9040         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
9041         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9042         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9043         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
9044         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9046 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9048         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
9049         instead of just saying load lock in the comments.
9051 2015-07-23  Roland McGrath  <roland@hack.frob.com>
9053         * sysdeps/unix/Subdirs: Moved ...
9054         * sysdeps/posix/Subdirs: ... here.
9055         * login/pty.h (struct termios, struct winsize): Add forward decls.
9056         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
9057         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
9058         * sysdeps/arm/nacl/libc.abilist: Updated.
9059         * sysdeps/nacl/libutil.abilist: New file.
9061         * bits/signum.h: Update comments to mention 1003.1-2013 too.
9062         (SIGWINCH): New macro.
9064         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
9065         * sysdeps/arm/nacl/libc.abilist: Add it.
9067 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9069         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
9071 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9073         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9074         Swap __glibc_reserved0 and sa_flags order.
9076 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9078         [BZ #18657]
9079         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
9080         are pending TLS destructor calls.
9081         * include/link.h (struct link_map): Add concurrency note for
9082         L_TLS_DTOR_COUNT.
9083         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9084         Don't touch the link map flag.  Atomically increment
9085         l_tls_dtor_count.
9086         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
9087         Avoid taking the load lock and don't touch the link map flag.
9088         * stdlib/tst-tls-atexit-nodelete.c: New test case.
9089         * stdlib/Makefile (tests): Use it.
9090         * stdlib/tst-tls-atexit.c (do_test): dlopen
9091         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
9092         to allow tst-tls-atexit-nodelete test case to use it.
9094 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9096         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
9097         to bits/types.h.
9098         (msgqnum_t): New typedef.
9099         (msglen_t): Likewise.
9100         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
9101         and msg_qbytes type to msglen_t.
9103 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9105         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
9106         pad0 to __glibc_reserved0.
9107         (struct stat64): Likewise.
9109 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9111         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9112         Change sa_flags from a long to an int and add __glibc_reserved0 before
9113         it for padding.
9115 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9117         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
9118         anonymous by deleting "siginfo" name.
9120 2015-07-21  Roland McGrath  <roland@hack.frob.com>
9122         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
9123         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
9124         rather than __nacl_irt_filename.
9125         * sysdeps/nacl/xstat.c (__xstat): Likewise.
9127         * NEWS: New item for arm-nacl port.
9128         * sysdeps/arm/nacl/libc.abilist: New file.
9129         * sysdeps/nacl/ld.abilist: New file.
9130         * sysdeps/nacl/libBrokenLocale.abilist: New file.
9131         * sysdeps/nacl/libanl.abilist: New file.
9132         * sysdeps/nacl/libcrypt.abilist: New file.
9133         * sysdeps/nacl/libdl.abilist: New file.
9134         * sysdeps/nacl/libm.abilist: New file.
9135         * sysdeps/nacl/libpthread.abilist: New file.
9136         * sysdeps/nacl/libresolv.abilist: New file.
9137         * sysdeps/nacl/librt.abilist: New file.
9139 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
9141         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
9142         __startcontext to initialize the new context.
9143         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
9144         up CFI directive to forbid further backtracing.
9146 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
9148         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
9149         reference.
9150         * charmaps/ANSI_X3.4-1968: Likewise.
9151         * charmaps/BS_4730: Likewise.
9152         * charmaps/BS_VIEWDATA: Likewise.
9153         * charmaps/CP1250: Likewise.
9154         * charmaps/CP1251: Likewise.
9155         * charmaps/CP1252: Likewise.
9156         * charmaps/CP1253: Likewise.
9157         * charmaps/CP1254: Likewise.
9158         * charmaps/CP1255: Likewise.
9159         * charmaps/CP1256: Likewise.
9160         * charmaps/CSN_369103: Likewise.
9161         * charmaps/EBCDIC-DK-NO: Likewise.
9162         * charmaps/GB_1988-80: Likewise.
9163         * charmaps/GREEK-CCITT: Likewise.
9164         * charmaps/GREEK7: Likewise.
9165         * charmaps/INIS-8: Likewise.
9166         * charmaps/ISIRI-3342: Likewise.
9167         * charmaps/ISO_2033-1983: Likewise.
9168         * charmaps/ISO_5427-EXT: Likewise.
9169         * locales/POSIX: Likewise.
9170         * locales/ar_SA: Likewise.
9171         * locales/be_BY: Likewise.
9172         * locales/be_BY@latin: Likewise.
9173         * locales/ca_ES: Likewise.
9174         * locales/cs_CZ: Likewise.
9175         * locales/da_DK: Likewise.
9176         * locales/de_BE: Likewise.
9177         * locales/de_CH: Likewise.
9178         * locales/de_LU: Likewise.
9179         * locales/en_AU: Likewise.
9180         * locales/en_BW: Likewise.
9181         * locales/en_CA: Likewise.
9182         * locales/en_DK: Likewise.
9183         * locales/en_GB: Likewise.
9184         * locales/en_IE: Likewise.
9185         * locales/en_NZ: Likewise.
9186         * locales/en_ZA: Likewise.
9187         * locales/en_ZW: Likewise.
9188         * locales/es_AR: Likewise.
9189         * locales/es_BO: Likewise.
9190         * locales/es_CL: Likewise.
9191         * locales/es_CO: Likewise.
9192         * locales/es_DO: Likewise.
9193         * locales/es_EC: Likewise.
9194         * locales/es_ES: Likewise.
9195         * locales/es_HN: Likewise.
9196         * locales/es_MX: Likewise.
9197         * locales/es_PA: Likewise.
9198         * locales/es_PE: Likewise.
9199         * locales/es_PY: Likewise.
9200         * locales/es_SV: Likewise.
9201         * locales/es_US: Likewise.
9202         * locales/es_UY: Likewise.
9203         * locales/es_VE: Likewise.
9204         * locales/et_EE: Likewise.
9205         * locales/fa_IR: Likewise.
9206         * locales/fo_FO: Likewise.
9207         * locales/fr_CA: Likewise.
9208         * locales/fr_CH: Likewise.
9209         * locales/gv_GB: Likewise.
9210         * locales/he_IL: Likewise.
9211         * locales/hr_HR: Likewise.
9212         * locales/id_ID: Likewise.
9213         * locales/is_IS: Likewise.
9214         * locales/it_CH: Likewise.
9215         * locales/iw_IL: Likewise.
9216         * locales/kl_GL: Likewise.
9217         * locales/ko_KR: Likewise.
9218         * locales/kw_GB: Likewise.
9219         * locales/lg_UG: Likewise.
9220         * locales/lt_LT: Likewise.
9221         * locales/lv_LV: Likewise.
9222         * locales/mi_NZ: Likewise.
9223         * locales/nhn_MX: Likewise.
9224         * locales/nl_BE: Likewise.
9225         * locales/pl_PL: Likewise.
9226         * locales/sk_SK: Likewise.
9227         * locales/sl_SI: Likewise.
9228         * locales/sv_FI: Likewise.
9229         * locales/tl_PH: Likewise.
9230         * locales/tr_TR: Likewise.
9231         * locales/vi_VN: Likewise.
9233 2015-07-21  Khem Raj  <raj.khem@gmail.com>
9235         [BZ #17475]
9236         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
9237         of tu_IN and bh_IN.
9239 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
9241         [BZ #18694]
9242         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
9243         bits/wordsize.h.
9244         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
9246 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9248         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
9249         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
9250         (spawn_thread): New function.
9251         (load): Rename to reg_dtor_and_close.  Move dlopen to...
9252         (do_test): ... here.  Use IS_LOADED to test for its
9253         availability.
9255 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
9257         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9259 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
9261         [BZ #18696]
9262         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
9263         si_addr_bnd.
9264         (si_lower): New.
9265         (si_upper): Likewise.
9267 2015-07-16  David S. Miller  <davem@davemloft.net>
9269         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9271 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9273         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
9274         buffer.
9275         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
9276         fail output information.
9278 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9280         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
9281         and strstr-ppc64..
9282         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9283         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
9284         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
9285         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
9286         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
9288 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
9290         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9291         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9292         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9293         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9295 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
9297         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9298         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
9299         rtld_hidden_proto.
9300         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
9302 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9304         * tst-nodelete-opened.c (do_test): Add comment to clarify how
9305         the test can fail.
9307         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
9309         [BZ #18676]
9310         * elf/tst-nodelete-opened.c: New test case.
9311         * elf/tst-nodelete-opened-lib.c: New test case module.
9312         * elf/Makefile (tests, modules-names): Use them.
9313         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
9314         early.
9316 2015-07-15  David S. Miller  <davem@davemloft.net>
9318         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
9319         futex-intenal.h
9320         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
9321         * sysdeps/sparc/sparc64/Makefile: Likewise.
9322         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9323         Remove space from macro define.
9324         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
9326 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
9328         [BZ #17475]
9329         * locale/iso-639.def: Update Bhili and Tulu language codes as
9330         per iso639-3.
9332 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
9334         * elf/tst-leaks1.c (main): Converted to ...
9335         (do_test): ... this.
9336         (TEST_FUNCTION): New macro.
9337         Include test-skeleton.c.
9338         * localedata/tst-langinfo.c (main): Converted to ...
9339         (do_test): ... this.
9340         (TEST_FUNCTION): New macro.
9341         Include test-skeleton.c.
9342         * math/test-fpucw.c (main): Converted to ...
9343         (do_test): ... this.
9344         (TEST_FUNCTION): New macro.
9345         Include test-skeleton.c.
9346         * math/test-tgmath.c (main): Converted to ...
9347         (do_test): ... this.
9348         (TEST_FUNCTION): New macro.
9349         Include test-skeleton.c.
9350         * math/test-tgmath2.c (main): Converted to ...
9351         (do_test): ... this.
9352         (TEST_FUNCTION): New macro.
9353         Include test-skeleton.c.
9354         * setjmp/tst-setjmp.c (main): Converted to ...
9355         (do_test): ... this.
9356         (TEST_FUNCTION): New macro.
9357         Include test-skeleton.c.
9358         * stdio-common/tst-sscanf.c (main): Converted to ...
9359         (do_test): ... this.
9360         (TEST_FUNCTION): New macro.
9361         Include test-skeleton.c.
9362         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
9363         (do_test): ... this.
9364         (TEST_FUNCTION): New macro.
9365         Include test-skeleton.c.
9367         * elf/tst-audit9.c (main): Converted to ...
9368         (do_test): ... this.
9369         (TEST_FUNCTION): New macro.
9370         Include test-skeleton.c.
9372 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
9374         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
9376 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9378         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
9379         New variable.
9381 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9383         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9385 2015-07-14  Roland McGrath  <roland@hack.frob.com>
9387         * sysdeps/generic/dl-fileid.h: New file.
9388         * sysdeps/posix/dl-fileid.h: New file.
9389         * sysdeps/nacl/dl-fileid.h: New file.
9390         * include/link.h: Include <dl-fileid.h>.
9391         (struct link_map): Replace l_dev and l_ino with l_file_id.
9392         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
9393         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
9394         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
9396 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9398         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
9400 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9402         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
9403         Add iff $CXX is set.
9404         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
9405         Likewise.
9406         (tst-nodelete-zmodiff): Likewise.
9407         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
9409 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9411         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
9413 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9415         * sysdeps/aarch64/fpu/math_private.h
9416         (define math_opt_barrier): Add AArch64 version.
9417         (math_force_eval): Likewise.
9419 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9421         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
9423 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
9425         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
9426         %ld with %jd and cast to intmax_t.
9427         (do_test_length_zero): Likewise.
9429 2015-07-10  Roland McGrath  <roland@hack.frob.com>
9431         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
9433 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
9435         * sysdeps/tile/libm-test-ulps: Regenerated.
9437         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
9438         Comment out the whole function, not just its body.
9440 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9442         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
9443         locks.
9445         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
9447 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9449         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
9450         (sem_assume_only_signals_cause_futex_EINTR): Remove.
9452 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9454         * sysdeps/nptl/futex-internal.h: New file.
9455         * sysdeps/nacl/futex-internal.h: New file.
9456         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
9457         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
9458         error checking.
9459         (setxid_unmark_thread): Likewise.
9460         (__nptl_setxid): Likewise.
9461         (__wait_lookup_done): Likewise.
9462         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
9463         * nptl/nptl-init.c (sighandler_setxid): Likewise.
9464         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
9465         * nptl/pthread_once.c (clear_once_control): Likewise.
9466         (__pthread_once_slow): Likewise.
9467         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9468         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
9469         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
9470         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9471         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
9472         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
9473         Likewise.
9474         (__pthread_rwlock_rdlock): Likewise.
9475         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9476         Likewise.
9477         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9478         Likewise.
9479         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
9480         Likewise.
9481         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
9482         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
9483         Likewise.
9484         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
9485         __ASSUME_PRIVATE_FUTEX check.
9486         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
9487         Check that shared futexes are supported.
9488         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
9489         wrappers with error checking.
9490         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
9491         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
9492         * nptl/pthread_barrierattr_setpshared.c
9493         (pthread_barrierattr_setpshared): Check that shared futexes are
9494         supported.
9495         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
9496         Likewise.
9497         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
9498         Likewise.
9499         * nptl/sem_init.c (futex_private_if_supported): Remove.
9500         (__new_sem_init): Adapt and check that shared futexes are supported.
9501         * nptl/sem_open.c (sem_open): Likewise.
9502         * nptl/sem_post.c (futex_wake): Remove.
9503         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
9504         (do_futex_wait): Use futex wrappers with error checking.
9505         * nptl/sem_wait.c: Include lowlevellock.h.
9506         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
9507         Use futex_supports_pshared.
9508         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
9509         Use futex wrappers with error checking.
9510         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
9511         Likewise.
9512         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
9513         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
9514         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
9515         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
9516         (futex_wake): Likewise.
9517         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
9518         (do_futex_wait): Use futex wrappers with error checking.
9519         (__new_sem_wait_slow): Update EINTR handling.
9520         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
9522 2015-07-09  Martin Sebor  <msebor@redhat.com>
9524         [BZ #18435]
9525         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9526         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
9527         * nptl/Makefile (test-xfail-tst-once5): Define.
9529 2015-07-09  Roland McGrath  <roland@hack.frob.com>
9531         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
9532         * elf/dl-minimal.c: For readability, reorder some definitions and
9533         introduce more page breaks.  Include <stdio.h>.
9534         (__libc_fatal): New function.
9536         * include/unistd.h: Add rtld_hidden_proto for _exit.
9537         * posix/_exit.c: Add rtld_hidden_def.
9538         * sysdeps/mach/hurd/_exit.c: Likewise.
9539         * sysdeps/nacl/_exit.c: Likewise.
9540         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
9541         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
9543 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
9545         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
9546         bndmov encoding with zero displacement.
9548 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
9549             H.J. Lu  <hongjiu.lu@intel.com>
9551         [BZ #18134]
9552         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
9553         * sysdeps/i386/configure: Regenerated.
9554         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
9555         (_dl_runtime_profile): Save and restore Intel MPX return bound
9556         registers when calling _dl_call_pltexit.  Add
9557         PRESERVE_BND_REGS_PREFIX before return.
9558         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
9559         (LRV_BND1_OFFSET): Likewise.
9560         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
9561         lrv_bnd1.
9562         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
9563         typo in bndmov encoding.
9564         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
9565         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
9566         branch instructions to preserve bounds.
9568 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9571         [GLIBC_2.22]: Add fmemopen.
9573 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9575         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
9576         returns an error, also try to use host port from __mach_host_self for
9577         the __vm_wire call.
9578         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
9580 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9582         [BZ #18400]
9583         [BZ #18648]
9584         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
9585         Fix pr_uid and pr_gid members.
9586         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
9587         definition to elf_greg_t.
9589 2015-07-08  Roland McGrath  <roland@hack.frob.com>
9591         [BZ #18383]
9592         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
9593         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
9594         * sysdeps/arm/configure: Regenerated.
9595         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
9596         (test-xfail-tst-tlsalign-static): Variable removed.
9598         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
9599         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
9600         rather than explicit 'ln -s'.
9602         * resolv/rpc/netdb.h: New file.
9603         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
9605 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9607         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
9608         length buffers.
9609         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9610         test-skeleton.c.
9612         [BZ #6544]
9613         [BZ #11216]
9614         [BZ #12836]
9615         [BZ #13151]
9616         [BZ #13152]
9617         [BZ #14292]
9618         * include/stdio.h (fmemopen): Remove hidden prototype.
9619         (__fmemopen): Add new hidden prototype.
9620         * libio/Makefile: Add oldfmemopen object.
9621         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
9622         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
9623         compliance.
9624         * libio/oldfmemopen.c: New file: old fmemopen implementation for
9625         symbol compatibility.
9626         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
9627         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
9628         fmemopen.
9629         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
9630         on append and read mode.
9631         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
9632         fmemopen.
9633         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
9634         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
9635         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
9636         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
9637         Likewise.
9638         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9639         [GLIBC_2.22]: Likewise.
9640         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
9641         Likewise.
9642         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
9643         Likewise.
9644         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9645         [GLIBC_2.22]: Likewise.
9646         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9647         [GLIBC_2.22]: Likewise.
9648         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9649         [GLIBC_2.22]: Likewise.
9650         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9651         [GLIBC_2.22]: Likewise.
9652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9653         [GLIBC_2.22]: Likewise.
9654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9655         [GLIBC_2.22]: Likewise.
9656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9657         [GLIBC_2.22]: Likewise.
9658         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
9659         Likewise.
9660         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
9661         Likewise.
9662         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
9663         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9664         [GLIBC_2.22]: Likewise.
9665         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9666         [GLIBC_2.22]: Likewise.
9667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9668         [GLIBC_2.22]: Likewise.
9669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9670         [GLIBC_2.22]: Likewise.
9671         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
9672         Likewise.
9673         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
9674         Likewise.
9675         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
9676         Likewise.
9677         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
9678         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
9680 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
9682         [BZ #18643]
9683         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
9684         IPV6_PATHMTU, and IPV6_DONTFRAG.
9686 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
9688         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
9689         and _IO_UNBUFFERED.
9690         * libio/oldfileops.c: Likewise.
9691         * libio/wfileops.c: Likewise.
9693 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
9695         * nscd/selinux.c: Delete selinux/flask.h include.
9697 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
9699         [BZ #18641]
9700         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
9701         (putpwent): Likewise.
9702         (getpwnam): Likewise.
9703         (getpwent_r): Likewise.
9704         (getpwuid_r): Likewise.
9705         (getpwnam_r): Likewise.
9706         (fgetpwent_r): Likewise.
9708 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
9710         [BZ #18557]
9711         * inet/rcmd.c (__validuser2_sa): Check user first to
9712         short-circuit host check.
9714 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
9715             Mikhail Ilin  <m.ilin@samsung.com>
9717         [BZ #17833]
9718         * elf/Makefile (tests): Add tst-nodelete.
9719         (modules-names): Add tst-nodelete-uniquemod.
9720         (tst-nodelete-uniquemod.so-no-z-defs): New.
9721         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
9722         (tst-nodelete-zmod.so-no-z-defs): Likewise.
9723         ($(objpfx)tst-nodelete): Likewise.
9724         ($(objpfx)tst-nodelete.out): Likewise.
9725         (LDFLAGS-tst-nodelete): Likewise.
9726         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
9727         * elf/dl-close.c (_dl_close_worker): Add a parameter to
9728         implement forced object deletion.
9729         (_dl_close): Pass false to _dl_close_worker.
9730         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
9731         * elf/tst-nodelete.cc: New file.
9732         * elf/tst-nodeletelib.cc: Likewise.
9733         * elf/tst-znodeletelib.cc: Likewise.
9734         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
9736 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9738         [BZ #18508]
9739         * stdlib/Makefile ($(objpfx)tst-makecontext3):
9740         Depend on $(libdl).
9741         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
9742         is not called infinitely times.
9743         (backtrace_helper): New function.
9744         (trace_arg): New struct.
9745         (st1): Enlarge stack size.
9746         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9747         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
9748         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9749         Likewise.
9751 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9753         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9755 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9757         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
9758         Include sys/types.h instead of bits/types.h.
9759         Remove inclusion of bits/wordsize.h.
9761 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9763         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
9764         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
9765         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
9766         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
9767         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
9768         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
9770 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9772         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
9773         link-defines.sym.
9774         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
9775         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
9776         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
9777         and LR_SIZE.
9778         * sysdeps/i386/link-defines.sym: New file.
9780 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9782         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
9783         (modules-names): Add tst-auditmod3a tst-auditmod3b.
9784         ($(objpfx)tst-audit3): New rule.
9785         ($(objpfx)tst-audit3.out): Likewise.
9786         * sysdeps/i386/tst-audit3.c: New file.
9787         * sysdeps/i386/tst-audit3.h: Likewise.
9788         * sysdeps/i386/tst-auditmod3a.c: Likewise.
9789         * sysdeps/i386/tst-auditmod3b.c: Likewise.
9791 2015-07-07  Torvald Riegel  <triegel@redhat.com>
9793         [BZ #18633]
9794         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
9795         pointer in C code.
9796         (__strcat_c): Likewise.
9797         (__strcat_g): Likewise.
9799 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
9801         [BZ #18592]
9802         * misc/sbrk.c: Set errno to ENOMEM on overflow.
9804 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
9806         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
9807         New function.  (__ieee754_sqrtf): New function.
9808         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
9809         New function.
9810         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
9811         New function.
9813 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
9815         * sysdeps/ieee754/support.c: Remove unused file.
9817 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9819         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
9820         registers instead of d ones so the layout is kernel abi compatible.
9821         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
9822         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
9823         Likewise.
9825 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9827         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9829 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
9831         [BZ #18619]
9832         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
9833         and return argument in case of subnormal argument.
9835 2015-07-01  Martin Sebor  <msebor@redhat.com>
9837         [BZ #18435]
9838         * nptl/Makefile: Add tst-once5.cc.
9839         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9840         Remove macro redefinitions.
9841         * nptl/tst-once5.cc: New test.
9843 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
9845         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9847         * sysdeps/arm/libm-test-ulps: Regenerated.
9849         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9850         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9852 2015-06-30  Torvald Riegel  <triegel@redhat.com>
9854         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
9855         lll_lock_wait_private and lll_futex_wake probes.
9857         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
9858         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
9859         Likewise.
9860         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
9861         atomic_spin_nop.
9862         * sysdeps/x86_64/bits/atomic.h: Likewise.
9863         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
9864         to atomic_spin_nop and move ...
9865         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9866         ... here and ...
9867         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
9868         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9869         atomic_spin_nop instead of BUSY_WAIT_NOP.
9870         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
9871         Likewise.
9872         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
9873         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
9874         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
9875         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
9876         instead of atomic_delay.
9878 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
9880         [BZ #18613]
9881         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
9882         X_ADJ not X when adjusting exponent.
9883         (__ieee754_gamma_r): Do intermediate computations in
9884         round-to-nearest then adjust overflowing and underflowing results
9885         as needed.
9886         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
9887         of X_ADJ not X when adjusting exponent.
9888         (__ieee754_gammaf_r): Do intermediate computations in
9889         round-to-nearest then adjust overflowing and underflowing results
9890         as needed.
9891         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
9892         log of X_ADJ not X when adjusting exponent.
9893         (__ieee754_gammal_r): Do intermediate computations in
9894         round-to-nearest then adjust overflowing and underflowing results
9895         as needed.  Use 1.0L not 1.0f as numerator of division.
9896         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
9897         log of X_ADJ not X when adjusting exponent.
9898         (__ieee754_gammal_r): Do intermediate computations in
9899         round-to-nearest then adjust overflowing and underflowing results
9900         as needed.  Use 1.0L not 1.0f as numerator of division.
9901         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
9902         of X_ADJ not X when adjusting exponent.
9903         (__ieee754_gammal_r): Do intermediate computations in
9904         round-to-nearest then adjust overflowing and underflowing results
9905         as needed.  Use 1.0L not 1.0f as numerator of division.
9906         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
9907         to auto-libm-test-in.
9908         (tgamma_test): Use ALL_RM_TEST.
9909         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
9910         tests of tgamma with spurious-overflow.
9911         * math/auto-libm-test-out: Regenerated.
9912         * math/gen-libm-have-vector-test.sh: Do not check for START.
9913         * sysdeps/i386/fpu/libm-test-ulps: Update.
9914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9916         [BZ #18612]
9917         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
9918         arguments, just return 0.5 times the argument, with underflow
9919         forced as needed.
9920         * math/auto-libm-test-in: Add more tests of j1.
9921         * math/auto-libm-test-out: Regenerated.
9923         [BZ #16559]
9924         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
9925         (__ieee754_j1): Force underflow exception for small results.
9926         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9927         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
9928         (__ieee754_j1f): Force underflow exception for small results.
9929         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9930         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9931         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9932         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
9933         (__ieee754_j1l): Force underflow exception for small results.
9934         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9935         * math/auto-libm-test-in: Add more tests of j1 and jn.
9936         * math/auto-libm-test-out: Regenerated.
9938         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
9939         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
9940         (PF_MPLS): Likewise.
9941         (AF_IB): Likewise.
9942         (AF_MPLS): Likewise.
9943         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
9944         value and macro.
9945         (MS_RMT_MASK): Include MS_LAZYTIME.
9947 2015-06-26  Mel Gorman  <mgorman@suse.de>
9949         [BZ #18502]
9950         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
9951         already minimal.
9953 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
9955         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
9956         (DT_MIPS_NUM): Update.
9957         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
9958         DT_MIPS_RLD_MAP_REL.
9960 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
9962         [BZ #16559]
9963         [BZ #18602]
9964         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
9965         round-to-nearest internally then recompute results that
9966         underflowed to zero in the original rounding mode.
9967         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9968         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9969         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9970         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
9971         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
9972         * sysdeps/i386/fpu/libm-test-ulps: Update.
9973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9975 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
9977         * NEWS: Fixed description of link with vector math library.
9979 2015-06-25  Andreas Schwab  <schwab@suse.de>
9981         [BZ #18549]
9982         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
9983         * libio/test-fmemopen.c (do_test): Add test for it.
9985 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
9987         [BZ #17841]
9988         * Makeconfig (no-pie-ldflag): New.
9989         (+link): Set to $(+link-pie) if default to PIE.
9990         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
9991         * config.make.in (build-pie-default): New.
9992         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
9993         is default.  AC_SUBST.
9994         * configure: Regenerated.
9995         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
9997 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9999         * nptl/descr.h (struct pthread): Change type of field setxid_futex
10000         to 'unsigned int'.
10002         * resolv/gai_misc.h (struct waitlist): Change type of field
10003         counterp to 'volatile unsigned int *'.
10004         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
10005         FUTEXADDR and OLDVAL.
10006         * resolv/getaddrinfo_a.c (getaddrinfo_a):
10007         Give local variable TOTAL type 'volatile unsigned int'.
10008         (struct async_waitlist): Change type of field counter to 'unsigned int'.
10009         * resolv/gai_suspend.c (gai_suspend):
10010         Give local variable CNTR type 'unsigned int'.
10012         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
10013         counterp to 'volatile unsigned int *'.
10014         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
10015         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
10016         (aio_suspend): Give local variable CNTR type 'unsigned int'.
10017         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
10018         Give local variable TOTAL type 'volatile unsigned int'.
10019         (struct async_waitlist): Change type of field counter to 'unsigned int'.
10021 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10023         [BZ #18383]
10024         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
10025         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
10026         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
10027         comment for i386/x86-64.
10028         (test-xfail-tst-tlsalign-extern-static): Removed.
10030 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10032         * math/test-double.h: New file.
10033         * math/test-float.h: Likewise.
10034         * math/test-ldouble.h: Likewise.
10035         * math/test-math-inline.h: Likewise.
10036         * math/test-math-no-inline.h: Likewise.
10037         * math/test-math-scalar.h: Likewise.
10038         * math/test-math-vector.h: Likewise.
10039         * math/test-vec-loop.h: Remove file.  Contents moved into
10040         test-math-vector.h.
10041         * math/libm-test.inc (MATHCONST): Do not document macro.
10042         * math/test-double.c: Include test-double.h, test-math-no-inline.h
10043         and test-math-scalar.h.
10044         (FUNC): Remove macro.
10045         (FUNC_TEST): Likewise.
10046         (FLOAT): Likewise.
10047         (MATHCONST): Likewise.
10048         (PRINTF_EXPR): Likewise.
10049         (PRINTF_XEXPR): Likewise.
10050         (PRINTF_NEXPR): Likewise.
10051         (TEST_DOUBLE): Likewise.
10052         (TEST_MATHVEC): Likewise.
10053         (__NO_MATH_INLINES): Likewise.
10054         * math/test-float.c: Include test-float.h, test-math-no-inline.h
10055         and test-math-scalar.h.
10056         (FUNC): Remove macro.
10057         (FUNC_TEST): Likewise.
10058         (FLOAT): Likewise.
10059         (MATHCONST): Likewise.
10060         (PRINTF_EXPR): Likewise.
10061         (PRINTF_XEXPR): Likewise.
10062         (PRINTF_NEXPR): Likewise.
10063         (TEST_FLOAT): Likewise.
10064         (TEST_MATHVEC): Likewise.
10065         (__NO_MATH_INLINES): Likewise.
10066         * math/test-idouble.c: Include test-double.h, test-math-inline.h
10067         and test-math-scalar.h.
10068         (FUNC): Remove macro.
10069         (FUNC_TEST): Likewise.
10070         (FLOAT): Likewise.
10071         (MATHCONST): Likewise.
10072         (PRINTF_EXPR): Likewise.
10073         (PRINTF_XEXPR): Likewise.
10074         (PRINTF_NEXPR): Likewise.
10075         (TEST_DOUBLE): Likewise.
10076         (TEST_MATHVEC): Likewise.
10077         (TEST_INLINE): Likewise.
10078         (__NO_MATH_INLINES): Likewise.
10079         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
10080         test-math-scalar.h.
10081         (FUNC): Remove macro.
10082         (FUNC_TEST): Likewise.
10083         (FLOAT): Likewise.
10084         (MATHCONST): Likewise.
10085         (PRINTF_EXPR): Likewise.
10086         (PRINTF_XEXPR): Likewise.
10087         (PRINTF_NEXPR): Likewise.
10088         (TEST_FLOAT): Likewise.
10089         (TEST_MATHVEC): Likewise.
10090         (TEST_INLINE): Likewise.
10091         (__NO_MATH_INLINES): Likewise.
10092         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
10093         and test-math-scalar.h.
10094         (FUNC): Remove macro.
10095         (FUNC_TEST): Likewise.
10096         (FLOAT): Likewise.
10097         (MATHCONST): Likewise.
10098         (PRINTF_EXPR): Likewise.
10099         (PRINTF_XEXPR): Likewise.
10100         (PRINTF_NEXPR): Likewise.
10101         (TEST_LDOUBLE): Likewise.
10102         (TEST_MATHVEC): Likewise.
10103         (TEST_INLINE): Likewise.
10104         (__NO_MATH_INLINES): Likewise.
10105         * math/test-ldouble.c: Include test-ldouble.h,
10106         test-math-no-inline.h and test-math-scalar.h.
10107         (FUNC): Remove macro.
10108         (FUNC_TEST): Likewise.
10109         (FLOAT): Likewise.
10110         (MATHCONST): Likewise.
10111         (PRINTF_EXPR): Likewise.
10112         (PRINTF_XEXPR): Likewise.
10113         (PRINTF_NEXPR): Likewise.
10114         (TEST_LDOUBLE): Likewise.
10115         (TEST_MATHVEC): Likewise.
10116         (__NO_MATH_INLINES): Likewise.
10117         * math/test-double-vlen2.h: Include test-double.h,
10118         test-math-no-inline.h and test-math-vector.h.
10119         (FLOAT): Remove macro.
10120         (FUNC): Likewise.
10121         (MATHCONST): Likewise.
10122         (PRINTF_EXPR): Likewise.
10123         (PRINTF_XEXPR): Likewise.
10124         (PRINTF_NEXPR): Likewise.
10125         (TEST_DOUBLE): Likewise.
10126         (TEST_MATHVEC): Likewise.
10127         (__NO_MATH_INLINES): Likewise.
10128         (CNCT): Likewise.
10129         (CONCAT): Likewise.
10130         (WRAPPER_NAME): Likewise.
10131         (WRAPPER_DECL): Likewise.
10132         (WRAPPER_DECL_ff): Likewise.
10133         (WRAPPER_DECL_fFF): Likewise.
10134         (VECTOR_WRAPPER): Likewise.
10135         (VECTOR_WRAPPER_ff): Likewise.
10136         (VECTOR_WRAPPER_fFF): Likewise.
10137         (VEC_LEN): New macro.
10138         * math/test-double-vlen4.h: Include test-double.h,
10139         test-math-no-inline.h and test-math-vector.h.
10140         (FLOAT): Remove macro.
10141         (FUNC): Likewise.
10142         (MATHCONST): Likewise.
10143         (PRINTF_EXPR): Likewise.
10144         (PRINTF_XEXPR): Likewise.
10145         (PRINTF_NEXPR): Likewise.
10146         (TEST_DOUBLE): Likewise.
10147         (TEST_MATHVEC): Likewise.
10148         (__NO_MATH_INLINES): Likewise.
10149         (CNCT): Likewise.
10150         (CONCAT): Likewise.
10151         (WRAPPER_NAME): Likewise.
10152         (WRAPPER_DECL): Likewise.
10153         (WRAPPER_DECL_ff): Likewise.
10154         (WRAPPER_DECL_fFF): Likewise.
10155         (VECTOR_WRAPPER): Likewise.
10156         (VECTOR_WRAPPER_ff): Likewise.
10157         (VECTOR_WRAPPER_fFF): Likewise.
10158         (VEC_LEN): New macro.
10159         * math/test-double-vlen8.h: Include test-double.h,
10160         test-math-no-inline.h and test-math-vector.h.
10161         (FLOAT): Remove macro.
10162         (FUNC): Likewise.
10163         (MATHCONST): Likewise.
10164         (PRINTF_EXPR): Likewise.
10165         (PRINTF_XEXPR): Likewise.
10166         (PRINTF_NEXPR): Likewise.
10167         (TEST_DOUBLE): Likewise.
10168         (TEST_MATHVEC): Likewise.
10169         (__NO_MATH_INLINES): Likewise.
10170         (CNCT): Likewise.
10171         (CONCAT): Likewise.
10172         (WRAPPER_NAME): Likewise.
10173         (WRAPPER_DECL): Likewise.
10174         (WRAPPER_DECL_ff): Likewise.
10175         (WRAPPER_DECL_fFF): Likewise.
10176         (VECTOR_WRAPPER): Likewise.
10177         (VECTOR_WRAPPER_ff): Likewise.
10178         (VECTOR_WRAPPER_fFF): Likewise.
10179         (VEC_LEN): New macro.
10180         * math/test-float-vlen4.h: Include test-float.h,
10181         test-math-no-inline.h and test-math-vector.h.
10182         (FLOAT): Remove macro.
10183         (FUNC): Likewise.
10184         (MATHCONST): Likewise.
10185         (PRINTF_EXPR): Likewise.
10186         (PRINTF_XEXPR): Likewise.
10187         (PRINTF_NEXPR): Likewise.
10188         (TEST_FLOAT): Likewise.
10189         (TEST_MATHVEC): Likewise.
10190         (__NO_MATH_INLINES): Likewise.
10191         (CNCT): Likewise.
10192         (CONCAT): Likewise.
10193         (WRAPPER_NAME): Likewise.
10194         (WRAPPER_DECL): Likewise.
10195         (WRAPPER_DECL_ff): Likewise.
10196         (WRAPPER_DECL_fFF): Likewise.
10197         (VECTOR_WRAPPER): Likewise.
10198         (VECTOR_WRAPPER_ff): Likewise.
10199         (VECTOR_WRAPPER_fFF): Likewise.
10200         (VEC_LEN): New macro.
10201         * math/test-float-vlen8.h: Include test-float.h,
10202         test-math-no-inline.h and test-math-vector.h.
10203         (FLOAT): Remove macro.
10204         (FUNC): Likewise.
10205         (MATHCONST): Likewise.
10206         (PRINTF_EXPR): Likewise.
10207         (PRINTF_XEXPR): Likewise.
10208         (PRINTF_NEXPR): Likewise.
10209         (TEST_FLOAT): Likewise.
10210         (TEST_MATHVEC): Likewise.
10211         (__NO_MATH_INLINES): Likewise.
10212         (CNCT): Likewise.
10213         (CONCAT): Likewise.
10214         (WRAPPER_NAME): Likewise.
10215         (WRAPPER_DECL): Likewise.
10216         (WRAPPER_DECL_ff): Likewise.
10217         (WRAPPER_DECL_fFF): Likewise.
10218         (VECTOR_WRAPPER): Likewise.
10219         (VECTOR_WRAPPER_ff): Likewise.
10220         (VECTOR_WRAPPER_fFF): Likewise.
10221         (VEC_LEN): New macro.
10222         * math/test-float-vlen16.h: Include test-float.h,
10223         test-math-no-inline.h and test-math-vector.h.
10224         (FLOAT): Remove macro.
10225         (FUNC): Likewise.
10226         (MATHCONST): Likewise.
10227         (PRINTF_EXPR): Likewise.
10228         (PRINTF_XEXPR): Likewise.
10229         (PRINTF_NEXPR): Likewise.
10230         (TEST_FLOAT): Likewise.
10231         (TEST_MATHVEC): Likewise.
10232         (__NO_MATH_INLINES): Likewise.
10233         (CNCT): Likewise.
10234         (CONCAT): Likewise.
10235         (WRAPPER_NAME): Likewise.
10236         (WRAPPER_DECL): Likewise.
10237         (WRAPPER_DECL_ff): Likewise.
10238         (WRAPPER_DECL_fFF): Likewise.
10239         (VECTOR_WRAPPER): Likewise.
10240         (VECTOR_WRAPPER_ff): Likewise.
10241         (VECTOR_WRAPPER_fFF): Likewise.
10242         (VEC_LEN): New macro.
10243         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
10244         test-vec-loop.h.
10245         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10246         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10247         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10248         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10249         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10250         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10251         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10253 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10255         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
10256         (__getlogin_r): ... this.
10258 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10260         [BZ #18594]
10261         * math/s_ccosh.c (__ccosh): Compare with least normal value
10262         instead of comparing class with FP_SUBNORMAL.
10263         * math/s_ccoshf.c (__ccoshf): Likewise.
10264         * math/s_ccoshl.c (__ccoshl): Likewise.
10265         * math/s_cexp.c (__cexp): Likewise.
10266         * math/s_cexpf.c (__cexpf): Likewise.
10267         * math/s_cexpl.c (__cexpl): Likewise.
10268         * math/s_csin.c (__csin): Likewise.
10269         * math/s_csinf.c (__csinf): Likewise.
10270         * math/s_csinh.c (__csinh): Likewise.
10271         * math/s_csinhf.c (__csinhf): Likewise.
10272         * math/s_csinhl.c (__csinhl): Likewise.
10273         * math/s_csinl.c (__csinl): Likewise.
10274         * math/s_ctan.c (__ctan): Likewise.
10275         * math/s_ctanf.c (__ctanf): Likewise.
10276         * math/s_ctanh.c (__ctanh): Likewise.
10277         * math/s_ctanhf.c (__ctanhf): Likewise.
10278         * math/s_ctanhl.c (__ctanhl): Likewise.
10279         * math/s_ctanl.c (__ctanl): Likewise.
10280         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
10281         csin, csinh, ctan and ctanh.
10282         * math/auto-libm-test-out: Regenerated.
10283         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
10284         * sysdeps/i386/fpu/libm-test-ulps: Update.
10285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10287 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10289         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
10290         return value is wrong, print the expected value too.
10292 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10294         [BZ #18585]
10295         * elf/readlib.c (is_gdb_python_file): New.
10296         (process_file): Don't issue errors on filenames with -gdb.py
10297         suffix.
10299 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10301         * math/auto-libm-test-in: Add more tests of csin and csinh.
10302         * math/auto-libm-test-out: Regenerated.
10303         * math/libm-test.inc (csin_test_data): Remove tests moved to
10304         auto-libm-test-in.
10305         (csinh_test_data): Likewise.
10307         [BZ #18593]
10308         * math/s_csin.c (__csin): Negate before rather than after possibly
10309         overflowing multiplication.
10310         * math/s_csinf.c (__csinf): Likewise.
10311         * math/s_csinh.c (__csinh): Likewise.
10312         * math/s_csinhf.c (__csinhf): Likewise.
10313         * math/s_csinhl.c (__csinhl): Likewise.
10314         * math/s_csinl.c (__csinl): Likewise.
10315         * math/auto-libm-test-in: Add some tests of csin and csinh.
10316         * math/auto-libm-test-out: Regenerated.
10317         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
10318         (csinh_test_data): Likewise.
10319         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10321         [BZ #18586]
10322         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
10323         underflow exception for small results.
10325 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10327         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10328         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
10329         variable and included header.
10330         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
10331         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
10332         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
10333         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
10334         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
10335         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10336         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10337         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
10338         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
10339         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
10340         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
10341         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
10342         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
10343         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
10344         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
10345         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
10347 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10349         [BZ #16526]
10350         [BZ #16538]
10351         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
10352         (__sin): Force underflow exception for arguments with small
10353         absolute value.
10354         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
10355         (__kernel_sinf): Force underflow exception for arguments with
10356         small absolute value.
10357         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
10358         (__kernel_sincosl): Force underflow exception for arguments with
10359         small absolute value.
10360         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
10361         (__kernel_sinl): Force underflow exception for arguments with
10362         small absolute value.
10363         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
10364         (__kernel_sincosl): Force underflow exception for arguments with
10365         small absolute value.
10366         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
10367         (__kernel_sinl): Force underflow exception for arguments with
10368         small absolute value.
10369         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
10370         (__kernel_sinl): Force underflow exception for arguments with
10371         small absolute value.
10372         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
10373         (__kernel_sinf): Force underflow exception for arguments with
10374         small absolute value.
10375         * math/auto-libm-test-in: Add more tests of sin and sincos.
10376         * math/auto-libm-test-out: Regenerated.
10378         [BZ #18245]
10379         [BZ #18583]
10380         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
10381         (__kernel_standard_l): Use feholdexcept and fesetenv around
10382         conversion to double instead of special-casing overflow and
10383         underflow.
10384         * math/libm-test.inc (fmod_test_data): Add more tests.
10385         (remainder_test_data): Likewise.
10386         (sqrt_test_data): Likewise.
10388 2015-06-23  Torvald Riegel  <triegel@redhat.com>
10390         [BZ #17403]
10391         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
10392         atomic_read_barrier, atomic_write_barrier): Define.
10393         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
10394         atomic_read_barrier, atomic_write_barrier): Define.
10396 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10398         * math/Makefile [$(PERL) != no]
10399         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
10400         dependency on libm-test.stmp below the inclusion of Rules.
10402 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
10404         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10405         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
10406         and included header.
10407         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
10408         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
10409         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
10410         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
10411         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
10412         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
10413         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10414         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10415         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
10416         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
10417         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
10418         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
10419         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
10420         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
10421         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
10422         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
10423         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
10424         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
10425         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
10427 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10429         [BZ #18371]
10430         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
10431         intermediate but not final result might underflow.
10432         * math/s_csqrtf.c (__csqrtf): Likewise.
10433         * math/s_csqrtl.c (__csqrtl): Likewise.
10434         * math/auto-libm-test-in: Add more tests of csqrt.
10435         * math/auto-libm-test-out: Regenerated.
10436         * sysdeps/i386/fpu/libm-test-ulps: Update.
10438         [BZ #18219]
10439         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
10440         threshold on absolute value of exponent for which scaling is used.
10441         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10442         * math/auto-libm-test-in: Add more tests of exp2.
10443         * math/auto-libm-test-out: Regenerated.
10445 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
10447         [BZ #17977]
10448         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
10449         when initializing interface list, based on the bug analysis
10450         and the patch proposed by Eric Newton.
10451         * resolv/tst-res_hconf_reorder.c: New test.
10452         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
10453         tst-res_hconf_reorder.
10454         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
10455         and $(shared-thread-library).
10456         (tst-res_hconf_reorder-ENV): New variable.
10458         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
10459         in comment.
10461 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
10463         [BZ #16353]
10464         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
10465         (__expm1): Force underflow exception for arguments with small
10466         absolute value.
10467         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
10468         (__expm1f): Force underflow exception for arguments with small
10469         absolute value.
10470         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
10471         (__expm1): Force underflow exception for arguments with small
10472         absolute value.
10473         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
10474         (__expm1f): Force underflow exception for arguments with small
10475         absolute value.
10476         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10477         Check for small arguments before calling __expm1.
10478         * math/auto-libm-test-in: Do not mark underflow exceptions as
10479         possibly missing for bug 16353.
10480         * math/auto-libm-test-out: Regenerated.
10482 2015-06-22  Andreas Schwab  <schwab@suse.de>
10484         [BZ #18513]
10485         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
10486         PTR queries.
10488 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
10490         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
10492         * string/strcoll_l.c: Remove unused struct element idxnow.
10494 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
10496         [BZ #18569]
10497         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
10498         underflow and return argument in case of subnormal argument.
10499         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10500         Likewise.
10501         * math/auto-libm-test-in: Add more tests of expm1.
10502         * math/auto-libm-test-out: Regenerated.
10504         [BZ #16361]
10505         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10506         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10507         tiny results.
10508         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10509         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10510         tiny results.
10511         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
10512         mark underflow exceptions as possibly missing for bug 16361.
10513         * math/auto-libm-test-out: Regenerated.
10515 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
10517         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
10518         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
10519         Remove variable.
10520         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10521         (test-xfail-XOPEN2K8/utmpx.h/conform).
10523         * conform/conformtest.pl ($xerrors): New variable.
10524         (note_error): New function.
10525         (compiletest): New argument $xfail.  Use not_error.
10526         (runtest): Likewise.
10527         (top level): Handle xfail- lines.  Update calls to compiletest and
10528         runtest.  Handle xfail- and optional- in headers listed with
10529         allow-header.
10530         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
10531         (O_EXEC): Likewise.
10532         (O_SEARCH): Likewise.
10533         * conform/data/stropts.h-data (ioctl): Likewise.
10534         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
10535         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
10536         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
10537         (msghdr.msg_controllen): Likewise.
10538         (cmsghdr.cmsg_len): Likewise.
10539         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
10540         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
10541         variable.
10542         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10543         (test-xfail-XPG4/stropts.h/conform): Likewise.
10544         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10545         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10546         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10547         (test-xfail-UNIX98/stropts.h/conform): Likewise.
10548         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10549         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10550         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10551         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10552         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10553         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10554         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10555         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10556         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10557         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10558         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10559         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10560         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10561         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10562         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10564 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10566         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
10567         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
10568         definitions for proper unfolding of __MATHDECL_VEC.
10570 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10572         * benchtests/bench-strcoll.c:
10573         Include string.h.
10574         (main): Remove unused variable res.
10576 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10578         * timezone/Makefile (%/UTC %/Universal):
10579         Generate test-result files for UTC and Universal.
10581 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10583         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10585 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
10587         [BZ #16350]
10588         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
10589         for arguments with small absolute value.
10590         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
10591         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
10592         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
10593         (__asinh): Force underflow exception for arguments with small
10594         absolute value.
10595         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
10596         (__asinhf): Force underflow exception for arguments with small
10597         absolute value.
10598         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
10599         (__asinhl): Force underflow exception for arguments with small
10600         absolute value.
10601         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
10602         (__asinhl): Force underflow exception for arguments with small
10603         absolute value.
10604         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
10605         (__asinhl): Force underflow exception for arguments with small
10606         absolute value.
10607         * math/auto-libm-test-in: Do not mark underflow exceptions as
10608         possibly missing for bug 16350.
10609         * math/auto-libm-test-out: Regenerated.
10611         * include/bits/ipc.h: Remove file.
10612         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
10613         variable.
10614         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10615         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10616         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10617         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10618         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10619         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10620         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10621         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10622         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10624         * math/auto-libm-test-in: Remove spurious underflow allowance for
10625         tests of cexp.
10626         * math/auto-libm-test-out: Regenerated.
10628         [BZ #18558]
10629         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
10630         unconditional definition.
10631         (MCAST_BLOCK_SOURCE): Likewise.
10632         (MCAST_UNBLOCK_SOURCE): Likewise.
10633         (MCAST_LEAVE_GROUP): Likewise.
10634         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10635         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10636         (MCAST_MSFILTER): Likewise.
10637         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
10638         Remove variable.
10639         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10640         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10641         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10642         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10643         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10645 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
10647         * NEWS: Mention addition of x86_64 vector sincosf.
10648         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
10649         * math/test-float-vlen4.h: Likewise.
10650         * math/test-float-vlen8.h: Likewise.
10651         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10652         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
10653         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10654         * sysdeps/x86_64/fpu/Versions: New versions added.
10655         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10656         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10657         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10658         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
10659         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10660         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
10661         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10662         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
10663         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10664         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
10665         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
10666         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
10667         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
10668         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
10669         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
10670         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
10671         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
10672         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10673         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10674         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10675         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10676         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10677         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10678         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10680         * NEWS: Mention addition of x86_64 vector sincos.
10681         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
10682         * math/math.h (__MATHDECL_VEC): New macro.
10683         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
10684         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
10685         declaration under condition.
10686         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
10687         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
10688         TEST_VEC_LOOP change.
10689         * math/test-double-vlen4.h: Likewise.
10690         * math/test-double-vlen8.h: Likewise.
10691         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
10692         * math/test-float-vlen4.h: Likewise.
10693         * math/test-float-vlen8.h: Likewise.
10694         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10695         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
10696         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10697         * sysdeps/x86_64/fpu/Versions: New versions added.
10698         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10699         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10700         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10701         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
10702         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
10703         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
10704         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
10705         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
10706         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
10707         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
10708         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
10709         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
10710         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
10711         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
10712         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
10713         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
10714         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
10715         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10716         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10717         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10718         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10719         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10720         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10721         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10723         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10724         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10725         redirections for powf.
10726         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10727         * sysdeps/x86_64/fpu/Versions: New versions added.
10728         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10729         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10730         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10731         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
10732         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
10733         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
10734         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
10735         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
10736         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
10737         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
10738         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
10739         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
10740         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
10741         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
10742         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
10743         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
10744         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
10745         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10746         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10747         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10748         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10749         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10750         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10751         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10752         * math/test-float-vlen16.h: Fixed 2 argument macro.
10753         * math/test-float-vlen4.h: Likewise.
10754         * math/test-float-vlen8.h: Likewise.
10755         * NEWS: Mention addition of x86_64 vector powf.
10757 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
10759         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10760         and redefine.
10761         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10762         and redefine.
10763         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
10764         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10765         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10767         [BZ #18553]
10768         * resource/getpriority.c (getpriority): Rename to __getpriority
10769         and define as weak alias of __getpriority.
10770         * resource/setpriority.c (setpriority): Rename to __setpriority
10771         and define as weak alias of __setpriority.
10772         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
10773         __getpriority and define as weak alias of __getpriority.
10774         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
10775         __setpriority and define as weak alias of __setpriority.
10776         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
10777         strong name.
10778         (setpriority): Use __setpriority as strong name.
10779         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
10780         __getpriority and define as weak alias of __getpriority.
10781         * include/sys/resource.h (__getpriority): Declare.  Use
10782         libc_hidden_proto.
10783         (__setpriority): Likewise.
10784         (getpriority): Don't use libc_hidden_proto.
10785         (setpriority): Likewise.
10786         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
10787         getpriority.  Call __setpriority instead of setpriority.
10788         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
10789         Remove variable.
10791         [BZ #18547]
10792         * misc/getttyent.c (getttynam): Rename to __getttynam and define
10793         as weak alias of __getttynam.  Use prototype function definition.
10794         Call __setttyent, __getttyent and __endttyent instead of
10795         setttyent, getttyent and endttyent.
10796         (getttyent): Rename to __getttyent and define as weak alias of
10797         __getttyent.  Call __setttyent instead of setttyent.  Call
10798         __fgets_unlocked instead of fgets_unlocked.
10799         (setttyent): Rename to __setttyent and define as weak alias of
10800         __setttyent.
10801         (endttyent): Rename to __endttyent and define as weak alias of
10802         __endttyent.
10803         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
10804         (__setttyent): Likewise.
10805         (__endttyent): Likewise.
10806         (getttyent): Don't use libc_hidden_proto.
10807         (setttyent): Likewise.
10808         (endttyent): Likewise.
10809         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
10810         __endttyent instead of setttyent, getttyent and endttyent.
10811         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
10812         Remove variable.
10814         [BZ #18546]
10815         * socket/recv.c (__recv): Use libc_hidden_def.
10816         * socket/socket.c (__socket): Likewise.
10817         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10818         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10819         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
10820         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
10821         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
10822         libc_hidden_def.
10823         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
10824         libc_hidden_weak.
10825         * include/sys/socket.h (__socket): Do not use attribute_hidden.
10826         Use libc_hidden_proto.
10827         (__recv): Likewise.
10828         * socket/Versions (libc): Export __recv and __socket at version
10829         GLIBC_PRIVATE.
10830         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
10831         instead of recv.
10832         (init_mq_netlink): Call __socket instead of socket.
10833         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
10834         Remove variable.
10836         [BZ #18545]
10837         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
10838         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
10839         hidden_weak.
10840         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
10841         define as alias of __mq_timedsend.  Use hidden_weak.
10842         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
10843         __mq_timedsend as strong name.
10844         (mq_timedreceive): Use __mq_timedreceive as strong name.
10845         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
10846         (__mq_timedreceive): Likewise.
10847         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
10848         __mq_timedreceive instead of mq_timedreceive.
10849         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
10850         instead of mq_timedsend.
10851         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
10852         Remove variable.
10854         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
10855         hidden_def and hidden_weak instead of libc_hidden_def and
10856         libc_hidden_weak.
10857         (top level): Refer to hidden_def in comment.
10858         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
10859         macro.  Use it instead of libc_hidden_def.
10860         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
10861         specify __GI_* name explicitly.
10862         (mq_timedreceive): Likewise.
10863         (mq_setattr): Likewise.
10865         [BZ #18544]
10866         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
10867         __pthread_barrier_init and define as weak alias of
10868         __pthread_barrier_init.
10869         * sysdeps/sparc/nptl/pthread_barrier_init.c
10870         (pthread_barrier_init): Likewise.
10871         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
10872         __pthread_barrier_wait and define as weak alias of
10873         __pthread_barrier_wait.
10874         * sysdeps/sparc/nptl/pthread_barrier_wait.c
10875         (pthread_barrier_wait): Likewise.
10876         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10877         (pthread_barrier_wait): Likewise.
10878         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
10879         (pthread_barrier_wait): Likewise.
10880         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
10881         (pthread_barrier_wait): Likewise.
10882         * nptl/Versions (libpthread): Export __pthread_barrier_init and
10883         __pthread_barrier_wait at version GLIBC_PRIVATE.
10884         * include/pthread.h (__pthread_barrier_init): Declare.
10885         (__pthread_barrier_wait): Likewise.
10886         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
10887         Call __pthread_barrier_wait instead of pthread_barrier_wait.
10888         (helper_thread): Likewise.
10889         (init_mq_netlink): Call __pthread_barrier_init instead of
10890         pthread_barrier_init.
10892         [BZ #18542]
10893         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
10894         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
10895         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
10896         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
10897         vswscanf.
10898         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
10899         Remove variable.
10901         [BZ #18540]
10902         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
10903         strong alias of _IO_fflush.  Use libc_hidden_def.
10904         * libio/iofflush_u.c (fflush_unlocked): Rename to
10905         __fflush_unlocked and define as weak alias of __fflush_unlocked.
10906         Use libc_hidden_weak.
10907         * include/stdio.h (__fflush_unlocked): Declare.  Use
10908         libc_hidden_proto.
10909         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
10910         fflush_unlocked.
10911         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
10912         Remove variable.
10914         [BZ #18539]
10915         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
10916         define as weak alias of __addseverity.
10917         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
10918         Remove variable.
10919         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10920         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10921         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10923         [BZ #18536]
10924         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
10925         (__tfind): Likewise.
10926         (__tdelete): Likewise.
10927         (__twalk): Likewise.
10928         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
10929         __twalk to GLIBC_PRIVATE.
10930         * include/search.h (__tsearch): Use libc_hidden_proto.
10931         (__tfind): Likewise.
10932         (__tdelete): Likewise.
10933         (__twalk): Likewise.
10934         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
10935         Call __tdelete instead of tdelete.
10936         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
10937         tfind.  Call __tsearch instead of tsearch.
10938         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
10939         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
10940         Remove variable.
10941         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10943         [BZ #18534]
10944         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
10945         (dprintf): Define as a weak alias of __dprintf, not a strong
10946         alias.
10947         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
10948         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
10949         dprintf.
10950         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
10951         Remove variable.
10952         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10953         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10955         [BZ #18533]
10956         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
10957         not a strong alias.
10958         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
10959         Remove variable.
10961         [BZ #18532]
10962         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
10963         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
10964         (in6addr_loopback): Rename to __in6addr_loopback and define as
10965         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
10966         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
10967         libc_hidden_proto.
10968         (__in6addr_any): Likewise.
10969         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
10970         in6addr_any.
10971         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
10972         variable.
10973         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10975 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
10977         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
10978         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
10979         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10980         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10981         redirections for pow.
10982         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10983         * sysdeps/x86_64/fpu/Versions: New versions added.
10984         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10985         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10986         build of SSE, AVX2 and AVX512 IFUNC versions.
10987         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
10988         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
10989         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
10990         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
10991         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
10992         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
10993         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
10994         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
10995         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
10996         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
10997         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
10998         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
10999         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
11000         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
11001         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11002         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11003         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11004         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11005         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11006         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11007         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11008         * NEWS: Mention addition of x86_64 vector pow.
11010         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11011         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11012         redirections for expf.
11013         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11014         * sysdeps/x86_64/fpu/Versions: New versions added.
11015         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11016         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11017         build of SSE, AVX2 and AVX512 IFUNC versions.
11018         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
11019         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
11020         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
11021         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
11022         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
11023         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
11024         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
11025         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
11026         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
11027         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
11028         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
11029         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
11030         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
11031         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11032         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11033         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11034         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11035         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11036         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11037         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11038         * NEWS: Mention addition of x86_64 vector expf.
11040         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
11041         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
11042         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11043         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11044         redirections for exp.
11045         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11046         * sysdeps/x86_64/fpu/Versions: New versions added.
11047         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11048         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11049         build of SSE, AVX2 and AVX512 IFUNC versions.
11050         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
11051         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
11052         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
11053         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
11054         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
11055         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
11056         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
11057         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
11058         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
11059         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
11060         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
11061         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
11062         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
11063         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11064         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11065         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11066         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11067         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11068         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11069         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11070         * NEWS: Mention addition of x86_64 vector exp.
11072         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11073         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11074         redirections for logf.
11075         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11076         * sysdeps/x86_64/fpu/Versions: New versions added.
11077         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11078         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11079         build of SSE, AVX2 and AVX512 IFUNC versions.
11080         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
11081         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
11082         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
11083         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
11084         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
11085         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
11086         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
11087         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
11088         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
11089         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
11090         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
11091         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
11092         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
11093         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11094         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11095         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11096         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11097         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11098         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11099         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11100         * NEWS: Mention addition of x86_64 vector logf.
11102         * bits/libm-simd-decl-stubs.h: Added stubs for log.
11103         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
11104         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11105         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11106         redirections for log.
11107         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11108         * sysdeps/x86_64/fpu/Versions: New versions added.
11109         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11110         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11111         build of SSE, AVX2 and AVX512 IFUNC versions.
11112         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
11113         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
11114         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
11115         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
11116         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
11117         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
11118         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
11119         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
11120         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
11121         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
11122         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
11123         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
11124         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
11125         test.
11126         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11127         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11128         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11129         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11130         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11131         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11132         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11133         * NEWS: Mention addition of x86_64 vector log.
11135 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11137         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
11138         cfi_adjust_cfa_offset argument.
11139         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
11140         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
11142         [BZ #18034]
11143         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
11144         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
11145         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
11146         ordering using ldar.
11147         (_dl_tlsdesc_dynamic): Likewise.
11148         (_dl_tlsdesc_return_lazy): Likewise.
11149         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
11150         relaxed atomics instead of volatile and synchronize with release store.
11151         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
11152         volatile.
11153         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11155 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
11157         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11158         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
11159         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11160         * sysdeps/x86_64/fpu/Versions: New versions added.
11161         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11162         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11163         build of SSE, AVX2 and AVX512 IFUNC versions.
11164         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
11165         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
11166         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
11167         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
11168         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
11169         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
11170         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
11171         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
11172         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
11173         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
11174         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
11175         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
11176         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
11177         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11178         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11179         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11180         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11181         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11182         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11183         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11184         * NEWS: Mention addition of x86_64 vector sinf.
11186 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
11188         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
11189         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
11190         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
11191         Remove variable.
11192         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11193         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11195 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11197         [BZ #18530]
11198         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
11199         strong alias of _IO_fputs.  Use libc_hidden_def.
11200         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
11201         and define as weak alias of __fputs_unlocked.  Use
11202         libc_hidden_weak.
11203         * include/stdio.h (__fputs_unlocked): Declare.  Use
11204         libc_hidden_proto.
11205         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
11206         fputs_unlocked.
11208         [BZ #18529]
11209         * resolv/netdb.h [__USE_POSIX]: Change condition to
11210         [__USE_XOPEN2K].
11211         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
11212         not expect.
11213         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
11214         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
11215         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
11216         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
11217         [XPG4 || UNIX98] (AI_ALL): Likewise.
11218         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
11219         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
11220         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
11221         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
11222         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
11223         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
11224         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
11225         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
11226         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
11227         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
11228         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
11229         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
11230         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
11231         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
11232         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
11233         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11234         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11235         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
11236         [XPG4 || UNIX98] (gai_strerror): Likewise.
11237         [XPG4 || UNIX98] (getaddrinfo): Likewise.
11238         [XPG4 || UNIX98] (getnameinfo): Likewise.
11240         [BZ #18528]
11241         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
11242         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
11243         __USE_XOPEN2K8].
11244         (getgrent): Likewise.
11245         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
11246         expect.
11247         [XPG3 || POSIX2008] (endgrent): Likewise.
11248         [XPG3] (setgrent): Likewise.
11249         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
11250         variable.
11251         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11253         [BZ #18527]
11254         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
11255         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
11256         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
11257         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
11258         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
11259         * include/unistd.h (__getlogin_r): Declare.  Use
11260         libc_hidden_proto.
11261         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
11262         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
11263         variable.
11264         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11265         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11266         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11268 2015-06-12  Martin Sebor  <msebor@redhat.com>
11270         [BZ #18512]
11271         * Makerules (check-install-supported): New target.
11272         (install): Add check-install-supported as a dependency.
11273         * manual/install.texi (Installing the C Library): Document
11274         that overriding prefix and exec_prefix is not supported.
11275         Mention DESTDIR.
11276         * INSTALL: Regenerate from the above.
11278 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11280         [BZ #18519]
11281         * posix/Versions (libc): Export __libc_pread at version
11282         GLIBC_PRIVATE.
11283         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
11284         instead of pread.
11285         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
11286         variable.
11288         [BZ #18522]
11289         * misc/efgcvt_r.c
11290         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
11291         (cvt_symbol): Use weak_alias instead of strong_alias.
11292         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
11293         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
11294         Remove variable.
11295         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11296         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11298         [BZ #18520]
11299         * inet/herrno.c (h_errno): Rename to __h_errno.
11300         (__libc_h_errno): Define as alias of __h_errno not h_errno.
11301         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
11302         to __h_errno instead of h_errno.
11303         * nptl/herrno.c (h_errno): Rename to __h_errno.
11304         (__h_errno_location): Refer to __h_errno not h_errno.
11305         * resolv/Versions (h_errno): Rename to __h_errno.
11306         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
11307         Remove variable.
11308         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11310 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
11312         * configure.ac: More strict check for AVX512 assembler support.
11313         * configure: Regenerated.
11315         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
11316         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
11317         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11318         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
11319         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11320         * sysdeps/x86_64/fpu/Versions: New versions added.
11321         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11322         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11323         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11324         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
11325         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
11326         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
11327         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
11328         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
11329         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
11330         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
11331         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
11332         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
11333         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
11334         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
11335         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
11336         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
11337         test.
11338         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11339         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11340         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11341         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11342         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11343         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11344         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11345         * NEWS: Mention addition of x86_64 vector sin.
11347 2015-06-11  Florian Weimer  <fweimer@redhat.com>
11349         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
11350         comment.
11352 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11354         [BZ #18479]
11355         * nptl/pt-interp.c: New file.
11356         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
11357         Add pt-interp.
11358         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
11359         $(common-objpfx)runtime-linker.h.
11361 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
11363         * Makeconfig (+interp): Remove unused variable.
11364         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
11365         only.  Depend on $(common-objpfx)runtime-linker.h instead of
11366         $(elf-objpfx)runtime-linker.h.
11367         ($(elf-objpfx)runtime-linker.h): Rename to
11368         $(common-objpfx)runtime-linker.h and move ...
11369         * Makerules [$(build-shared) = yes]: ... here.
11370         * elf/interp.c: Include <runtime-linker.h> instead of
11371         <elf/runtime-linker.h>.
11373 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11375         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
11376         (__gettimeofday_syscall): Remove vsyscall fallback.
11377         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
11378         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
11379         Add syscall fallback function.
11380         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
11381         if vDSO is not present.
11382         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
11383         fallback function.
11384         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
11385         present.
11386         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
11387         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11389 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
11391         [BZ #18497]
11392         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
11393         of wcscmp.
11394         (wcscmp): Define as weak alias of WCSCMP.
11395         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
11396         wcscoll.
11397         (USE_HIDDEN_DEF): Define.
11398         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
11399         __wcscoll.  Don't use libc_hidden_weak.
11400         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
11401         wcscmp.
11402         * sysdeps/i386/i686/multiarch/wcscmp-c.c
11403         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
11404         __GI_wcscmp.
11405         (weak_alias): Undefine and redefine.
11406         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
11407         __wcscmp and define as weak alias of __wcscmp.
11408         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
11409         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
11410         (__wcscoll): Likewise.
11411         (wcscmp): Don't use libc_hidden_proto.
11412         (wcscoll): Likewise.
11413         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
11414         wcscoll.
11415         * posix/regexec.c (check_node_accept_bytes): Likewise.
11416         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
11417         variable.
11418         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11419         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11421         [BZ #18507]
11422         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
11423         __fstatvfs and define as weak alias of __fstatvfs.  Use
11424         libc_hidden_weak.
11425         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
11426         and define as weak alias of __statvfs.  Use libc_hidden_weak.
11427         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
11428         Define as alias of __fstatvfs, not fstatvfs.
11429         (fstatvfs64): Likewise.
11430         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
11431         Define as alias of __statvfs, not statvfs.
11432         (statvfs64): Likewise.
11433         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
11434         Remove variable.
11436 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11439         (HAVE_GETCPU_VSYSCALL): Define.
11440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11441         (HAVE_GETCPU_VSYSCALL): Likewise.
11442         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
11443         * sysdeps/unix/sysv/linux/sched_getcpu.c
11444         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
11445         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
11446         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
11447         prototype.
11448         * sysdeps/unix/sysv/linux/x86_64/init-first.c
11449         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
11450         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
11451         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
11452         Define.
11453         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
11454         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11455         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
11456         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11458 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
11460         * sysdeps/x86_64/fpu/Makefile: New file.
11461         * sysdeps/x86_64/fpu/Versions: New file.
11462         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
11463         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
11464         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
11465         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
11466         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
11467         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
11468         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
11469         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
11470         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
11471         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
11472         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
11473         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
11474         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
11475         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11476         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11477         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
11478         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
11479         * sysdeps/x86_64/configure.ac: Options for libmvec build.
11480         * sysdeps/x86_64/configure: Regenerated.
11481         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
11482         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
11483         * manual/install.texi (Configuring and compiling): Document
11484         --disable-mathvec.
11485         * INSTALL: Regenerated.
11486         * NEWS: Mention addition of libmvec and x86_64 vector cos.
11488         * math/Makefile: Added rules for vector tests.
11489         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
11490         declaration under condition.
11491         * math/test-double-vlen2.h: New file.
11492         * math/test-double-vlen4.h: New file.
11493         * math/test-double-vlen8.h: New file.
11494         * math/test-vec-loop.h: Added initialization macro.
11495         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
11496         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
11497         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
11498         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
11499         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
11500         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
11501         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
11502         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
11503         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
11504         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
11505         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
11507         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11508         * sysdeps/x86_64/fpu/Versions: New versions added.
11509         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
11510         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
11511         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
11512         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
11513         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
11514         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
11515         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
11516         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
11517         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
11518         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
11519         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
11520         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
11521         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
11522         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11523         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11524         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11525         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
11526         * NEWS: Mention addition of x86_64 vector cosf.
11528         * math/Makefile: Added CFLAGS for new tests.
11529         * math/test-float-vlen16.h: New file.
11530         * math/test-float-vlen4.h: New file.
11531         * math/test-float-vlen8.h: New file.
11532         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
11533         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
11534         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11535         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
11536         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
11537         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
11538         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
11539         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
11540         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
11541         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
11542         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
11544 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
11546         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
11547         * locale/programs/ld-ctype.c: Likewise.
11549 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
11551         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
11552         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
11553         bit_ZMM16_31_state): New macro.
11554         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11555         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
11557 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
11559         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
11561 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
11563         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
11565 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
11567         [BZ #18498]
11568         * libio/memstream.c (open_memstream): Rename to __open_memstream
11569         and define as weak alias of __open_memstream.
11570         * include/stdio.h (__open_memstream): Declare.  Use
11571         libc_hidden_proto.
11572         (open_memstream): Don't use libc_hidden_proto.
11573         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
11574         open_memstream.
11575         * posix/getopt.c (_getopt_internal_r): Likewise.
11576         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
11577         variable.
11578         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11579         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11580         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11582         [BZ #18496]
11583         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
11584         instead of wcrtomb.
11586         [BZ #18483]
11587         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
11588         [__USE_XOPEN2K8].  Remove redundant #endif.
11589         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
11590         Remove redundant #if.
11591         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
11592         Remove variable.
11593         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11594         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11596         [BZ #18495]
11597         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
11598         (__iswlower): Likewise.
11599         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
11600         (__iswlower): Likewise.
11601         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
11602         instead of towlower.
11603         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
11604         instead of iswlower.  Call __towupper instead of towupper.
11605         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
11606         instead of iswalnum.
11608 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11610         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
11611         errors to stderr.
11613 2015-06-05  Florian Weimer  <fweimer@redhat.com>
11615         [BZ #15661]
11616         [BZ #17322]
11617         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11618         Check for overflow properly.  Check for O_APPEND.  Ignore large
11619         file system block sizes.  Add comments about problems.
11620         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
11621         * manual/filesys.texi (Storage Allocation): New node.
11623 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11625         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
11626         cancellable syscalls.
11627         (SYS_ify): Add guard to no redefine it.
11628         (INLINE_SYSCALL): Likewise.
11629         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
11630         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
11631         SYSCALL_CANCEL instead.
11632         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
11633         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11634         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11635         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11636         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11637         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
11638         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
11639         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
11640         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
11641         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
11642         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
11643         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
11644         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
11645         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
11646         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
11647         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11648         Likewise.
11649         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11650         (__libc_pread64): Likewise.
11651         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
11652         (__libc_preadv): Likewise.
11653         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
11654         (__libc_readv64): Likewise.
11655         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11656         (__libc_pwrite): Likewise.
11657         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11658         (__libc_pwrite64): Likewise.
11659         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
11660         (__libc_pwritev): Likewise.
11661         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
11662         (__libc_pwritev64): Likewise.
11663         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
11664         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11665         (sync_file_range): Likewise.
11666         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
11667         Likewise.
11668         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
11669         Likewise.
11670         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11671         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11672         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11673         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11674         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11675         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11676         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
11677         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
11678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11679         Likewise.
11680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11681         (__libc_read64): Likewise.
11682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
11683         Likewise.
11684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
11685         Likewise.
11686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
11687         Likewise.
11688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
11689         Likewise.
11690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11691         (__libc_pread64): Likewise.
11692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
11693         Likewise.
11694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11695         (__libc_pwrite64): Likewise.
11696         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
11697         (sync_file_range): Likewise.
11698         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
11699         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11700         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11701         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
11702         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
11703         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11704         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11705         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
11706         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
11707         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11708         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11709         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11710         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11711         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11712         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
11713         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11714         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11715         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11716         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11717         Likewise.
11718         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
11719         Likewise.
11720         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
11721         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
11722         Likewise.
11723         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
11724         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
11725         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
11726         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
11727         Likewise.
11728         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
11729         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
11730         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
11731         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
11732         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
11734 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
11736         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
11737         Include dl-vdso.
11738         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
11739         Use VDSO routines for gettimeofday, clock_gettime if
11740         available.
11741         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
11742         Declare VDSO symbols.
11743         * sysdeps/unix/sysv/linux/arm/sysdep.h:
11744         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
11745         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11746         * sysdeps/unix/sysv/linux/arm/Versions: Add
11747         __vdso_clock_gettime.
11749 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11751         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
11752         be an inline implementation regardless of library is built within.
11753         (open_not_cancel_2): Likewise.
11754         (__read_nocancel): Likewise.
11755         (__write_nocancel): Likewise.
11756         (openat_not_cancel): Likewise.
11757         (openat_not_cancel_3): Likewise.
11758         (openat64_not_cancel): Likewise.
11759         (openat64_not_cancel_3): Likewise.
11760         (__close_nocancel): Likewise.
11761         (pause_not_cancel): Likewise.
11762         (nanosleep_not_cancel): Likewise.
11763         (sigsuspend_not_cancel): Likewise.
11765 2015-06-04  Torvald Riegel  <triegel@redhat.com>
11767         [BZ #14958]
11768         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
11769         wake-up.
11770         (__pthread_rwlock_rdlock_slow): Likewise.
11771         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11772         Likewise.
11773         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11774         Likewise.
11775         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
11776         * nptl/tst-rwlock16.c: New file.
11777         * nptl/Makefile (tests): Add new test.
11779 2015-06-04  Torvald Riegel  <triegel@redhat.com>
11781         [BZ #18324]
11782         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
11783         missing wake-up of readers.
11784         * nptl/tst-rwlock15.c: New file.
11785         * nptl/Makefile (tests): Add new test.
11787 2015-06-03  Roland McGrath  <roland@hack.frob.com>
11789         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
11790         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
11791         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
11792         and __nacl_supply_interface_rtld.
11793         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
11794         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
11795         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
11796         Add __nacl_supply_interface_rtld.
11797         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
11799 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
11801         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
11802         isfinite.
11803         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11804         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
11806 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
11808         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
11809         __signbit* with standard C99 macros.
11810         * math/e_exp10l.c: Likewise.
11811         * math/e_exp2l.c: Likewise.
11812         * math/e_scalb.c: Likewise.
11813         * math/e_scalbf.c: Likewise.
11814         * math/e_scalbl.c: Likewise.
11815         * math/s_ldexp.c: Likewise.
11816         * math/s_ldexpf.c: Likewise.
11817         * math/s_ldexpl.c: Likewise.
11818         * math/w_atan2.c: Likewise.
11819         * math/w_atan2f.c: Likewise.
11820         * math/w_atan2l.c: Likewise.
11821         * math/w_cosh.c: Likewise.
11822         * math/w_coshf.c: Likewise.
11823         * math/w_coshl.c: Likewise.
11824         * math/w_exp10.c: Likewise.
11825         * math/w_exp10f.c: Likewise.
11826         * math/w_exp10l.c: Likewise.
11827         * math/w_exp2.c: Likewise.
11828         * math/w_exp2f.c: Likewise.
11829         * math/w_exp2l.c: Likewise.
11830         * math/w_fmod.c: Likewise.
11831         * math/w_fmodf.c: Likewise.
11832         * math/w_fmodl.c: Likewise.
11833         * math/w_hypot.c: Likewise.
11834         * math/w_hypotf.c: Likewise.
11835         * math/w_hypotl.c: Likewise.
11836         * math/w_jnl.c: Likewise.
11837         * math/w_lgamma.c: Likewise.
11838         * math/w_lgamma_r.c: Likewise.
11839         * math/w_lgammaf.c: Likewise.
11840         * math/w_lgammaf_r.c: Likewise.
11841         * math/w_lgammal.c: Likewise.
11842         * math/w_lgammal_r.c: Likewise.
11843         * math/w_pow.c: Likewise.
11844         * math/w_powf.c: Likewise.
11845         * math/w_powl.c: Likewise.
11846         * math/w_remainder.c: Likewise.
11847         * math/w_remainderf.c: Likewise.
11848         * math/w_remainderl.c: Likewise.
11849         * math/w_scalb.c: Likewise.
11850         * math/w_scalbf.c: Likewise.
11851         * math/w_scalbl.c: Likewise.
11852         * math/w_scalbln.c: Likewise.
11853         * math/w_scalblnf.c: Likewise.
11854         * math/w_scalblnl.c: Likewise.
11855         * math/w_sinh.c: Likewise.
11856         * math/w_sinhf.c: Likewise.
11857         * math/w_sinhl.c: Likewise.
11858         * math/w_tgamma.c: Likewise.
11859         * math/w_tgammaf.c: Likewise.
11860         * math/w_tgammal.c: Likewise.
11861         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11862         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
11863         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11864         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11865         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11866         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11867         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11868         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11869         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11870         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11871         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11872         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11873         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11874         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11875         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11876         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11877         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11878         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11879         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11880         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11881         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11882         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11883         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11884         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11885         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11886         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11887         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
11888         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11889         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11890         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11891         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
11892         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
11893         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
11894         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
11895         * stdio-common/printf_fp.c: Likewise.
11896         * stdio-common/printf_fphex.c: Likewise.
11897         * stdio-common/printf_size.c: Likewise.
11899 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
11901         [BZ #18470]
11902         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
11903         strnlen.
11904         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
11905         Remove variable.
11906         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11907         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11908         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11909         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11910         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11911         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11912         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11913         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11914         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11915         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11917         [BZ #18468]
11918         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
11919         weak alias of __wmemchr.  Use libc_hidden_weak.
11920         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
11921         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
11922         instead of wmemchr.
11924 2015-06-02  Roland McGrath  <roland@hack.frob.com>
11926         [BZ #18383]
11927         * elf/tst-tlsalign-extern.c: New file.
11928         * elf/tst-tlsalign-extern-static.c: New file.
11929         * elf/tst-tlsalign-vars.c: New file.
11930         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
11931         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
11932         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
11933         ($(objpfx)tst-tlsalign-extern-static): Likewise.
11934         (test-xfail-tst-tlsalign-extern-static): New variable.
11936 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
11938         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
11939         Use variable name _sc_err instead of err.
11940         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
11941         instead of ret.
11942         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
11943         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
11944         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
11945         (INLINE_SYSCALL): Likewise.
11947         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
11948         * include/string.h (__strnlen): Use libc_hidden_proto.
11949         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
11950         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
11951         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
11952         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
11953         (libc_hidden_def): Undefine and redefine.
11954         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
11955         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
11956         __GI_strnlen.
11957         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
11958         libc_hidden_def.
11959         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
11961         [BZ #18469]
11962         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
11963         weak alias of __towlower.  Use libc_hidden_weak.
11964         (towupper): Rename to __towupper and define as weak alias of
11965         __towupper.  Use libc_hidden_weak.
11966         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
11967         (__towupper): Likewise.
11968         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
11969         __towlower instead of towlower.
11971 2015-06-02  Roland McGrath  <roland@hack.frob.com>
11973         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
11974         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
11976 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11978         * sysdeps/aarch64/libm-test-ulps: Update.
11980 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11982         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
11983         Define.
11984         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11985         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11986         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11987         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11988         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
11989         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
11990         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
11992 2015-06-01  Martin Sebor  <msebor@redhat.com>
11994         [BZ #18116]
11995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11996         (__setcontext): Use extended four-operand version of mtsf whenever
11997         possible.
11998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11999         (__novec_swapcontext): Likewise.
12001 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12003         * benchtests/scripts/compare_bench.py: New file.
12004         * benchtests/scripts/import_bench.py (mean): New function.
12005         (split_list): Likewise.
12006         (do_for_all_timings): Likewise.
12007         (compress_timings): Likewise.
12009         * benchtests/scripts/import_bench.py: New file.
12010         * benchtests/scripts/validate_benchout.py: Import import_bench
12011         instead of jsonschema.
12012         (validate_bench): Remove function.
12013         (main): Use import_bench.
12015 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
12017         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
12018         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
12020 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12024 2015-05-28  Roland McGrath  <roland@hack.frob.com>
12026         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
12027         set THREAD_SELF->tid to a magic value and futex-wake it.
12028         Pass its address to the thread_exit system call.
12029         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
12030         bit is clear.
12031         * sysdeps/nacl/lowlevellock.h: New file.
12032         * sysdeps/nacl/lll_timedwait_tid.c: New file.
12034         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
12035         Add TIMEOUT to current time, don't subtract it.
12037 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
12039         [BZ #2981]
12040         [BZ #18422]
12041         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
12042         ($(objpfx)tst-audit2.out): Also depend on
12043         $(objpfx)tst-auditmod9b.so.
12044         * elf/tst-audit2.c: Include <dlfcn.h>.
12045         (calloc_called): New.
12046         (calloc): Allow to be called more than once.
12047         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
12049 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
12051         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
12052         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
12054 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
12056         * stdlib/monetary.h: Fix comment.
12058 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
12060         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
12061         Avoid using variables in #defines that might cause shadowing.
12062         (INTERNAL_VSYSCALL_CALL): Likewise.
12064 2015-05-26  Roland McGrath  <roland@hack.frob.com>
12066         * sysdeps/nacl/lll_timedlock_wait.c: New file.
12068         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
12069         * nptl/lll_timedlock_wait.c: ... to this new file.
12070         * nptl/Makefile (libpthread-routines): Add it.
12071         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
12072         * nptl/lll_timedwait_tid.c: ... to this new file.
12073         * nptl/Makefile (libpthread-routines): Add it.
12074         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
12075         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
12076         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
12077         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
12078         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
12079         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
12080         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
12081         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
12082         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
12083         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
12085 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12087         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
12088         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12089         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12090         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
12091         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12092         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12093         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12094         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12095         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12096         * sysdeps/unix/sysv/linux/tile/sysdep.h
12097         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12098         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
12099         using vDSO syscall macro.
12101 2015-05-26  Andriy Rysin  <arysin@gmail.com>
12103         [BZ #17293]
12104         * uk_UA: Fix sorting order for Ukrainian locale
12106 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
12108         * stdlib/monetary.h: Fix comment.
12110 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12112         [BZ #18234]
12113         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
12114         st_mtim and st_ctim members.
12115         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
12116         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
12117         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
12118         (struct stat64): Likewise.
12119         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
12120         (struct stat64): Likewise.
12121         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
12122         (struct stat64): Likewise.
12124 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12126         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
12127         Define and include sysdep-vdso.h.
12128         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
12129         Likewise.
12130         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
12131         Likewise.
12132         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
12133         Define with VDSO_SYMBOL and use PTR_MANGLE.
12134         (__vdso_clock_gettime): Likewise.
12135         (__vdso_clock_getres): Likewise.
12136         (_libc_vdso_platform_setup): Likewise.
12137         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12138         Likewise.
12139         (_libc_vdso_platform_setup): Likewise.
12140         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
12141         Likewise.
12142         (__vdso_clock_gettime): Likewise.
12143         (__vdso_clock_getres): Likewise.
12144         (__vdso_get_tbfreq): Likewise.
12145         (__vdso_getcpu): Likewise.
12146         (__vdso_time): Likewise.
12147         (__vdso_sigtramp_rt64): Likewise.
12148         (__vdso_signtramp32): Likewise.
12149         (__vdso_sigtramp_rt32): Likewise.
12150         (_libc_vdso_platform_setup): Likewise.
12151         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
12152         Likewise.
12153         (__vdso_clock_gettime): Likewise.
12154         (__vdso_clock_getres): Likewise.
12155         (_libc_vdso_platform_setup): Likewise.
12156         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
12157         Likewise.
12158         (__vdso_clock_gettime): Likewise.
12159         (_libc_vdso_platform_setup): Likewise.
12160         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
12161         Likewise.
12162         (__vdso_getcpu): Likewise.
12163         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
12164         Use VDSO_SYMBOL macro to define.
12165         (__vdso_clock_gettime): Likewise.
12166         (__vdso_clock_getres): Likewise.
12167         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
12168         Likewise.
12169         (__vdso_clock_gettime): Likewise.
12170         (__vdso_clock_getres): Likewise.
12171         (__vdso_get_tbfreq): Likewise.
12172         (__vdso_getcpu): Likewise.
12173         (__vdso_time): Likewise.
12174         (__vdso_sigtramp_rt64): Likewise.
12175         (__vdso_signtramp32): Likewise.
12176         (__vdso_sigtramp_rt32): Likewise.
12177         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
12178         Likewise.
12179         (__vdso_clock_gettime): Likewise.
12180         (__vdso_clock_getres): Likewise.
12181         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
12182         Likewise.
12183         (__vdso_clock_gettime): Likewise.
12184         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12185         Likewise.
12186         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
12187         macro.
12188         (INTERNAL_VSYSCALL): Likewise.
12189         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
12190         Remove macro.
12191         (INTERNAL_VSYSCALL): Likewise.
12192         (INTERNAL_VSYSCALL_NCS): Likewise.
12193         (INTERNAL_VSYSCALL_CALL): New macro.
12194         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12195         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
12196         Likewise.
12197         (INTERNAL_VSYSCALL): Likewise.
12198         (INTERNAL_VSYSCALL_NCS): Likewise.
12199         (INTERNAL_VSYSCALL_CALL): New macro.
12200         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12202         (INLINE_VSYSCALL): Remove macro.
12203         (INTERNAL_VSYSCALL): Remove macro.
12204         (INTERNAL_VSYSCALL_NCS): Remove macro.
12205         (INTERNAL_VSYSCALL_CALL): New macro.
12206         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
12207         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
12208         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12209         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
12210         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12212         (INLINE_VSYSCALL): Remove macro.
12213         (INTERNAL_VSYSCALL): Likewise.
12214         (INTERNAL_VSYSCALL_NCS): Likewise.
12215         (INTERNAL_VSYSCALL_CALL): New macro.
12216         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
12217         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
12218         PTR_DEMANGLE on vDSO pointer.
12219         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12220         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
12221         macro.
12222         (INTERNAL_SYSCALL): Likewise.
12223         (INTERNAL_VSYSCALL_NCS): Remove macro.
12224         (INTERNAL_VSYSCALL_CALL): New macro.
12225         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
12226         Remove macro.
12227         (INTERNAL_VSYSCALL): Likewise.
12228         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
12229         sysdep-vdso.h instead of libc-vdso.h.
12230         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
12231         definition.
12232         (INLINE_VSYSCALL): Likewise.
12233         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
12234         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
12235         definition.
12236         (INLINE_VSYSCALL): Likewise.
12237         (INTERNAL_VSYSCALL): Likewise.
12238         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12239         * sysdeps/unix/sysv/linux/timespec_get.c
12240         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12241         (timespec_get): Use ANSI prototype.
12242         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
12243         and definition for Linux.
12245 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
12247         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
12248         * include/libc-symbols.h: libmvec_hidden_* macro series added.
12250 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12252         [BZ #2981]
12253         [BZ #18410]
12254         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
12255         for missing DT_PLTRELSZ.
12257 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12259         Remove obsolete aliases that broke 'locale -a'
12260         [BZ #18412]
12261         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
12262         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
12263         breaking some applications that use 'locale -a' output.
12264         Change the encoding of this file from Latin-1 to ASCII to avoid
12265         other potential problems with people grepping this file.
12267 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12269         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
12270         -fasynchronous-unwind-tables.
12271         (CFLAGS-sendto.c): Likewise.
12272         (CFLAGS-sendmsg.c): Likewise.
12273         (CFLAGS-connect.c): Likewise.
12274         (CFLAGS-recvmsg.c): Likewise.
12275         (CFLAGS-recvfrom.c): Likewise.
12276         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
12277         (SOCKETCALL): New macro: non-cancellable socketcall.
12278         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
12279         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
12280         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
12281         * sysdeps/unix/sysv/linux/accept.c: New file.
12282         * sysdeps/unix/sysv/linux/bind.c: Likewise.
12283         * sysdeps/unix/sysv/linux/connect.c: Likewise.
12284         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
12285         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
12286         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
12287         * sysdeps/unix/sysv/linux/listen.c: Likewise.
12288         * sysdeps/unix/sysv/linux/recv.c: Likewise.
12289         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
12290         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12291         * sysdeps/unix/sysv/linux/send.c: Likewise.
12292         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12293         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
12294         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
12295         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
12296         * sysdeps/unix/sysv/linux/socket.c: Likewise.
12297         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
12298         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
12299         prototype.
12300         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
12301         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12302         instead of __internal_xxx function.
12303         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
12304         prototype.
12305         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
12306         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12307         instead of __internal_xxx function.
12308         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
12309         prototype.
12310         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
12311         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12312         instead of __internal_xxx function.
12313         * sysdeps/unix/sysv/linux/accept.S: Remove file.
12314         * sysdeps/unix/sysv/linux/bind.S: Likewise.
12315         * sysdeps/unix/sysv/linux/connect.S: Likewise.
12316         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
12317         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
12318         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
12319         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
12320         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
12321         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
12322         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
12323         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
12324         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12325         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
12326         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
12327         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
12328         * sysdeps/unix/sysv/linux/listen.S: Likewise.
12329         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
12330         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
12331         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
12332         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
12333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
12334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
12335         * sysdeps/unix/sysv/linux/recv.S: Likewise.
12336         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
12337         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
12338         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
12339         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12340         * sysdeps/unix/sysv/linux/send.S: Likewise.
12341         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
12342         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12343         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
12344         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
12345         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
12346         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
12347         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
12348         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
12349         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
12350         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
12351         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
12352         socketcall is implemented in GLIBC.
12354 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12356         * soft-fp/fmadf4.c: Include <libc-internal.h>.
12357         (__fma): Ignore uninitialized warnings around packing.
12358         * soft-fp/fmasf4.c: Include <libc-internal.h>.
12359         (__fmaf): Ignore uninitialized warnings around packing.
12360         * soft-fp/fmatf4.c: Include <libc-internal.h>.
12361         (__fmal): Ignore uninitialized warnings around packing.
12363         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
12364         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12365         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
12366         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12368         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
12369         switch statement into default case.
12370         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
12372         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
12373         a conditional in forcing "inexact".
12374         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12375         Likewise.
12377 2015-05-22  Roland McGrath  <roland@hack.frob.com>
12379         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12380         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
12381         for each INTERNAL_SYSCALL use.
12383 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12385         [BZ #438]
12386         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
12387         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
12388         variable.
12390         [BZ #18444]
12391         * string/basename.c (basename): Rename to __basename and define as
12392         weak alias of __basename.  Use libc_hidden_weak.
12393         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
12394         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
12395         __basename instead of basename.
12396         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
12397         Remove variable.
12398         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12400 2015-05-18  Florian Weimer  <fweimer@redhat.com>
12402         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
12403         (_IO_JUMPS_FILE_plus): New.
12404         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
12405         _IO_CAST_FIELD_ACCESS.
12406         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
12407         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
12408         * libio/freopen.c (freopen): Likewise.
12409         * libio/freopen64.c (freopen64): Likewise.
12410         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
12411         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
12412         * libio/iofwide.c (_IO_fwide): Likewise.
12413         * libio/memstream.c (open_memstream): Likewise.
12414         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12415         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12416         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12418 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
12420         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
12421         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
12422         NADJ.
12423         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
12424         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
12425         NADJ.
12426         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
12427         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
12428         NADJ.
12430         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
12431         (p == 4) case.
12433         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
12434         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
12435         Remove variable.
12436         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12437         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12438         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12440 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12442         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
12443         Adjust jump table label generation macros.
12445 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12447         * stdio-common/vfprintf.c (vfprintf): Move local variables
12448         args_malloced, specs, specs_malloced, and the code after
12449         do_positional to the printf_positional function.
12450         (printf_positional): New function.
12452 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12454         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
12455         function.
12456         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
12457         STEP4_TABLE, process_arg): Move macro definitions
12458         out of the vfprintf function.  (Cosmetic change only.)
12460 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
12462         * benchtests/Makefile (stdio-common-bench): Define.
12463         (benchset): Add stdio-common-bench.
12464         * sprintf-inputs: New file.
12465         * sprintf-source.c: New file.
12467 2015-05-21  Andreas Schwab  <schwab@suse.de>
12469         [BZ #13028]
12470         [BZ #17053]
12471         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
12472         of struct __res_state.
12473         * resolv/res_send.c (__libc_res_nsend): Likewise.
12474         (get_nsaddr): New function.
12475         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
12476         statp directly.
12478 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
12480         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
12481         -D_POSIX_C_SOURCE=199506L.
12483         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
12485         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
12486         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
12487         Do not mention otherwise.
12488         [POSIX] (_XOPEN_VERSION): Do not expect.
12489         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
12490         [POSIX] (_POSIX2_C_BIND): Likewise.
12491         [POSIX] (_POSIX2_VERSION): Likewise.
12492         [POSIX] (_XOPEN_XPG2): Likewise.
12493         [POSIX] (_XOPEN_XPG3): Likewise.
12494         [POSIX] (_XOPEN_XPG4): Likewise.
12495         [POSIX] (_XOPEN_UNIX): Likewise.
12496         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
12497         [POSIX] (_POSIX_BARRIERS): Likewise.
12498         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
12499         [POSIX] (_POSIX_CPUTIME): Likewise.
12500         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
12501         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
12502         [POSIX] (_POSIX_SHELL): Likewise.
12503         [POSIX] (_POSIX_SPAWN): Likewise.
12504         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
12505         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
12506         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
12507         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
12508         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
12509         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
12510         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
12511         [POSIX] (_XBS5_LP64_OFF64): Likewise.
12512         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
12513         [POSIX] (_POSIX_TIMEOUTS): Likewise.
12514         [POSIX] (_POSIX2_PBS): Likewise.
12515         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
12516         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
12517         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
12518         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
12519         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
12520         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
12521         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
12522         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
12523         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
12524         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
12525         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
12526         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
12527         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
12528         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
12529         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
12530         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
12531         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
12532         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
12533         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
12534         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
12535         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
12536         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
12537         [POSIX] (_SC_2_C_BIND): Likewise.
12538         [POSIX] (_SC_2_C_VERSION): Likewise.
12539         [POSIX] (_SC_2_PBS): Likewise.
12540         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
12541         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
12542         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
12543         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
12544         [POSIX] (_SC_2_PBS_TRACK): Likewise.
12545         [POSIX] (_SC_ATEXIT_MAX): Likewise.
12546         [POSIX] (_SC_BARRIERS): Likewise.
12547         [POSIX] (_SC_BASE): Likewise.
12548         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
12549         [POSIX] (_SC_DEVICE_IO): Likewise.
12550         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
12551         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
12552         [POSIX] (_SC_FD_MGMT): Likewise.
12553         [POSIX] (_SC_FIFO): Likewise.
12554         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
12555         [POSIX] (_SC_FILE_LOCKING): Likewise.
12556         [POSIX] (_SC_FILE_SYSTEM): Likewise.
12557         [POSIX] (_SC_IOV_MAX): Likewise.
12558         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
12559         [POSIX] (_SC_NETWORKING): Likewise.
12560         [POSIX] (_SC_PAGE_SIZE): Likewise.
12561         [POSIX] (_SC_PASS_MAX): Likewise.
12562         [POSIX] (_SC_PIPE): Likewise.
12563         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
12564         [POSIX] (_SC_REGEXP): Likewise.
12565         [POSIX] (_SC_SHELL): Likewise.
12566         [POSIX] (_SC_SIGNALS): Likewise.
12567         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
12568         [POSIX] (_SC_SPIN_LOCKS): Likewise.
12569         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
12570         [POSIX] (_SC_USER_GROUPS): Likewise.
12571         [POSIX] (_SC_USER_GROUPS_R): Likewise.
12572         [POSIX] (_SC_STREAMS): Likewise.
12573         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
12574         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
12575         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
12576         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
12577         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
12578         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
12579         [POSIX] (_PC_FILESIZEBITS): Likewise.
12580         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
12581         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
12582         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
12583         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
12584         [POSIX] (uid_t): Likewise.
12585         [POSIX] (gid_t): Likewise.
12586         [POSIX] (off_t): Likewise.
12587         [POSIX] (pid_t): Likewise.
12588         [POSIX] (cuserid): Allow.
12589         (_SC_2_CHAR_TERM): Require constant.
12590         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
12591         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
12592         variable.
12594 2015-05-20  Roland McGrath  <roland@hack.frob.com>
12596         * sysdeps/nacl/pthread-pids.h: New file.
12597         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
12598         (create_thread): Use __nacl_get_tid to initialize PD->tid.
12600         * nptl/pthread-pids.h: New file.
12601         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
12602         * nptl/nptl-init.c: Include <pthread-pids.h>.
12603         (__pthread_initialize_minimal_internal):
12604         Call __pthread_initialize_pids instead of set_tid_address syscall.
12606         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
12607         * sysdeps/posix/usleep.c: ... here.
12609 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12611         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
12612         call_pselect6 object.
12613         [$(subdir) = io]: Remove call_sync_file_range object.
12614         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
12615         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
12616         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
12617         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
12619 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
12621         * math/s_cproj.c: Add include "math_private.h".
12622         * math/s_cprojf.c: Likewise.
12623         * math/s_cprojl.c: Likewise.
12625 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
12627         [BZ #18244]
12628         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
12629         high mantissa bit when testing whether P is a NaN.
12630         * math/libm-test.inc (remainder_test_data): Add more tests.
12631         (remquo_test_data): Likewise.
12633         [BZ #18049]
12634         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
12635         below -32, return the argument, with underflow if subnormal.
12636         * math/auto-libm-test-in: Add more tests of atanh.
12637         * math/auto-libm-test-out: Regenerated.
12639 2015-05-19  Roland McGrath  <roland@hack.frob.com>
12641         [BZ #18434]
12642         * nptl/tst-sem15.c: New file.
12643         * nptl/Makefile (tests): Add it.
12644         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
12645         s/<</>>/ to fix typo in EOVERFLOW check.
12646         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
12648 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12650         * manual/strings.texi (envz_remove): Fix typo in safety
12651         annotations.
12653 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
12654             Steve Ellcey  <sellcey@imgtec.com>
12656         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
12657         in order to avoid strict alias warnings.
12658         (iruserok_af): Ditto for ra.
12660 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
12662         [BZ #17581]
12663         * malloc/hooks.c
12664         (magicbyte): Convert to a function and avoid returning 0x01.
12665         (mem2mem_check): Avoid using a length byte equal to the magic byte.
12666         (mem2chunk_check): Fix unsigned comparisons to zero.
12667         Hoist defs of sz and magic.
12669 2015-05-19  Richard Henderson  <rth@redhat.com>
12671         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
12673         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12675 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12677         [BZ #16159]
12678         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
12679         * malloc/arena.c (arena_lock): Check if arena is corrupt.
12680         (reused_arena): Find a non-corrupt arena.
12681         (heap_trim): Pass arena to unlink.
12682         * malloc/hooks.c (malloc_check_get_size): Pass arena to
12683         malloc_printerr.
12684         (top_check): Likewise.
12685         (free_check): Likewise.
12686         (realloc_check): Likewise.
12687         * malloc/malloc.c (malloc_printerr): Add arena argument.
12688         (unlink): Likewise.
12689         (munmap_chunk): Adjust.
12690         (ARENA_CORRUPTION_BIT): New macro.
12691         (arena_is_corrupt): Likewise.
12692         (set_arena_corrupt): Likewise.
12693         (sysmalloc): Use mmap if there are no usable arenas.
12694         (_int_malloc): Likewise.
12695         (__libc_malloc): Don't fail if arena_get returns NULL.
12696         (_mid_memalign): Likewise.
12697         (__libc_calloc): Likewise.
12698         (__libc_realloc): Adjust for additional argument to
12699         malloc_printerr.
12700         (_int_free): Likewise.
12701         (malloc_consolidate): Likewise.
12702         (_int_realloc): Likewise.
12703         (_int_memalign): Don't touch corrupt arenas.
12704         * malloc/tst-malloc-backtrace.c: New test case.
12706         * Makefile (summarize-tests): Fix return value on success.
12708         * manual/string.texi (Envz Functions): Add envz_remove.
12710 2015-05-18  Roland McGrath  <roland@hack.frob.com>
12712         * sysdeps/posix/opendir.c: Include <stdbool.h>.
12713         (invalid_name): New function, broken out of ...
12714         (__opendirat): ... here.  Call it.
12715         (need_isdir_precheck): New function, broken out of ...
12716         (__opendirat): ... here.  Call it.
12717         Use __fxstatat64, not __xstatat64.
12718         (opendir_oflags): New function, broken out of ...
12719         (__opendirat): ... here.  Call it.
12720         (opendir_tail): New function, broken out of ...
12721         (__opendirat): ... here.  Call it.
12722         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
12723         opendir_tail, rather than punting to __opendirat.
12724         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
12726 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12728         * .gitignore: Ignore generated *.pyc.
12730 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
12732         * include/stdio.h: Define __need_wint_t.
12733         * test-skeleton.c: Avoid `for' loop initial declaration.
12734         * nptl/tst-initializers1.c: Use test-skeleton.c.
12736 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12738         [BZ #18418]
12739         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
12741 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
12743         [BZ #16352]
12744         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
12745         (__ieee754_atanh): Force underflow exception for results with
12746         small absolute value.
12747         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
12748         (__ieee754_atanhf): Force underflow exception for results with
12749         small absolute value.
12750         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
12751         (__ieee754_atanh): Force underflow exception for results with
12752         small absolute value.
12753         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
12754         (__ieee754_atanhf): Force underflow exception for results with
12755         small absolute value.
12756         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
12757         (__ieee754_atanhl): Force underflow exception for results with
12758         small absolute value.
12759         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
12760         (__ieee754_atanhl): Force underflow exception for results with
12761         small absolute value.
12762         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
12763         (__ieee754_atanhl): Force underflow exception for results with
12764         small absolute value.
12765         * math/auto-libm-test-in: Do not allow missing underflow
12766         exceptions from atanh.
12767         * math/auto-libm-test-out: Regenerated.
12769         [BZ #18221]
12770         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
12771         2**-28 as threshold for returning x or +/- 1/x.
12772         * math/auto-libm-test-in: Add more tests of tan.
12773         * math/auto-libm-test-out: Regenerated.
12775         [BZ #18220]
12776         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12777         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
12778         * math/auto-libm-test-in: Add another test of lgamma.
12779         * math/auto-libm-test-out: Regenerated.
12781 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
12783         * stdio-common/printf_fp.c (___printf_fp): Use abs.
12784         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
12785         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
12786         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
12787         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
12788         (ADD2A): Use fabs.  (SUB2A): Use fabs.
12789         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
12790         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
12791         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
12792         (log1): Use fabs.  (my_log2): Use fabs.
12793         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
12794         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
12795         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
12796         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
12797         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
12798         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
12799         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
12800         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
12801         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
12802         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
12803         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
12805 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
12807         [BZ #18217]
12808         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
12809         as threshold for returning 1 - x.
12810         * math/auto-libm-test-in: Add more tests of erfc.
12811         * math/auto-libm-test-out: Regenerated.
12813 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
12815         [BZ #18196]
12816         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
12817         threshold for large arguments.
12818         * math/auto-libm-test-in: Add another test of atan.
12819         * math/auto-libm-test-out: Regenerated.
12821         [BZ #16339]
12822         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
12823         (__log1p): Force underflow exception for results with small
12824         absolute value.
12825         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
12826         (__log1pf): Force underflow exception for results with small
12827         absolute value.
12828         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
12829         (__log1p): Force underflow exception for results with small
12830         absolute value.
12831         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
12832         (__log1pf): Force underflow exception for results with small
12833         absolute value.
12834         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
12835         (__log1pl): Force underflow exception for results with small
12836         absolute value.
12837         * math/auto-libm-test-in: Do not allow missing underflow
12838         exceptions from log1p.
12839         * math/auto-libm-test-out: Regenerated.
12841 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
12842             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12844         [BZ #16704]
12845         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
12847 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
12849         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
12850         (libmvec): New variable.
12851         * configure.ac: Added option for mathvec build.
12852         * configure: Regenerated.
12853         * mathvec/Depend: New file.
12854         * mathvec/Makefile: New file.
12855         * shlib-versions: Added libmvec.
12856         * math/Makefile: Added rule for libm.so installation.
12858         * bits/math-vector.h: New file.
12859         * bits/libm-simd-decl-stubs.h: New header.
12860         * math/Makefile (headers): Added new header
12861         libm-simd-decl-stubs.h.
12862         * math/math.h (__MATHCALL_VEC): New macro.
12864         * math/gen-libm-have-vector-test.sh: Script generates series of macros
12865         for conditions in testing functions.
12866         * math/Makefile: Added call of libm-have-vector-test.sh.
12867         * math/libm-test.inc (HAVE_VECTOR): New macros.
12869         * math/libm-test.inc: START refactored.
12870         * math/test-double.c (TEST_MATHVEC): Add define.
12871         * math/test-float.c: Likewise.
12872         * math/test-idouble.c: Likewise.
12873         * math/test-ifloat.c: Likewise.
12874         * math/test-ildoubl.c: Likewise.
12875         * math/test-ldouble.c: Likewise.
12876         * sysdeps/generic/math-tests-arch.h
12877         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
12878         architecture check.
12880         * math/test-double.c (FUNC_TEST): New macro.
12881         * math/test-float.c: Likewise.
12882         * math/test-idouble.c: Likewise.
12883         * math/test-ifloat.c: Likewise.
12884         * math/test-ildoubl.c: Likewise.
12885         * math/test-ldouble.c: Likewise.
12886         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
12888 2015-05-13  Roland McGrath  <roland@hack.frob.com>
12890         * sysdeps/nacl/fdopendir.c: New file.
12892         * dirent/scandir-tail.c: New file.
12893         * dirent/scandir64-tail.c: New file.
12894         * dirent/Makefile (routines): Add them.
12895         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
12896         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
12897         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
12898         [!SCANDIR] (SCANDIR_TAIL): New macro.
12899         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
12900         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
12901         (SCANDIRAT): Macro removed.
12902         (SCANDIR_TAIL): New macro.
12903         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
12904         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
12905         (SCANDIRAT): Just call __opendirat and __scandir_tail.
12906         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
12907         (READDIR): Macro removed.
12908         (SCANDIR_TAIL): New macro.
12909         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
12910         (SCANDIR_TAIL): New macro.
12912         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
12913         * dirent/scandir-cancel.c: ... to this new file.
12914         * dirent/Makefile (routines): Add it.
12915         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
12916         * sysdeps/unix/sysv/linux/i386/scandir64.c
12917         (SKIP_SCANDIR_CANCEL): Macro removed.
12918         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
12920         * dirent/tst-scandir.c: New file.
12921         * dirent/tst-scandir64.c: New file.
12922         * dirent/Makefile (tests): Add them.
12924 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
12926         [BZ #18409]
12927         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
12929 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12931         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
12932         list.
12934 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
12936         * benchtests/bench-strcoll.c: New benchmark.
12937         * benchtests/Makefile: Generate locales and run benchmark.
12938         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
12939         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12940         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
12941         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
12942         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
12943         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
12944         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
12945         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
12946         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
12947         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
12948         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
12949         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
12950         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
12951         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
12952         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
12953         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
12954         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
12955         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
12956         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
12957         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
12958         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
12959         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
12960         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
12961         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
12963 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
12965         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
12966         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12968 2015-05-12  Roland McGrath  <roland@hack.frob.com>
12970         * posix/uname-values.h: New file.
12971         * posix/uname.c: Include that instead of <config-name.h>.
12972         * sysdeps/nacl/uname-values.h: New file.
12973         * sysdeps/arm/nacl/uname-values.h: New file.
12975 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
12977         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
12978         splitting into fields.
12980 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
12982         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
12983         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
12984         * locale/localeinfo.h: Add enum collation_encoding_type.
12985         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
12986         * programs/ld-collate.c (collate_output): Add encoding type info.
12987         * string/strcoll_l.c (STRDIFF): New function.
12988         * (STRCOLL): Use STRDIFF to skip over equal prefix.
12989         * wcsmbs/wcscoll_l.c: Define STRDIFF.
12991 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
12993         [BZ #18397]
12994         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
12995         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
12996         <fpu_control.h> instead of <math/fpu_control.c>.
12997         * sysdeps/mips/mips32/fpu/Makefile: New file.
12999 2015-05-11  Andreas Schwab  <schwab@suse.de>
13001         [BZ #18007]
13002         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
13003         nss_endgrent.
13004         (_nss_compat_endgrent): Call nss_endgrent.
13005         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
13006         nss_endpwent.
13007         (_nss_compat_endpwent): Call nss_endpwent.
13008         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
13009         needent, call nss_setspent only if non-zero.
13010         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
13011         (internal_endspent): Don't call nss_endspent.
13012         (_nss_compat_endspent): Call nss_endspent.
13013         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
13014         Remove.  All uses removed.
13015         (internal_setent): Remove parameter stayopen, add parameter
13016         stream.  Use it instead of global variable.
13017         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
13018         (internal_endent, internal_getent): Add parameter stream.  Use it
13019         instead of global variable.
13020         (CONCAT(_nss_files_end,ENTNAME))
13021         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
13022         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
13023         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
13024         uses removed.
13025         (internal_setent, internal_endent): Add parameter stream.  Use it
13026         instead of global variable.
13027         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
13028         stream.
13029         (get_next_alias): Add parameter stream.
13030         (_nss_files_getaliasent_r): Pass global stream.
13031         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
13032         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
13033         (_nss_files_gethostbyname4_r): Pass local stream to
13034         internal_setent, internal_getent and internal_endent.  Remove
13035         locking.
13037 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13039         * tst-strfmon1.c (tests): Update expected currency symbol.
13041 2015-05-08  Roland McGrath  <roland@hack.frob.com>
13043         * sysdeps/nacl/gethostname.c: New file.
13045 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
13047         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
13048         and sinh.
13049         * math/auto-libm-test-out: Regenerated.
13050         * sysdeps/i386/fpu/libm-test-ulps: Update.
13051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13053 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
13055         [BZ #18125]
13056         * stdlib/tst-setcontext3.c: New file.
13057         * stdlib/tst-setcontext3.sh: New file.
13058         * stdlib/Makefile (tests): Add tst-setcontext3.
13059         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
13060         to verify test program created output file.
13061         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
13062         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
13063         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
13064         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
13066 2015-05-06  Roland McGrath  <roland@hack.frob.com>
13068         [BZ #18383]
13069         * elf/tst-tlsalign.c: New file.
13070         * elf/tst-tlsalign-static.c: New file.
13071         * elf/tst-tlsalign-lib.c: New file.
13072         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
13073         (tests-static): Add tst-tlsalign-static.
13074         (modules-names): Add tst-tlsalign-lib.
13075         (test-xfail-tst-tlsalign): New variable.
13076         (test-xfail-tst-tlsalign-static): New variable.
13078         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
13079         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
13081 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
13083         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
13084         csqrt, erfc, sin and sincos.
13085         * math/auto-libm-test-out: Regenerated.
13086         * sysdeps/i386/fpu/libm-test-ulps: Update.
13087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13089 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13091         * sysdeps/aarch64/libm-test-ulps: Update.
13093 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
13095         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
13096         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
13097         * math/auto-libm-test-out: Regenerated.
13098         * sysdeps/i386/fpu/libm-test-ulps: Update.
13099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13101 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13103         [BZ #18265]
13104         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
13105         (wcsncpy): Likewise.
13107 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13109         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13110         Assume __ASSUME_FALLOCATE is always true.
13111         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13112         (__posix_fallocate64_l64): Likweise.
13113         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
13114         (posix_fallocate): Likewise.
13115         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
13116         (__posix_fallocate64_l64): Likewise.
13117         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13118         [!__ASSUME_FALLOCATE]: Add comment.
13120 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13122         * sysdeps/unix/sysv/linux/i386/Makefile
13123         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
13124         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
13125         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
13126         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13127         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13128         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
13129         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
13131 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
13133         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
13134         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
13135         tgamma.
13136         * math/auto-libm-test-out: Regenerated.
13137         * sysdeps/i386/fpu/libm-test-ulps: Update.
13138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13140 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13142         * math/auto-libm-test-in: Add more tests of tgamma.
13143         * math/auto-libm-test-out: Regenerated.
13144         * sysdeps/i386/fpu/libm-test-ulps: Update.
13145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13147         * math/auto-libm-test-in: Add more tests of tanh.
13148         * math/auto-libm-test-out: Regenerated.
13149         * sysdeps/i386/fpu/libm-test-ulps: Update.
13150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13152         * math/auto-libm-test-in: Add more tests of tan.
13153         * math/auto-libm-test-out: Regenerated.
13154         * sysdeps/i386/fpu/libm-test-ulps: Update.
13155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13157         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
13158         * math/auto-libm-test-out: Regenerated.
13159         * sysdeps/i386/fpu/libm-test-ulps: Update.
13160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13162         * math/auto-libm-test-in: Add another test of pow.
13163         * math/auto-libm-test-out: Regenerated.
13164         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13166         * math/auto-libm-test-in: Add more tests of lgamma.
13167         * math/auto-libm-test-out: Regenerated.
13168         * sysdeps/i386/fpu/libm-test-ulps: Update.
13169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13171         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
13172         log1p.
13173         * math/auto-libm-test-out: Regenerated.
13174         * sysdeps/i386/fpu/libm-test-ulps: Update.
13175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13177 2015-05-01  Mark Wielaard  <mjw@redhat.com>
13179         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
13180         Elf64_Chdr structs and ELFCOMPRESS constants.
13182 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13184         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
13185         expm1.
13186         * math/auto-libm-test-out: Regenerated.
13187         * sysdeps/i386/fpu/libm-test-ulps: Update.
13188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13190         * math/auto-libm-test-in: Add more tests of erf and erfc.
13191         * math/auto-libm-test-out: Regenerated.
13192         * sysdeps/i386/fpu/libm-test-ulps: Update.
13193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13195 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13197         * config.h.in (HAVE_AARCH64_BE): Add.
13199 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
13201         * math/auto-libm-test-in: Add more tests of csqrt.
13202         * math/auto-libm-test-out: Regenerated.
13203         * sysdeps/i386/fpu/libm-test-ulps: Update.
13204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13206         * math/auto-libm-test-in: Add more tests of cosh and sinh.
13207         * math/auto-libm-test-out: Regenerated.
13208         * sysdeps/i386/fpu/libm-test-ulps: Update.
13209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13211         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
13213 2015-04-29  Roland McGrath  <roland@hack.frob.com>
13215         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
13216         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
13218         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
13219         (euidaccess, eaccess): Define as weak aliases.
13221         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
13222         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
13223         but __suseconds_t is often 'long int' so some sources assume that
13224         type is being used (e.g. they use %ld to print tv_usec).
13226 2015-04-29  Florian Weimer  <fweimer@redhat.com>
13228         [BZ #18007]
13229         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
13230         (CVE-2014-8121)
13231         * nss/tst-nss-getpwent.c: New file.
13232         * nss/Makefile (tests): Add new test.
13234 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
13236         [BZ #18346]
13237         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
13238         exponents less than 48 as cases where high part of mantissa needs
13239         examining to determine whether argument is integral.
13240         * math/libm-test.inc (round_test_data): Add more tests.
13242 2015-04-28  Mark Wielaard  <mjw@redhat.com>
13244         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
13246 2015-04-27  David S. Miller  <davem@davemloft.net>
13248         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
13249         __tls_get_addr.
13250         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13252 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
13254         [BZ#18333]
13255         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
13257 2015-04-27  Florian Weimer  <fweimer@redhat.com>
13259         [BZ#18333]
13260         * time/tzset.c (parse_tzname): Return error on memory allocation
13261         failure.
13262         * test-skeleton.c (struct temp_name_list): Change type of name
13263         member to non-const.
13264         (add_temp_file): Create a copy of the file name.
13265         (delete_temp_files): Deallocate memory.
13266         (create_temp_file): Add comment.
13268 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13270         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
13271         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
13273 2015-04-24  Roland McGrath  <roland@hack.frob.com>
13275         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
13276         * sysdeps/arm/configure: Regenerated.
13278 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13280         [BZ #17715]
13281         * time/tzfile.c (__tzfile_read): Check for large values of
13282         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
13283         * time/tzset.c (__tzstring_len): New function, based on the old
13284         __tzstring function.
13285         (__tzstring): Call __tzstring_len.
13286         (parse_tzname): New helper function extracted from
13287         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
13288         the input string.
13289         (parse_offset): New helper function extracted from
13290         __tzset_parse_tz.  Replace switch with fallthrough with
13291         initialization before sscanf.
13292         (parse_rule): Likewise.
13293         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
13294         new-style function definition.
13295         * timezone/Makefile (tests): Add tst-tzset.
13296         (tst-tzset.out): Dependencies on time zone files.
13297         (tst-tzset-ENV): Set TZDIR.
13298         (testdata/XT%): Copy crafted time zone files.
13299         * timezone/README: Mention crafted time zone files.
13300         * timezone/testdata/XT1, timezone/testdata/XT2,
13301         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
13302         files.
13303         * timezone/tst-tzset.c: New test.
13305 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13307         * Makeconfig (+gccwarn): Remove -Winline.
13309 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13311         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
13313 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13315         * NEWS: Mention sysconf() cache information support for s390.
13316         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
13318 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
13320         * math/k_casinh.c (__kernel_casinh): Use __copysign.
13321         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
13322         (__nearbyint): Likewise.
13323         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
13324         (copysignl): Likewise.
13326 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
13328         [BZ #18287]
13329         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
13330         based on padding.  (CVE-2015-1781)
13332 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13334         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
13335         libc-vdso.h.
13336         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
13337         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
13338         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
13339         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13340         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13341         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
13342         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
13343         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13344         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13345         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
13346         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13347         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13348         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13349         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
13350         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13351         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
13352         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
13353         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
13354         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
13355         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
13356         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
13357         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
13358         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
13360 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
13362         * stdlib/setenv.c (__add_to_environ):
13363         Dump core quickly if setenv (..., NULL, ...) is called.
13364         This time, do it the right way, and pacify GCC with a pragma.
13366 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13368         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
13369         IMAP->l_prev cannot be null, and #if out the code for the contrary
13370         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
13371         believe that NS (&_dl_ns[NSID]) could point outside the array.
13373         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
13374         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
13375         before using NSID as an index.
13377 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
13379         [BZ #17825]
13380         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
13381         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
13382         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13384 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13386         Add preliminary port to Google Native Client on ARM.
13387         * abi-tags (.*-.*-nacl.*): New entry.
13388         * sysdeps/arm/nacl: New directory.
13389         * sysdeps/nacl: New directory.
13391 2015-04-16  David S. Miller  <davem@davemloft.net>
13393         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
13394         lowlevellock-futex.h
13396 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
13398         * sysdeps/tile/configure.ac: New file.
13399         * sysdeps/tile/configure: Regenerated.
13401 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13403         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
13404         conditionals for weak_alias and libc_hidden_weak.
13405         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
13406         libc_hidden_weak and weak_alias.
13407         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
13408         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
13409         and weak_alias for static one.
13411 2015-04-15  David S. Miller  <davem@davemloft.net>
13413         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13415 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13417         [BZ #18206]
13418         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
13419           Use signed comparision instead of substraction to avoid
13420           overflow bug.
13421         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
13422           Take the sign of ret.
13423         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
13424           Do not expect precise return values. Only the sign matters.
13425         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
13426         * wcsmbs/test-wcsncmp.c: New File.
13427         * string/test-strncmp.c: Add wcsncmp support.
13429 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13431         [BZ #6792]
13432         * math/w_log1p.c: New file.
13433         * math/w_log1pf.c: Likewise.
13434         * math/w_log1pl.c: Likewise.
13435         * math/Makefile (libm-calls): Add w_log1p.
13436         * math/s_log1pl.c (log1pl): Remove weak_alias.
13437         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
13438         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
13439         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
13440         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
13441         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
13442         [NO_LONG_DOUBLE] (log1pl): Likewise.
13443         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
13444         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
13445         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
13446         (log1p): Remove long_double_symbol.
13447         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
13448         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
13449         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
13450         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
13451         remove weak_alias for corresponding log1p function.
13452         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
13453         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13454         * sysdeps/ia64/fpu/w_log1p.c: New file.
13455         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
13456         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
13457         * math/libm-test.inc (log1p_test_data): Add errno expectations.
13459 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
13461         [BZ #18247]
13462         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
13463         decimal exponent by 1.
13464         * stdlib/tst-strtod-round-data: Add more tests.
13465         * stdlib/tst-strtod-round.c (tests): Regenerated.
13467 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
13469         * math/auto-libm-test-in: Add more tests of clog and clog10.
13470         * math/auto-libm-test-out: Regenerated.
13471         * sysdeps/i386/fpu/libm-test-ulps: Update.
13472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13474 2015-04-09  Roland McGrath  <roland@hack.frob.com>
13476         * Makeconfig (module-cppflags): Exclude all .v.i files.
13477         (skip-module-cppflags): Variable removed.
13479         * configure.ac (libc_config_ok): Initialize before reading
13480         preconfigure scripts, not after.
13481         * configure: Regenerated.
13483         * test-skeleton.c (TIMEOUT): Move #define to top level.
13484         (main): Grok environment variable TEST_DIRECT.  If set, print
13485         test expectation details into that file and then behave as if
13486         given --direct.
13488 2015-04-09  Florian Weimer  <fweimer@redhat.com>
13490         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
13491         warning on 32-bit.
13493 2015-04-08  David S. Miller  <davem@davemloft.net>
13495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13497 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
13499         * math/auto-libm-test-in: Add more tests of atanh.
13500         * math/auto-libm-test-out: Regenerated.
13501         * sysdeps/i386/fpu/libm-test-ulps: Update.
13502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13504         * math/auto-libm-test-in: Add more tests of atan.
13505         * math/auto-libm-test-out: Regenerated.
13506         * sysdeps/i386/fpu/libm-test-ulps: Update.
13507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13509 2015-04-08  Florian Weimer  <fweimer@redhat.com>
13511         * elf/pldd.c (main): Rewrite to use struct
13512         scratch_buffer instead of extend_alloca.
13513         * elf/pldd-xx.c (find_maps): Likewise.
13514         * grp/initgroups.c: Include <scratch_buffer.h> instead of
13515         <alloca.h>.
13516         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
13517         scratch_buffer instead of extend_alloca.
13518         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
13519         grp/compat-initgroups.c.
13520         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
13521         Rewrite to use struct scratch_buffer instead of extend_alloca.
13522         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
13523         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13525 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
13527         * math/auto-libm-test-in: Add more tests of cbrt.
13528         * math/auto-libm-test-out: Regenerated.
13529         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13531         * math/auto-libm-test-in: Add more tests of cabs.
13532         * math/auto-libm-test-out: Regenerated.
13533         * sysdeps/i386/fpu/libm-test-ulps: Update.
13534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13536         [BZ #18210]
13537         [BZ #18211]
13538         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
13539         (__ieee754_atan2): Set FE_TONEAREST mode for internal
13540         computations.
13541         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
13542         clog10.
13543         * math/auto-libm-test-out: Regenerated.
13544         * sysdeps/i386/fpu/libm-test-ulps: Update.
13545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13547         [BZ #18197]
13548         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
13549         (atan): Set FE_TONEAREST mode for internal computations.
13550         * math/auto-libm-test-in: Add more tests of atan.
13551         * math/auto-libm-test-out: Regenerated.
13553 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
13555         [BZ #17930]
13556         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
13558 2015-04-07  Florian Weimer  <fweimer@redhat.com>
13560         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
13562 2015-04-07  Florian Weimer  <fweimer@redhat.com>
13564         * include/scratch_buffer.h: New file.
13565         * malloc/scratch_buffer_grow.c: Likewise.
13566         * malloc/scratch_buffer_grow_preserve.c: Likewise.
13567         * malloc/scratch_buffer_set_array_size.c: Likewise.
13568         * malloc/tst-scratch_buffer.c: Likewise.
13569         * malloc/Makefile (routines): Add scratch_buffer_grow.
13570         (tests): Add test case.
13571         * malloc/Versions (GLIBC_PRIVATE): Export
13572         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
13573         __libc_scratch_buffer_set_array_size.
13575 2015-04-06  Richard Henderson  <rth@redhat.com>
13577         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
13578         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13580         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
13581         unsigned int before printing.
13583 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13585         [BZ #17596]
13586         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
13587         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13589 2015-04-02  Florian Weimer  <fweimer@redhat.com>
13591         * include/libc-internal.h (libc_max_align_t): Define.
13593 2015-04-02  Andreas Schwab  <schwab@suse.de>
13595         [BZ #16850]
13596         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
13598 2015-04-02  Mel Gorman  <mgorman@suse.de>
13600         [BZ #17195]
13601         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
13602         as well as the main arena.
13604 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13606         [BZ #18185]
13607         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
13608         sharing L2 cache to 2 for Silvermont/Knights Landing.
13610 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13612         [BZ #17711]
13613         * config.make.in (have-protected-data): New.
13614         * configure.ac: Check linker support for protected data symbol.
13615         * configure: Regenerated.
13616         * elf/Makefile (modules-names): Add tst-protected1moda and
13617         tst-protected1modb if $(have-protected-data) is yes.
13618         (tests): Add tst-protected1a and tst-protected1b if
13619         $(have-protected-data) is yes.
13620         ($(objpfx)tst-protected1a): New.
13621         ($(objpfx)tst-protected1b): Likewise.
13622         (tst-protected1modb.so-no-z-defs): Likewise.
13623         * elf/tst-protected1a.c: New file.
13624         * elf/tst-protected1b.c: Likewise.
13625         * elf/tst-protected1mod.h: Likewise.
13626         * elf/tst-protected1moda.c: Likewise.
13627         * elf/tst-protected1modb.c: Likewise.
13629 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13631         [BZ #17711]
13632         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
13633         indicates it is called from do_lookup_x on relocation against
13634         protected data, skip the data definion in the executable from
13635         copy reloc.
13636         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
13637         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
13638         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
13639         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
13640         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
13641         otherwise to 0.
13642         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13643         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
13644         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
13645         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13646         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
13647         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
13649 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
13651         * sysdeps/nptl/pthread.h: Remove duplicate definition of
13652         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
13654 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
13656         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
13657         THREAD_SETMEM_NC.
13658         * sysdeps/x86_64/nptl/tls.h: Ditto.
13660 2015-03-27  Roland McGrath  <roland@hack.frob.com>
13662         * dlfcn/tststatic.c (main): Converted to ...
13663         (do_test): ... this.
13664         (TEST_FUNCTION): New macro.
13665         Include test-skeleton.c.
13667 2015-03-26  Alan Modra  <amodra@gmail.com>
13669         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
13670         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
13671         zero for undefined weak.
13672         (elf_machine_plt_conflict): Similarly.
13674 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
13676         * math/auto-libm-test-in: Add more tests of acosh, asinh and
13677         atanh.
13678         * math/auto-libm-test-out: Regenerated.
13679         * sysdeps/i386/fpu/libm-test-ulps: Update.
13680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13682         * math/auto-libm-test-in: Add another test of asin.
13683         * math/auto-libm-test-out: Regenerated.
13684         * sysdeps/i386/fpu/libm-test-ulps: Update.
13685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13687         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
13688         Remove macro.
13689         (LLL_EBX_REG): Likewise.
13690         (LLL_ENTER_KERNEL): Likewise.
13692         * math/auto-libm-test-in: Add more tests of asin.
13693         * math/auto-libm-test-out: Regenerated.
13694         * sysdeps/i386/fpu/libm-test-ulps: Update.
13695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13697         [BZ #18138]
13698         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
13699         libc_do_syscall_args): New structure.
13700         (INTERNAL_SYSCALL_MAIN_0): New macro.
13701         (INTERNAL_SYSCALL_MAIN_1): Likewise.
13702         (INTERNAL_SYSCALL_MAIN_2): Likewise.
13703         (INTERNAL_SYSCALL_MAIN_3): Likewise.
13704         (INTERNAL_SYSCALL_MAIN_4): Likewise.
13705         (INTERNAL_SYSCALL_MAIN_5): Likewise.
13706         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
13707         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
13708         Replace conditional definitions by conditional definitions of ....
13709         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
13710         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
13711         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
13712         (libpthread-sysdep_routines): Add libc-do-syscall.
13713         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
13714         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
13715         to __NR_futex not 240.
13717 2015-03-25  Alan Modra  <amodra@gmail.com>
13719         * NEWS: Advertise TLS optimization.
13720         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
13721         (DT_PPC_NUM): Increment.
13722         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
13723         (CHECK_STATIC_TLS): Use here.
13724         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
13725         TLS descriptors.
13726         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13727         * sysdeps/powerpc/dl-tls.c: New file.
13728         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
13729         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
13730         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
13731         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
13732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
13733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13736 2015-03-25  Alan Modra  <amodra@gmail.com>
13738         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
13739         for overlapping .opd entries" to "support...".
13740         * sysdeps/powerpc/powerpc64/configure: Regenerate
13742 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
13744         * math/auto-libm-test-in: Add more tests of acos.
13745         * math/auto-libm-test-out: Regenerated.
13746         * sysdeps/i386/fpu/libm-test-ulps: Update.
13747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13749         * math/auto-libm-test-in: Add more tests of expm1.
13750         * math/auto-libm-test-out: Regenerated.
13751         * sysdeps/i386/fpu/libm-test-ulps: Update.
13752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13754 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
13756         * math/auto-libm-test-in: Add more tests of cosh and sinh.
13757         * math/auto-libm-test-out: Regenerated.
13758         * sysdeps/i386/fpu/libm-test-ulps: Update.
13759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13761         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13764         * math/auto-libm-test-in: Add more tests of log2.
13765         * math/auto-libm-test-out: Regenerated.
13766         * sysdeps/i386/fpu/libm-test-ulps: Update.
13767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13769 2015-03-23  Roland McGrath  <roland@hack.frob.com>
13771         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
13772         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
13773         _IO_IS_APPENDING bit in READ_WRITE instead.
13775 2015-03-23  Florian Weimer  <fweimer@redhat.com>
13777         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
13778         (__determine_cpumask_size): Replace extend_alloca with a
13779         variable-length array.  Do not treat res == 0 as an error.
13781 2015-03-23  Florian Weimer  <fweimer@redhat.com>
13783         [BZ #18100]
13784         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
13785         and integer overflow.
13786         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
13787         (main): Add integer overflow tests.
13788         * manual/pattern.texi (Calling Wordexp): Document additional use
13789         for WRDE_SYNTAX.
13791 2015-03-23  Alan Modra  <amodra@gmail.com>
13793         * config.h.in: Remove HAVE_ASM_PPC_REL16.
13794         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
13795         and false branch of conditional.
13796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13797         Likewise.
13799 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
13801         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
13802         libc-modules.h
13803         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
13804         unused declaration of _hurd_intr_rpc_msg_in_trap.
13805         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
13806         defined instead of whether it is non-zero.
13807         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
13808         input constraint instead of both input and output constraint.  Use ecx
13809         clobber instead of %ecx.
13810         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
13811         mutex_unlock): Use a statement expression instead of an expression list.
13812         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
13813         type to vm_size_t instead of vm_address_t.
13814         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
13815         defined instead of whether it is non-zero.
13816         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
13817         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
13818         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
13819         comparisons with mapaddr.
13820         * nscd/nscd-client.h: Include <time.h>.
13821         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
13822         9th parameter to __vm_region instead of int.
13823         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
13824         * scripts/check-local-headers.sh (exclude): Add device/,
13825         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
13826         cthreads.h.
13828 2015-03-19  Roland McGrath  <roland@hack.frob.com>
13830         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
13831         to account for alignment padding.
13832         * sysdeps/arm/memmove.S: Likewise.
13834 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
13836         * sysdeps/unix/sysv/linux/generic/README: New file.
13838 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
13840         [BZ #18138]
13841         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
13842         (futex_abstimed_wait)
13843         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
13844         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
13845         of lll_futex_timed_wait.
13847 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
13849         [BZ #17542]
13850         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
13852 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
13854         [BZ #17090]
13855         [BZ #17620]
13856         [BZ #17621]
13857         [BZ #17628]
13858         * NEWS: Update.
13859         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
13860         entries with Static TLS too.  Skip entries past the end of the
13861         allocated DTV, from Alan Modra.
13862         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
13863         Static TLS DTV entry set up from...
13864         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
13865         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
13866         * nptl/allocatestack.c (init_one_static_tls): ... and here...
13867         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
13868         for Static TLS.
13869         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
13870         that the slot we find is associated with the given map before
13871         using its generation count.
13872         * nptl_db/db_info.c: Include ldsodefs.h.
13873         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
13874         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
13875         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
13876         (link_map::l_tls_offset): New struct field.
13877         (dtv_t::counter): Likewise.
13878         (rtld_global): New struct.
13879         (_rtld_global): New rtld variable.
13880         (dl_tls_dtv_slotinfo_list): New rtld global field.
13881         (dtv_slotinfo_list): New struct.
13882         (dtv_slotinfo): Likewise.
13883         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
13884         (td_lookup): Rename to...
13885         (td_mod_lookup): ... this.  Use new mod parameter instead of
13886         LIBPTHREAD_SO.
13887         * nptl_db/td_thr_tlsbase.c: Include link.h.
13888         (dtv_slotinfo_list, dtv_slotinfo): New functions.
13889         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
13890         addresses even if the DTV is out of date or missing them.
13891         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
13892         index zero-length arrays.
13893         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
13894         (td_lookup): Make it a macro implemented in terms of...
13895         (td_mod_lookup): ... this declaration.
13896         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
13897         (DB_MAIN_VARIABLE): Likewise.
13899 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13901         [BZ #18134]
13902         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
13904 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
13906         * stdlib/setenv.c (__add_to_environ): Revert previous change.
13908 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
13910         [BZ #18128]
13911         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
13912         (atomic_add, atomic_increment_and_test)
13913         (atomic_decrement_and_test): Fix 64-bit arithmetic.
13915 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
13917         * stdlib/setenv.c (__add_to_environ):
13918         Dump core quickly if setenv (..., NULL, ...) is called.
13920 2015-03-13  Roland McGrath  <roland@hack.frob.com>
13922         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
13923         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
13924         all the necessary asm magic in one place.
13925         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
13926         using those.
13928 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
13930         [BZ #14906]
13931         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
13932         traced file mtime. Use consistent log message.
13933         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
13934         (register_traced_file): Call install_watches. Always set mtime.
13935         (invalidate_cache): Iterate over all trace files. Call install_watches.
13936         (inotify_check_files): Don't inline. Handle watching parent
13937         directories and configuration file movement in and out.
13938         (handle_inotify_events): New function.
13939         (main_loop_poll): Call handle_inotify_events.
13940         (main_loop_epoll): Likewise.
13941         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
13942         (struct traced_file): Use array of inotify fds. Add parent directory,
13943         and basename.
13944         (struct database_dyn): Remove unused file_mtime.
13945         (init_traced_file): New inline function.
13946         (define_traced_file): New macro.
13947         * nss/nss_db/db-init.c: Use define_traced_file.
13948         (_nss_db_init): Use init_traced_file.
13949         * nss/nss_files/files-init.c: Use define_traced_file.
13950         (_nss_files_init): Use init_traced_file.
13952 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
13954         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
13955         [_LIBC]: Do not include <stdlib.h>.
13956         [!_LIBC] (abort): Remove declaration.
13957         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
13958         _FP_STATIC_ASSERT instead of conditionally calling abort.
13959         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
13960         (_FP_EXTEND_CNAN): Likewise.
13961         (FP_TRUNC): Likewise.
13962         (__FP_CLZ): Likewise.
13963         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
13965 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
13967         * manual/string.texi (XPG basename): Fix prototype.
13969 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13971         [BZ #18080]
13972         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
13973         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
13974         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
13975         (__setcontext): Likewise.
13976         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
13977         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
13978         Call rt_sigprocmask syscall one time to set new signal mask
13979         and retrieve the current signal mask instead of two calls.
13980         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
13981         (__swapcontext): Likewise.
13982         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
13983         * stdlib/tst-setcontext2.c: New file.
13985 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13987         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13989 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
13991         [BZ #18093]
13992         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
13993         the wrong size.
13995 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13997         [BZ #18043]
13998         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
14000 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14002         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
14003         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
14004         Remove define.
14005         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
14006         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
14007         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
14008         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
14009         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
14010         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
14011         define.
14012         * nptl_db/td_symbol_list.c (td_lookup): Remove
14013         HAVE_ASM_GLOBAL_DOT_NAME code.
14014         * sysdeps/powerpc/powerpc64/configure.ac: Remove
14015         HAVE_ASM_GLOBAL_DOT_NAME check.
14016         * sysdeps/powerpc/powerpc64/configure: Regenerate.
14017         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
14018         (DOT_LABEL): Remove define.
14019         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
14020         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
14021         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
14022         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
14023         (__TLS_GET_ADDR): Likewise.
14024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
14025         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
14027 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
14029         [BZ #18111]
14030         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
14031         (_FPU_SETCW): Initialize cw from fpsr before storing.
14032         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
14033         (fesetexceptflag): Rewrite using fpu_control.h.
14034         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
14036 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
14038         [BZ #18110]
14039         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
14040         asms.
14041         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
14043 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
14045         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
14046         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
14047         abort.
14048         (_FP_FMA): Likewise.
14049         (_FP_DIV): Likewise.
14051 2015-03-10  Roland McGrath  <roland@hack.frob.com>
14053         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
14054         with 0 in that case.
14055         * Makefile (summarize-tests): New canned sequence, factored out of
14056         commands for targets tests and xtests.  Display summary lines that
14057         don't start with PASS: or XFAIL: rather than ones that do start with
14058         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
14059         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
14060         do start with ERROR: or FAIL:.
14061         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
14062         (except for [$(build-shared) = yes]).
14063         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
14064         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
14065         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
14066         * nptl/Makefile: Revert 2015-03-04 changes.
14067         [$(CXX) empty] (tests-unsupported): New variable.
14068         * debug/Makefile: Likewise.
14070         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
14071         gnulib file.  Replace __attribute with __attribute__ throughout.
14073 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
14075         * sysdeps/hppa/fpu/libm-test-ulps: Update.
14077 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14079         [BZ #18104]
14080         * math/auto-libm-test-in: Add another test of pow.
14081         * math/auto-libm-test-out: Regenerated.
14083 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14085         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
14086         $(config-cflags-nofma).
14088 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14090         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
14091         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
14092         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
14093         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
14094         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
14095         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
14096         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
14097         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
14098         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
14099         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
14100         Add comment on closing #endif.
14102 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14104         * posix/wordexp.c (CHAR_IN_SET): New macro.
14105         (parse_param): Use it.
14107 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14109         * sysdeps/powerpc/fpu/libm-test-ulps: update.
14111 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14113         [BZ #18043]
14114         * posix/wordexp.c (parse_param): Fix buffer overflow.
14115         * posix/wordexp-test.c (test_case): Add test case.
14117 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14119         [BZ #18042]
14120         * posix/wordexp.c (parse_backtick): Fix off-by-one.
14121         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
14123 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14125         [BZ #18043]
14126         * posix/wordexp-test.c (test_case): Add test for BZ #18043
14127         (do_bz18043): Delete.
14128         (at_page_end): New.
14129         (testit): Refactor to have words at the edge of unreadable page.
14131 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14133         [BZ #16734]
14134         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
14135         Cleanup read-only streams as well.
14136         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
14138 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14140         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
14141         <bits/libc-lockP.h>
14143 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
14145         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
14146         on [__KERNEL__].
14147         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
14148         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
14149         * soft-fp/op-common.h (_FP_DECL): Likewise.
14151 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
14153         * elf/ifuncdep2.c (global): Replace
14154         __attribute__((visibility("protected"))) with
14155         asm (".protected global").
14156         * elf/ifuncmod1.c (global): Likewise.
14157         * elf/ifuncmod5.c (global): Likewise.
14159 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
14161         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
14162         <asm/sfp-machine.h> instead of <sfp-machine.h>.
14164 2015-03-06  Roland McGrath  <roland@hack.frob.com>
14166         * manual/install.texi (Configuring and compiling):
14167         Document test-wrapper-env-only.
14168         * INSTALL: Regenerated.
14170 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14172         [BZ #18043]
14173         * posix/wordexp.c (parse_param): Fix buffer overflow.
14174         * posix/wordexp-test.c (do_bz18043): Add test case.
14176 2015-03-06  Vincent Bernat  <vincent@bernat.im>
14178         * time/tst-strptime2.c (do_test): Ensure failing tests are
14179         reported correctly.
14180         * time/tst-strptime3.c (do_test): Likewise.
14182 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
14184         Fix aio_error thread-safety.
14185         * sysdeps/pthread/aio_error.c: New file
14186         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
14187         synchronization.
14189 2015-03-06  Florian Weimer  <fweimer@redhat.com>
14191         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
14192         (group_number, vfprintf): Use it.
14193         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
14194         (JUMP, REF): Use it.
14195         (WORK_BUFFER_SIZE): New enum constant.
14196         (process_arg, vfprintf): Use it.
14198 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
14200         * manual/errno.texi (Error Messages): Complete example function
14201         by adding missing #define.
14202         (program_invocation_name): Add statement indicating GNU
14203         extension and reference which header file declares the variable.
14204         (program_invocation_short_name): Likewise.
14206 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
14208         * manual/errno.texi (Error Messages): Delete strerror ISO C89
14209         compatibility note.
14211 2015-03-05  Roland McGrath  <roland@hack.frob.com>
14213         * Makeconfig (test-wrapper-env-only): New variable.
14214         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
14215         then use that with $(test-wrapper-env-only) rather than using
14216         $(test-wrapper-env) $(run-program-env) $($*-ENV).
14218 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14220         [BZ #18082]
14221         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
14222         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
14223         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
14224         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
14225         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
14226         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
14227         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
14228         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
14229         Likewise.
14230         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
14231         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
14232         Likewise.
14233         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
14234         Likewise.
14235         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
14236         Likewise.
14237         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
14238         Likewise.
14239         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
14240         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
14241         Likewise.
14242         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
14243         Likewise.
14244         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
14245         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
14247 2015-03-04  Roland McGrath  <roland@hack.frob.com>
14249         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
14250         (ETH_ALEN): New macro.
14251         (struct ether_addr): Use it for length of ether_addr_octet.
14253         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
14254         (setdb): Don't call __nss_configure_lookup for "rpc".
14255         (do_test): Don't call test_rpc.
14256         (output_rpcent, test_rpc): Functions moved ...
14257         * sunrpc/test-rpcent.c: ... to this new file.
14258         * sunrpc/Makefile (tests): Add it.
14260         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
14261         __xpg_sigpause.
14262         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
14263         * nptl/tst-signal6.c: Likewise.
14264         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
14265         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
14267         * configure.ac (libc_cv_cxx_link_ok): New check.
14268         Reset CXX to empty if it fails to link.
14269         * configure: Regenerated.
14270         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
14271         bug-atexit3-lib only if $(CXX) is nonempty.
14272         * nptl/Makefile (tests): Likewise for tst-cancel24.
14273         (tests, tests-static): Likewise for tst-cancel24-static.
14274         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
14275         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
14276         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
14277         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
14279 2015-03-04  Andreas Schwab  <schwab@suse.de>
14281         [BZ #17631]
14282         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
14283         for non-GCC compilers.
14284         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14285         Likewise.
14287 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14289         [BZ #17776]
14290         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
14291         integer before bitwise and assembly operations.
14292         (feclearexcept): Likewise.
14293         * math/test-fenvinline.c: New file.
14294         * math/Makefile: Add test-fenvinline test.
14296 2015-03-03  Alan Modra  <amodra@gmail.com>
14298         [BZ #16512]
14299         * scripts/localplt.awk: Strip off symbol version.
14300         * NEWS: Mention bug fix.
14302 2015-03-02  Roland McGrath  <roland@hack.frob.com>
14304         * sysdeps/pthread/timer_routines.c
14305         (timer_free_list, thread_free_list, thread_active_list): Make static.
14307 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
14309         [BZ #17779]
14310         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14311         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14312         Undefine.
14313         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14314         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14315         Likewise.
14316         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14317         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14318         Likewise.
14320 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14322         [BZ #18036]
14323         * posix/fnmatch_loop.c (END): Detect invalid pattern.
14324         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
14326 2015-03-02  Andreas Schwab  <schwab@suse.de>
14328         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
14329         variable name.
14331 2015-03-02  Florian Weimer  <fweimer@redhat.com>
14333         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
14334         Return error status.
14336 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
14338         [BZ #15969]
14339         * locale/findlocale.c (_nl_find_locale): Introduce const
14340         version of loc_name and drop unsafe type casts.
14342 2015-02-27  Roland McGrath  <roland@hack.frob.com>
14344         * dlfcn/tststatic2.c (main): Converted to ...
14345         (do_test): ... this.
14346         (TEST_FUNCTION): New macro.
14347         Include test-skeleton.c.
14349 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
14351         [BZ #17711]
14352         * elf/Makefile (tests): Add vismain only if PIE is enabled.
14353         (tests-pie): Add vismain.
14354         (CFLAGS-vismain.c): New.
14355         * elf/vismain.c: Add comments for PIE requirement.
14357 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14359         [BZ #18046]
14360         [BZ #18047]
14361         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
14362         0x1p-56L as threshold for just returning the argument.
14363         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
14364         0x1p-32L as threshold for just returning the argument.
14365         * math/auto-libm-test-in: Add more tests of atanh.
14366         * math/auto-libm-test-out: Regenerated.
14367         * sysdeps/i386/fpu/libm-test-ulps: Update.
14368         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
14370 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14372         * string/bcopy.c (bcopy): Call memmove for performance.
14374 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14376         * string/bzero.c (__bzero): Call memset for performance.
14378 2015-02-27  John David Anglin  <dave.anglin@bell.net>
14380         [BZ #18068]
14381         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
14382         to 00100000.
14384 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14386         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
14388 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14390         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
14391         (__kernel_standard): Use CSTR macro when setting exc.name.
14392         * sysdeps/ieee754/Makefile [$(subdir) = math]
14393         (CFLAGS-k_standard.c): Remove variable.
14395         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
14396         setting p and q from "else if" to "else".
14397         (qzero): Likewise.
14398         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
14399         (qone): Likewise.
14400         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
14401         (qzerof): Likewise.
14402         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
14403         (qonef): Likewise.
14404         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
14405         (qzero): Likewise.
14406         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
14407         (qone): Likewise.
14409         [BZ #18038]
14410         [BZ #18039]
14411         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
14412         return pi/2 for arguments below 0x1p-113L.
14413         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
14414         return pi/2 for arguments below 0x1p-106L.
14415         * math/auto-libm-test-in: Add more tests of acos.
14416         * math/auto-libm-test-out: Regenerated.
14418         [BZ #16351]
14419         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
14420         (MO): New macro.
14421         (__ieee754_asin): Force underflow exception for results with small
14422         absolute value.
14423         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
14424         (MO): New macro.
14425         (__ieee754_asinf): Force underflow exception for results with
14426         small absolute value.
14427         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
14428         (__ieee754_asin): Force underflow exception for results with small
14429         absolute value.
14430         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
14431         (__ieee754_asinf): Force underflow exception for results with
14432         small absolute value.
14433         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
14434         (__ieee754_asinl): Force underflow exception for results with
14435         small absolute value.
14436         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
14437         (__ieee754_asinl): Force underflow exception for results with
14438         small absolute value.
14439         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
14440         (__ieee754_asinl): Force underflow exception for results with
14441         small absolute value.
14442         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14443         Include <math.h>.
14444         * math/auto-libm-test-in: Do not mark underflow exceptions as
14445         possibly missing for bug 16351.
14446         * math/auto-libm-test-out: Regenerated.
14448         [BZ #18030]
14449         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
14450         of power of 2 down when low part has opposite sign.
14451         * math/libm-test.inc (logb_test_data): Add more tests.
14453 2015-02-26  Andreas Schwab  <schwab@suse.de>
14455         [BZ #18032]
14456         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
14457         over collating symbol inside a bracket expression.  Minor cleanup.
14458         * posix/tst-fnmatch3.c (do_test): Add test case.
14460 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14462         [BZ #18029]
14463         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
14464         Adjust exponent of power of 2 down when low part has opposite
14465         sign.
14466         * math/libm-test.inc (ilogb_test_data): Add more tests.
14468 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
14470         [BZ #15969]
14471         * locale/findlocale.c (_nl_find_locale): Fix constness error in
14472         the previous change.
14474         [BZ #15969]
14475         * locale/findlocale.c (_nl_find_locale): Retry archive search
14476         after alias expansion.
14478 2015-02-25  Roland McGrath  <roland@hack.frob.com>
14480         * iconv/tst-iconv3.c (main): Converted to ...
14481         (do_test): ... this.
14482         (TEST_FUNCTION): New macro.
14483         Include test-skeleton.c.
14485         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
14486         (convert): Make function static.
14487         (test_unalign): Likewise.  Add const to argument pointee types.
14488         (main): Replace with static function do_test.
14489         Print "Succeeded." only if RET is zero.
14490         (TEST_FUNCTION): New macro.
14491         Include test-skeleton.c.
14493         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
14494         returns a null pointer.
14496 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14498         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
14499         to __memcpy_ppc only for static builds.
14501 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
14503         [BZ #18020]
14504         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
14505         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
14506         * math/auto-libm-test-in: Add more tests of asinh.
14507         * math/auto-libm-test-out: Regenerated.
14508         * sysdeps/i386/fpu/libm-test-ulps: Update.
14509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14511 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
14513         [BZ #15850]
14514         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
14515         and ip6_mtuinfo definitions here.
14516         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
14517         in this define too.  Update comment.
14519 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
14521         * elf/sprof.c (load_shobj): Tweak error message to match others.
14523 2015-02-24  Kevin Easton  <kevin@guarana.org>
14525         [BZ #16145] (partial fix)
14526         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
14527         to reduce lock contention.
14529 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
14531         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
14532         (struct timex): Update time comment.
14533         (ADJ_SETOFFSET): Define.
14535 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
14537         [BZ #18019]
14538         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14539         2**56 not 2**28 as threshold for log (2x) formula.
14540         * math/auto-libm-test-in: Add more tests of acosh.
14541         * math/auto-libm-test-out: Regenerated.
14542         * sysdeps/i386/fpu/libm-test-ulps: Update.
14543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14545 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
14547         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
14548         parenthesis around the buf assignment.
14549         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
14551 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
14553         [BZ #16783]
14554         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
14555         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
14556         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
14557         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14558         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14559         * math/libm-test.inc (scalb_test_data): Add more tests.
14561 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14563         [BZ #17916]
14564         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
14565         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
14567 2015-02-24  Eric Rannaud  <e@nanocritical.com>
14569         [BZ #17523]
14570         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
14571         * io/bits/fcntl2.h (open): Use it.
14572         (openat): Likewise.
14573         * io/open.c (__libc_open): Likewise.
14574         * io/open64.c (__libc_open64): Likewise.
14575         * io/open64_2.c (__open64_2): Likewise.
14576         * io/open_2.c (__open_2): Likewise.
14577         * io/openat.c (__openat): Likewise.
14578         * io/openat64.c (__openat64): Likewise.
14579         * io/openat64_2.c (__openat64_2): Likewise.
14580         * io/openat_2.c (__openat_2): Likewise.
14581         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
14582         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14583         * sysdeps/posix/open64.c (__libc_open64): Likewise.
14584         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14585         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
14586         (__open_nocancel): Likewise.
14587         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
14588         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
14589         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
14591 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14593         [BZ #14841]
14594         * resolv/gethnamaddr.c (getanswer): Skip logging if
14595         RES_USE_DNSSEC is set.
14596         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14598 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
14600         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
14602 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
14604         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14605         201304L, for Unicode 7.
14607 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
14609         [BZ #17836]
14610         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
14611         shared library.  Add gmon-start.os otherwise.
14612         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
14613         $(objpfx)gmon-start.os if builing shared library.
14614         ($(objpfx)g$(static-start-installed-name)): Likewise.
14616 2015-02-23  Andreas Schwab  <schwab@suse.de>
14618         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
14620 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
14622         [BZ #17269]
14623         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
14624         (enlarge_userbuf): Likewise.
14626 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
14628         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
14629         * math/atest-exp.c (TIMEOUT): Adjust to 200.
14630         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
14631         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
14633 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
14635         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
14636         expression inside statement expression.
14638 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14640         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
14641         <sysdeps/nptl/lowlevellock.h> and remove macros and
14642         functions that are now defined there.
14643         (SYS_futex): Remove.
14644         (lll_compare_and_swap): Remove.
14645         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
14647 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
14649         [BZ #17999]
14650         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
14651         instead of scandirat.
14652         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
14653         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
14654         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
14655         __scandirat.
14656         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
14657         (__scandirat): Declare.  Use libc_hidden_proto.
14658         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
14659         Remove variable.
14660         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14662 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
14664         [BZ #15319]
14665         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
14666         (MO): New macro.
14667         (__ieee754_atan2): For results with small absolute value, force
14668         underflow exception and remove excess range and precision from
14669         return value.
14670         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
14671         (MO): New macro.
14672         (__ieee754_atan2f): For results with small absolute value, force
14673         underflow exception and remove excess range and precision from
14674         return value.
14675         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
14676         (MO): New macro.
14677         (__atan): For results with small absolute value, force underflow
14678         exception and remove excess range and precision from return value.
14679         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
14680         (MO): New macro.
14681         (__atanf): For results with small absolute value, force underflow
14682         exception and remove excess range and precision from return value.
14683         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
14684         <math.h>.
14685         (__ieee754_atan2): Force underflow exception for results with
14686         small absolute value.
14687         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
14688         <math_private.h>.
14689         (atan): Force underflow exception for results with small absolute
14690         value.
14691         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
14692         (__atanf): Force underflow exception for results with small
14693         absolute value.
14694         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
14695         <math.h>.
14696         (__atanl): Force underflow exception for results with small
14697         absolute value.
14698         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
14699         (__atanl): Force underflow exception for results with small
14700         absolute value.
14701         * sysdeps/x86/fpu/bits/mathinline.h
14702         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
14703         (__ieee754_atan2): Only define inline for long double.
14704         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14705         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
14706         * math/auto-libm-test-in: Do not mark underflow exceptions as
14707         possibly missing for bug 15319.  Add more tests of atan2.
14708         * math/auto-libm-test-out: Regenerated.
14709         * math/libm-test.inc (casin_test_data): Do not mark underflow
14710         exceptions as possibly missing for bug 15319.
14711         (casinh_test_data): Likewise.
14712         * sysdeps/i386/fpu/libm-test-ulps: Update.
14714 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
14716         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
14717         * sysdeps/mips/bits/endian.h: Fix comments.
14719 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
14721         [BZ #17996]
14722         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
14723         (hdestroy_r): Likewise.
14724         (hsearch_r): Likewise.
14725         (__hcreate_r): Declare and use libc_hidden_proto.
14726         (__hdestroy_r): Likewise.
14727         (__hsearch_r): Likewise.
14728         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
14729         (hcreate): Call __hcreate_r instead of hcreate_r.
14730         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
14731         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
14732         as weak alias of __hcreate_r.
14733         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
14734         __hdestroy_r.
14735         (hsearch_r): Rename to __hsearch_r and define as weak alias of
14736         __hsearch_r.
14737         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
14738         Remove variable.
14739         (test-xfail-XPG4/search.h/linknamespace): Likewise.
14740         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14741         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14742         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14744 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14746         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
14747         arena_lock into a single arena_get.
14749 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
14751         * dl-reloc.c: Inlucde libc-internal.h.
14752         (_dl_try_allocate_static_tls): Call ALIGN_UP.
14753         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
14754         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
14755         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
14756         (grow_heap): Likewise.
14757         * malloc/malloc.c: Include libc-internal.h.
14758         (do_check_malloc): Call powerof2.
14759         (sysmalloc): Use pagesize. Call ALIGN_UP.
14760         (systrim): Use pagesize.
14761         (mremap_chunk): Use pagesize. Call ALIGN_UP.
14762         (__libc_valloc): Use pagesize.
14763         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
14765 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
14767         [BZ #17991]
14768         * include/sys/resource.h (__getrlimit64): Declare.  Use
14769         libc_hidden_proto.
14770         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
14771         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
14772         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
14773         getrlimit64.
14774         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
14775         __getrlimit64.
14776         [!getrlimit64] (getrlimit64): Define as weak alias of
14777         __getrlimit64.  Use libc_hidden_weak.
14778         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
14779         using __getrlimit64 not __new_getrlimit64.
14780         (__GI_getrlimit64): Likewise.
14781         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
14782         Likewise.
14783         (__GI_getrlimit64): Likewise.
14784         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
14785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
14786         (getrlimit): Add __getrlimit64 alias.
14787         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
14788         Likewise.
14789         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
14790         Remove variable.
14791         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14792         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14794 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
14796         * libio/fileops.c: Add missing sys/mman.h
14797         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
14799 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
14801         * manual/math.texi (Errors in Math Functions): Clarify goals
14802         regarding inexact and underflow exceptions.
14804 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
14806         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
14807         * sysdeps/mips/memset.S: Ditto.
14809 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
14811         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
14813 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14815         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
14816         (__v1longjmp): Remove versioned symbol.
14817         (__v1siglongjmp): Remove alias and versioned symbol.
14818         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
14819         (__v2siglongjmp): Likewise.
14821 2015-02-16  Torvald Riegel  <triegel@redhat.com>
14823         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
14825 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
14827         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
14829 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
14831         [BZ #17987]
14832         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
14833         zero result does not depend on the sign resulting from
14834         subtraction.
14835         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14836         Likewise.
14837         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14838         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14839         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14840         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14841         * math/libm-test.inc (remquo_test_data): Add more tests.
14843 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
14845         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
14846         Problem reported by J William Piggott.
14848 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
14850         [BZ #17978]
14851         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
14852         products 4 * y and 2 * y where those would overflow.
14853         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14854         Likewise.
14855         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14856         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14857         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14858         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14859         * math/libm-test.inc (remquo_test_data): Add more tests.
14861         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
14863         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
14864         [defined _COMPILING_NEWLIB].
14865         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
14866         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
14868         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
14869         [!defined __mips_isa_rev || __mips_isa_rev < 6].
14871 2015-02-16  Torvald Riegel  <triegel@redhat.com>
14873         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
14874         acquired.
14876 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
14878         [BZ #17792]
14879         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
14880         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
14881         HOST_STACK_END_ADDR): Likewise.
14883 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
14885         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
14886         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
14887         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
14889 2015-02-13  Roland McGrath  <roland@hack.frob.com>
14891         * sysdeps/generic/c++-types.data: New file.
14892         * sysdeps/generic/ld.abilist: New file.
14893         * sysdeps/generic/libBrokenLocale.abilist: New file.
14894         * sysdeps/generic/libanl.abilist: New file.
14895         * sysdeps/generic/libc.abilist: New file.
14896         * sysdeps/generic/libcrypt.abilist: New file.
14897         * sysdeps/generic/libdl.abilist: New file.
14898         * sysdeps/generic/libm.abilist: New file.
14899         * sysdeps/generic/libpthread.abilist: New file.
14900         * sysdeps/generic/libresolv.abilist: New file.
14901         * sysdeps/generic/librt.abilist: New file.
14903 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
14905         [BZ #17569]
14906         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14907         Compute absolute value of x as modified by fmod, not original
14908         value of x.
14909         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
14910         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
14911         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
14912         RUN_TEST_ffI_f1_mod8.
14913         (remquo_test_data): Add more tests.
14915 2015-02-13  Roland McGrath  <roland@hack.frob.com>
14917         * sysdeps/init_array/pt-crti.S: New file.
14919 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
14921         [BZ #17967]
14922         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
14923         __builtin_fmaf instead of relying on contraction of a * b + c.
14925 2015-02-12  J William Piggott  <elseifthen@gmx.com>
14927         [BZ #17969]
14928         * manual/time.texi: correct the zoneinfo path in the TZ Variable
14929         node.
14931 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
14933         [BZ #17964]
14934         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
14935         __builtin_fma instead of relying on contraction of a * b + c.
14937 2015-02-12  Roland McGrath  <roland@hack.frob.com>
14939         * Makeconfig (ASFLAGS): Add -Werror=undef.
14940         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
14941         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
14942         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
14944         * Makeconfig (after-link): New variable.
14945         (+link-pie, +link-pie-tests): Use it.
14946         (+link-static, +link-static-tests): Likewise.
14947         (+link, +link-tests): Likewise.
14948         * Makerules (build-module, build-module-asneeded): Likewise.
14949         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
14950         Likewise.
14951         * elf/Makefile ($(objpfx)ld.so): Likewise.
14953 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
14955         [BZ #17965]
14956         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
14957         both struct timeval and struct timespec.
14959 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
14961         [BZ #16560]
14962         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14963         and redefine.
14964         (__ieee754_exp2l): Do not multiply small fractional parts by
14965         M_LN2l.
14966         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
14967         small argument.
14968         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14969         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14970         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
14971         * math/auto-libm-test-in: Add more tests of exp2.
14972         * math/auto-libm-test-out: Regenerated.
14974 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14976         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
14977         unaligned path.
14979 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14981         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
14982         little endian.
14984 2015-02-12  Andreas Schwab  <schwab@suse.de>
14986         [BZ #15790]
14987         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14988         Filter out elision flags from value returned in kind.
14989         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
14990         * nptl/tst-pthread-mutexattr.c: New file.
14992 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14994         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
14995         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
14996         into gnu-gnu, and update comment to refer to abi-tags.
14998 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
15000         [BZ #15467]
15001         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
15002         (__sincos): Set errno to EDOM for infinite argument.
15003         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
15004         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
15005         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
15006         (__sincosl): Set errno to EDOM for infinite argument.
15007         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
15008         (__sincosl): Set errno to EDOM for infinite argument.
15009         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
15010         (__sincosl): Set errno to EDOM for infinite argument.
15011         * math/libm-test.inc (sincos_test_data): Test errno setting.
15013 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
15015         * string/strxfrm_l.c: Remove #define STRCMP.
15016         * string/strcoll_l.c: Remove #define STRLEN.
15017         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
15018         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
15020 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
15022         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
15023         * sysdeps/mips/mips32/sfp-machine.h: ... here.
15024         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
15025         * sysdeps/mips/mips64/Makefile: ... here.
15026         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
15027         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
15028         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
15029         * sysdeps/mips/mips64/sfp-machine.h: ... here.
15030         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
15031         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
15032         * sysdeps/mips/mips64/n64/Implies: Likewise.
15034 2015-02-10  Roland McGrath  <roland@hack.frob.com>
15036         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
15037         <sys/time.h>, <string.h>, and <errno.h>.
15038         (dest_offset, dest_address, value, zero): Remove unused variables.
15039         (ldouble): Remove typedef.
15040         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
15041         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
15042         1).  Fix code style.
15043         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
15044         (check): Function removed.
15045         (CHECK): New macro.
15046         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
15047         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
15048         Don't call set_sigaction_FP and remove_sigaction_FP here.
15049         (ldouble_test): Just use 'long double' as macro argument, no need for
15050         the 'ldouble' typedef.
15051         (do_test): Set up SIGFPE handler at start, using plain signal rather
15052         than sigaction.  Fix code style.
15054 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
15056         [BZ #17949]
15057         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
15058         jump label.
15060 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15062         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
15063         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15065         * sysdeps/powerpc/configure.ac: Remove file.
15066         * sysdeps/powerpc/configure: Likewise.
15068         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15069         [sysdep_routines]: Remove wordcopy-power6 object.
15070         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15071         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
15072         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
15073         (__memmove_ppc32): Likewise.
15074         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
15075         file.
15076         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
15077         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
15078         Remove preprocessor.
15080         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15081         [sysdep_routines]: Remove wide chars objects.
15082         [wcsmbs]: New rule for wide char objects.
15084         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15085         Remove wordcopy-power6 obejct.
15086         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
15087         Use local call for wordcopy and memcpy symbols.
15088         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
15089         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
15090         implementation for loader.
15091         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
15093         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15094         Remove wordcopy-power7 object.
15095         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
15096         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
15097         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
15098         (_wordcopy_fwd_dest_aligned): Likewise.
15099         (_wordcopy_bwd_aligned): Likewise.
15100         (_wordcopy_bwd_dest_aligned): Likewise.
15102         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
15103         Rewrite to call __memmove_ppc instead of include default
15104         implementation.
15106         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15107         Remove wide chars objects.
15108         [wcsmbs]: New rule for wide char objects.
15110 2015-02-09  Andreas Schwab  <schwab@suse.de>
15112         [BZ #17912]
15113         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15114         in terms of __O_DIRECTORY.
15116 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15118         * time/getdate.c: Include <stdbool.h>.
15119         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
15120         call PTR_MANGLE.
15121         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
15122         PTR_DEMANGLE.
15124 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
15126         Add ersatz _Static_assert on older C hosts
15127         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
15128         pre-C11 C platform that is not known to support _Static_assert.
15130 2015-02-07  Richard Braun  <rbraun@sceen.net>
15132         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
15133         sigstate.
15134         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
15136 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15138         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
15139         priority against unexistent AIO_PRIO_DELTA_MAX.
15140         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
15141         instead of int.
15142         * misc/fchflags.c (fchflags): Likewise.
15143         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
15144         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
15145         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
15146         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
15147         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
15148         Declare macros.
15149         [__USE_MISC] (chflags, fchflags): Declare functions.
15150         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
15151         EINVAL when nfds is greater than FD_SETSIZE.
15152         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
15153         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
15154         45.
15155         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
15156         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
15157         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
15158         MACH_RCV_TIMED_OUT.
15159         * hurd/hurd/signal.h (_hurd_self_sigstate,
15160         _hurd_critical_section_lock, _hurd_critical_section_unlock):
15161         Explicit casts from void *.
15162         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
15163         * abi-tags: Rename gnu-gnu os into gnu.
15165         [BZ #4719]
15166         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
15167         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
15168         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
15169         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
15170         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
15171         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
15173         [BZ #17944]
15174         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
15175         duplicates ADDR->sun_path with sockaddr LEN limitation.
15176         * sysdeps/mach/hurd/connect.c: Include <string.h>
15177         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
15178         * sysdeps/mach/hurd/sendmsg.c: Likewise.
15179         * sysdeps/mach/hurd/sendto.c: Likewise.
15180         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
15181         implementing it by hand.
15183 2015-02-06  Roland McGrath  <roland@hack.frob.com>
15185         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
15186         Use sfi_breg on ldr.
15187         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
15188         Likewise.
15190         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
15191         it's defined.
15192         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
15193         Test SIGSETXID only if it's defined.
15195         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
15197         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
15198         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
15200         * nptl/tst-align2.c: Moved ...
15201         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
15202         * nptl/Makefile (tests): Remove tst-align2.
15203         * sysdeps/unix/sysv/linux/Makefile
15204         [$(subdir) = nptl] (tests): Add tst-align-clone.
15205         * nptl/tst-getpid1.c: Moved ...
15206         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
15207         * nptl/tst-getpid2.c: Moved ...
15208         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
15209         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
15210         * sysdeps/unix/sysv/linux/Makefile
15211         [$(subdir) = nptl] (tests): ... here.
15212         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
15213         * sysdeps/unix/sysv/linux/Makefile
15214         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
15216         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
15217         Drop trailing \n from perror argument.  Use return rather than exit.
15219         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
15220         on [SA_SIGINFO].
15221         * nptl/tst-cancel21.c (do_test): Likewise.
15222         * debug/tst-backtrace6.c: Include <signal.h> first thing.
15223         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
15224         [!SA_SIGINFO]: Make it a stub test.
15226         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
15227         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
15229         * posix/tst-getlogin.c: Move to ...
15230         * login/tst-getlogin.c: ... here.
15231         * posix/Makefile (tests): Move tst-getlogin to ...
15232         * login/Makefile (tests): ... here.
15234         * libio/tst-atime.c (do_test): Move local variables SV and E
15235         inside [ST_NOATIME] conditional.
15237         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
15239         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
15241         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
15242         (wait_code): New function replaces macro.
15243         Call nanosleep rather than syscall.
15245         * nptl/pt-system.c: Rewritten.  Put everything under
15246         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15247         Use IFUNC to redirect when possible.
15249         * nptl/pt-longjmp.c: Rewritten.  Put everything under
15250         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15251         Use IFUNC to redirect when possible.
15253         * nptl/pt-fork.c: Rewritten.  Put everything under
15254         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15255         Use IFUNC to redirect when possible.
15256         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
15258         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
15259         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
15260         unconditionally nowadays.  This included the only reference to
15261         __vdso_clock_gettime that appears outside libc proper.
15262         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
15263         Remove version set (containing only __vdso_clock_gettime).
15264         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
15265         Add attribute_hidden.
15266         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
15267         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
15268         libc_hidden_data_def.
15269         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15270         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15272         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
15273         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
15274         setrpcent, and getrpcport to ...
15275         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
15276         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
15277         getrpcbynumber_r, and getrpcent_r to ...
15278         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
15279         * inet/getrpcbyname.c: Moved ...
15280         * sunrpc/getrpcbyname.c: ... here.
15281         * inet/getrpcbyname_r.c: Moved ...
15282         * sunrpc/getrpcbyname_r.c: ... here.
15283         * inet/getrpcbynumber.c: Moved ...
15284         * sunrpc/getrpcbynumber.c: ... here.
15285         * inet/getrpcbynumber_r.c: Moved ...
15286         * sunrpc/getrpcbynumber_r.c: ... here.
15287         * inet/getrpcent.c: Moved ...
15288         * sunrpc/getrpcent.c: ... here.
15289         * inet/getrpcent_r.c: Moved ...
15290         * sunrpc/getrpcent_r.c: ... here.
15291         * inet/Makefile (routines): Move those to ...
15292         * sunrpc/Makefile (routines): ... here.
15293         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
15294         the $(subdirs) list.
15295         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
15296         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
15297         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
15298         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
15300         * elf/Makefile (routines): Include $(all-dl-routines), not just
15301         $(dl-routines).
15302         (rtld-routines): Likewise.  Use = rather than :=.
15303         * sysdeps/aarch64/Makefile [$(subdir) = elf]
15304         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
15305         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
15306         * sysdeps/arm/Makefile: Likewise.
15307         * sysdeps/i386/Makefile: Likewise.
15308         * sysdeps/x86_64/Makefile: Likewise.
15309         * sysdeps/hppa/Makefile [$(subdir) = elf]
15310         (sysdep_routines, sysdep-rtld-routines): Don't add
15311         $(sysdep-dl-routines) to these.
15312         * sysdeps/ia64/Makefile: Likewise.
15313         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
15314         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
15315         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
15316         Don't add dl-static to these; sysdep-dl-routines alone is enough.
15317         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
15318         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
15319         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
15320         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
15321         * sysdeps/powerpc/Makefile [$(subdir) = elf]
15322         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
15323         these; sysdep-dl-routines alone is enough.
15325 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
15327         [BZ #17932]
15328         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
15329         where multiplication results in zero and third argument is finite
15330         and nonzero.
15331         * math/auto-libm-test-in: Add more tests of fma.
15332         * math/auto-libm-test-out: Regenerated.
15334         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
15335         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
15336         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
15337         (_FP_CMP_EQ): Likewise.
15338         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
15340         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
15341         extra argument CHECK_NAN.  Redefine as wrapper around
15342         _FP_EXTEND_CNAN.
15344 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
15346         * version.h (RELEASE): Set to "stable".
15347         (VERSION): Set to "2.21"
15348         * include/features.h (__GLIBC_MINOR__): Set to 21.
15350         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
15352 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15353             Paul Eggert  <eggert@cs.ucla.edu>
15355         [BZ #16618]
15356         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
15357         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
15358         size in bytes. Store needed elements in wpmax. Use needed size
15359         in bytes for extend_alloca.
15361 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
15363         * manual/install.texi: Latest tested versions are GCC 4.9.2,
15364         binutls 2.25, and texinfo 5.2.
15365         * INSTALL: Regenerate.
15366         * sysdeps/nios2/configure: Regenerate.
15367         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
15368         * manual/contrib.texi: Update.
15369         * po/be.po: Update.
15370         * po/bg.po: Update.
15371         * po/ca.po: Update.
15372         * po/cs.po: Update.
15373         * po/da.po: Update.
15374         * po/de.po: Update.
15375         * po/el.po: Update.
15376         * po/eo.po: Update.
15377         * po/es.po: Update.
15378         * po/fi.po: Update.
15379         * po/fr.po: Update.
15380         * po/gl.po: Update.
15381         * po/hr.po: Update.
15382         * po/hu.po: Update.
15383         * po/ia.po: Update.
15384         * po/id.po: Update.
15385         * po/it.po: Update.
15386         * po/ja.po: Update.
15387         * po/ko.po: Update.
15388         * po/lt.po: Update.
15389         * po/nb.po: Update.
15390         * po/nl.po: Update.
15391         * po/pl.po: Update.
15392         * po/pt_BR.po: Update.
15393         * po/ru.po: Update.
15394         * po/rw.po: Update.
15395         * po/sk.po: Update.
15396         * po/sl.po: Update.
15397         * po/sv.po: Update.
15398         * po/tr.po: Update.
15399         * po/uk.po: Update.
15400         * po/vi.po: Update.
15401         * po/zh_CN.po: Update.
15402         * po/zh_TW.po: Update.
15404         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
15405         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
15406         * sysdeps/hppa/dl-irel.h: Remove #warning.
15407         * sysdeps/hppa/entry.h: Provide prototype for
15408         __canonicalize_funcptr_for_compare and cast argument.
15409         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
15410         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
15411         * sysdeps/hppa/sotruss-lib.c: New file.
15412         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
15413         (atomic_compare_and_exchange_val_acq): Use __typeof__.
15414         (atomic_compare_and_exchange_bool_acq): Likewise.
15415         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
15416         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
15418         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
15419         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
15420         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
15422 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
15424         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
15425         called function in non-PIC case.
15427 2015-01-31  David S. Miller  <davem@davemloft.net>
15429         * sysdeps/sparc/sparc32/bits/atomic.h
15430         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
15431         unlock not after it.
15432         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
15433         volatile register usage warnings from the compiler.
15435         * sysdeps/sparc/nptl/sem_init.c: Delete.
15436         * sysdeps/sparc/nptl/sem_post.c: Delete.
15437         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
15438         * sysdeps/sparc/nptl/sem_wait.c: Delete.
15439         * sysdeps/sparc/sparc32/sem_init.c: New file.
15440         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
15441         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
15442         padding explicitly initialized.
15443         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
15444         padding for in-semaphore spinlock.
15445         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
15446         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
15447         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
15448         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
15449         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
15450         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
15451         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
15452         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
15453         version.
15454         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
15455         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
15457 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
15459         [BZ #17801]
15460         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15461         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
15462         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
15463         New.
15464         (index_AVX_Fast_Unaligned_Load): Likewise.
15465         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
15466         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
15467         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
15468         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
15469         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
15470         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
15471         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
15472         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
15473         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
15475 2015-01-29  Andreas Schwab  <schwab@suse.de>
15477         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
15479 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
15481         [BZ #17892]
15482         * nscd/nscd_stat.c (send_stats): Initialize DATA.
15484 2015-01-28  Martin Sebor  <msebor@redhat.com>
15486         * math/README.libm-test: Clarify. Add "How to read the test output."
15488 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
15490         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
15491         Define to 0.
15493 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
15495         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
15496         (__HAVE_64B_ATOMICS): Define to 0.
15498 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15500         [BZ #17885]
15501         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
15502         value to set as new flag.
15504         [BZ #16576]
15505         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
15506         and use _ARCH_PPCSQ instead.
15507         (__ieee754_sqrt): Likewise.
15508         (__ieee754_sqrtf): Likewise.
15509         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
15510         _ARCH_PPCSQ is defined.
15511         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
15512         fsqrt instruction.
15513         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
15514         _ARCH_PPCSQ is defined.
15515         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
15516         fsqrts instruction.
15517         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
15519 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15521         * iconv/loop.c: Suppress array out of bound warning caused by GCC
15522         bug (GCC BZ #64739).
15524 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
15526         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
15527         Mark _retval as used.
15528         (lll_futex_wake_unlock): Likewise.
15529         (lll_futex_timed_wait_requeue_pi): Likewise.
15531         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
15532         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
15533         register variables.
15535         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
15536         libm_hidden_def.
15538         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
15539         (__bswap_64): Mark as __always_inline.
15541 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
15543         [BZ #15378]
15544         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
15545         when none of the search directories exist.
15547 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15549         [BZ #17869]
15550         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
15551         power8 in .machine directive.
15553         [BZ #17868]
15554         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
15555         set dependency from opd value.
15557 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
15559         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15560         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
15561         architecture.
15563 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
15565         [BZ #17870]
15566         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
15567         with uint64_t.
15568         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
15569         (uint64_t) 1.
15570         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
15571         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
15572         Replace 1UL with (uint64_t) 1.
15573         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
15574         int with uint64_t.
15576 2015-01-23  Roland McGrath  <roland@hack.frob.com>
15578         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
15579         (if_freenameindex): Likewise.
15581         * resource/getrlimit64.c: Add missing libc_hidden_def.
15583 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
15585         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
15586         __label__.
15587         (_FP_FMA): Likewise.
15588         (_FP_TO_INT_ROUND): Likewise.
15589         (_FP_FROM_INT): Likewise.
15591 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15593         [BZ #16418]
15594         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
15595         Make code racy and cancel safe.
15597 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
15599         * sysdeps/arm/unwind-resume.h: Fix copyright year.
15600         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
15601         attribution.
15603         * pwd/tst-getpw.c: Rewrite.
15605         [BZ #17702]
15606         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
15607         (modules-names): Add moddummy1 and moddummy2.
15608         ($(objpfx)tst-rec-dlopen): Define.
15609         * dlfcn/moddummy1.c: New file.
15610         * dlfcn/moddummy2.c: New file.
15611         * dlfcn/tst-rec-dlopen.c: New file.
15612         * elf/dl-cache.c (_dl_load_cache_lookup):
15613         Return char*. Copy result with alloca/strcpy/strdup.
15614         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
15615         returns char*. Free cached. If not saving realname
15616         free cached.
15617         * elf/dl-open.c (dl_open_worker): Do not assert that
15618         _r_debug->r_state is RT_CONSISTENT.
15619         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
15620         returns char*.
15622 2015-01-21  Torvald Riegel  <triegel@redhat.com>
15623             Carlos O'Donell  <carlos@redhat.com>
15625         [BZ #12674]
15626         * nptl/sem_waitcommon.c: New file.
15627         * nptl/sem_wait.c: Include sem_waitcommon.c.
15628         (__sem_wait_cleanup, do_futex_wait): Remove.
15629         (__new_sem_wait): Adapt.
15630         (__new_sem_trywait): New function.
15631         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
15632         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
15633         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
15634         (sem_timedwait): Adapt.
15635         * nptl/sem_post.c (__new_sem_post): Adapt.
15636         (futex_wake): New function.
15637         (__old_sem_post): Add release MO fence.
15638         * nptl/sem_open.c (sem_open): Adapt.
15639         * nptl/sem_init.c (__new_sem_init): Adapt.
15640         (futex_private_if_supported): New function.
15641         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
15642         (__old_sem_getvalue): Add using previous code.
15643         * sysdeps/nptl/internaltypes.h: Adapt.
15644         * nptl/tst-sem13.c (do_test): Adapt.
15645         * nptl/tst-sem11.c (main): Adapt.
15646         * nptl/sem_trywait.c: Remove.
15647         * nptl/DESIGN-sem.txt: Remove.
15648         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
15649         (gen-as-const-headers): Remove structsem.sym.
15650         * nptl/structsem.sym: Remove.
15651         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
15652         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
15653         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
15654         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
15655         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
15656         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
15657         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
15658         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
15659         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
15660         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
15661         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
15662         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
15663         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
15664         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
15665         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
15666         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
15667         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
15668         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
15669         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
15670         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
15671         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
15672         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
15674 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
15676         * INSTALL: Regenerated.
15678         * po/libc.pot: Regenerated.
15680 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
15681             Sandra Loosemore  <sandra@codesourcery.com>
15682             Andrew Jenner  <andrew@codesourcery.com>
15683             Joseph Myers  <joseph@codesourcery.com>
15684             Nathan Sidwell  <nathan@codesourcery.com>
15686         * NEWS: Mention new Nios II port.
15687         * sysdeps/nios2/Implies: New file.
15688         * sysdeps/nios2/Makefile: New file.
15689         * sysdeps/nios2/Subdirs: New file.
15690         * sysdeps/nios2/Versions: New file.
15691         * sysdeps/nios2/__longjmp.S: New file.
15692         * sysdeps/nios2/abort-instr.h: New file.
15693         * sysdeps/nios2/backtrace.c: New file.
15694         * sysdeps/nios2/bits/endian.h: New file.
15695         * sysdeps/nios2/bits/fenv.h: New file.
15696         * sysdeps/nios2/bits/link.h: New file.
15697         * sysdeps/nios2/bits/setjmp.h: New file.
15698         * sysdeps/nios2/bsd-_setjmp.S: New file.
15699         * sysdeps/nios2/bsd-setjmp.S: New file.
15700         * sysdeps/nios2/configure: New generated file.
15701         * sysdeps/nios2/configure.ac: New file.
15702         * sysdeps/nios2/crti.S: New file.
15703         * sysdeps/nios2/crtn.S: New file.
15704         * sysdeps/nios2/dl-init.c: New file.
15705         * sysdeps/nios2/dl-machine.h: New file.
15706         * sysdeps/nios2/dl-sysdep.h: New file.
15707         * sysdeps/nios2/dl-tls.h: New file.
15708         * sysdeps/nios2/dl-trampoline.S: New file.
15709         * sysdeps/nios2/gccframe.h: New file.
15710         * sysdeps/nios2/gmp-mparam.h: New file.
15711         * sysdeps/nios2/jmpbuf-offsets.h: New file.
15712         * sysdeps/nios2/jmpbuf-unwind.h: New file.
15713         * sysdeps/nios2/ldsodefs.h: New file.
15714         * sysdeps/nios2/libc-tls.c: New file.
15715         * sysdeps/nios2/libm-test-ulps: New file.
15716         * sysdeps/nios2/machine-gmon.h: New file.
15717         * sysdeps/nios2/math-tests.h: New file.
15718         * sysdeps/nios2/math_private.h: New file.
15719         * sysdeps/nios2/memusage.h: New file.
15720         * sysdeps/nios2/nptl/Makefile: New file.
15721         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
15722         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
15723         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
15724         * sysdeps/nios2/nptl/pthreaddef.h: New file.
15725         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
15726         * sysdeps/nios2/nptl/tls.h: New file.
15727         * sysdeps/nios2/preconfigure: New file.
15728         * sysdeps/nios2/s_fma.c: New file.
15729         * sysdeps/nios2/s_fmaf.c: New file.
15730         * sysdeps/nios2/setjmp.S: New file.
15731         * sysdeps/nios2/sfp-machine.h: New file.
15732         * sysdeps/nios2/sotruss-lib.c: New file.
15733         * sysdeps/nios2/stackguard-macros.h: New file.
15734         * sysdeps/nios2/stackinfo.h: New file.
15735         * sysdeps/nios2/start.S: New file.
15736         * sysdeps/nios2/sysdep.h: New file.
15737         * sysdeps/nios2/tls-macros.h: New file.
15738         * sysdeps/nios2/tst-audit.h: New file.
15739         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
15740         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
15741         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
15742         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
15743         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
15744         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
15745         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
15746         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
15747         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
15748         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
15749         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
15750         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
15751         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
15752         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
15753         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
15754         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
15755         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
15756         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
15757         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
15758         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
15759         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
15760         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
15761         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
15762         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
15763         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
15764         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
15765         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
15766         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
15767         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
15768         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
15769         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
15770         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
15771         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
15772         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
15773         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
15774         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
15775         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
15776         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
15777         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
15778         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
15779         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
15780         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
15781         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
15782         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
15784 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15786         [BZ #17844]
15787         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
15788         (getutent): Use weak_alias in non SHARED case
15789         and default_symbol_version in SHARED case.
15790         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
15791         (getutent_r, pututline): Likewise.
15792         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
15793         (getutid): Likewise.
15794         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
15795         (getutid_r): Likewise.
15796         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
15797         (getutline): Likewise.
15798         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
15799         (getutline_r): Likewise.
15800         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
15801         (updwtmp): Likewise.
15803 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15805         [BZ #17848]
15806         * sysdeps/s390/s390-32/memcmp.S
15807         (memcmp_g5): Rename to __memcmp_g5.
15808         * sysdeps/s390/s390-32/memcpy.S
15809         (memcpy_g5): Rename to __memcpy_g5.
15810         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15811         (memcpy_mvcle) Rename to __memcpy_mvcle.
15812         * sysdeps/s390/s390-32/memset.S
15813         (memset_g5): Rename to __memset_g5.
15814         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15815         (IFUNC_RESOLVE): Prefix ifunc-resolve function
15816         and use prefixed functions.
15817         * sysdeps/s390/s390-32/multiarch/memcmp.S
15818         (memcmp_z196): Rename to __memcmp_z196.
15819         (memcmp_z10): Rename to __memcmp_z10.
15820         (memcmp): Set alias to __memcmp_g5.
15821         (bcmp): Set alias to __memcmp_g5.
15822         * sysdeps/s390/s390-32/multiarch/memcpy.S
15823         (memcpy_z196): Rename to __memcpy_z196.
15824         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15825         (memcpy_z10): Rename to __memcpy_z10.
15826         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15827         (memcpy): Set alias to __memcpy_g5.
15828         * sysdeps/s390/s390-32/multiarch/memset.S
15829         (memset_z196): Rename to __memset_z196.
15830         Jump to __memset_mvcle instead of memset_mvcle.
15831         (memset_z10): Rename to __memset_z10.
15832         Jump to __memset_mvcle instead of memset_mvcle.
15833         (memset_mvcle) Rename to __memset_mvcle.
15834         (memset): Set alias to __memset_g5.
15835         * sysdeps/s390/s390-64/memcmp.S
15836         (memcmp_z900): Rename to __memcmp_z900.
15837         * sysdeps/s390/s390-64/memcpy.S
15838         (memcpy_z900): Rename to __memcpy_z900.
15839         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15840         (memcpy_mvcle) Rename to __memcpy_mvcle.
15841         * sysdeps/s390/s390-64/memset.S
15842         (memset_z900): Rename to __memset_z900.
15843         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
15844         (IFUNC_RESOLVE): Prefix ifunc-resolve function
15845         and use prefixed functions.
15846         * sysdeps/s390/s390-64/multiarch/memcmp.S
15847         (memcmp_z196): Rename to __memcmp_z196.
15848         (memcmp_z10): Rename to __memcmp_z10.
15849         (memcmp): Set alias to __memcmp_z900.
15850         (bcmp): Set alias to __memcmp_z900.
15851         * sysdeps/s390/s390-64/multiarch/memcpy.S
15852         (memcpy_z196): Rename to __memcpy_z196.
15853         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15854         (memcpy_z10): Rename to __memcpy_z10.
15855         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15856         (memcpy): Set alias to __memcpy_z900.
15857         * sysdeps/s390/s390-64/multiarch/memset.S
15858         (memset_z196): Rename to __memset_z196.
15859         Jump to __memset_mvcle instead of memset_mvcle.
15860         (memset_z10): Rename to __memset_z10.
15861         Jump to __memset_mvcle instead of memset_mvcle.
15862         (memset_mvcle) Rename to __memset_mvcle.
15863         (memset): Set alias to __memset_z900.
15865 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
15867         [BZ #17748]
15868         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
15869         __fesetenv instead of fesetenv.
15871 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15873         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
15874         macro.
15876 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15878         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
15879         regression on LE.
15881         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
15882         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
15883         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15884         strncmp-power8 object.
15885         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15886         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
15887         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
15888         * NEWS: Update.
15890 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15891             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15893         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
15894         trailing byte check.
15896 2015-01-13  David S. Miller  <davem@davemloft.net>
15898         * include/signal.h (__sigreturn): Guard with __USE_MISC.
15900 2015-01-13  Roland McGrath  <roland@hack.frob.com>
15902         * login/logout.c (logout): Use memset rather than bzero.
15903         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
15904         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
15905         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
15906         (_gethtbyaddr): Likewise.
15907         * locale/programs/simple-hash.c (bcopy): Macro removed.
15909 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15911         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15912         Add strcmp-power8 object.
15913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15914         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
15915         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
15916         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
15917         __strcmp_power8 implementation.
15918         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
15919         * NEWS: Update.
15921         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15922         Add strncpy-power8 and stpncpy-power8 objects.
15923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15924         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
15925         implementations.
15926         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
15927         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
15928         __stpncpy_power8 implementation.
15929         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
15930         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
15931         __strncpy_power8 implementation.
15932         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
15933         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
15934         * NEWS: Update.
15936         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
15937         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
15938         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
15940         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15941         strncat-power8 object.
15942         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
15943         __strcat_power8 implementation.
15944         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15945         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
15946         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
15947         optimized strcat for power8.
15949         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15950         strcpy-power8 and stpcpy-power8 objects.
15951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15952         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
15953         implementations.
15954         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
15955         multiarch stpcpy implementation for POWER8.
15956         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
15957         multiarch strcpy implementation for POWER8.
15958         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
15959         __strcpy_power8 function.
15960         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
15961         stpcpy for POWER8.
15962         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
15963         strcpy for POWER8.
15964         * NEWS: Update.
15966 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
15968         [BZ #16009]
15969         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
15970         weights and rules. Use do_xfrm_cached if data fits in cache,
15971         do_xfrm otherwise.  Moved former main loop to...
15972         * (do_xfrm_cached): New function.
15973         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
15974         find_idx, find_position and stack_push.
15975         * (find_idx): New function.
15976         * (find_position): Likewise.
15977         * localedata/sort-test.sh: Added test run for do_xfrm.
15978         * localedata/xfrm-test.c (main): Added command line option
15979         -nocache to run the test with strings that are too large for
15980         the STRXFRM cache.
15982 2015-01-13  Torvald Riegel  <triegel@redhat.com>
15984         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
15985         variable to lll_futex_wake call, not the value itself.
15987 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
15989         [BZ #17803]
15990         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
15991         twom64.  Adjust value to 0x1p-64L.
15992         (__scalblnl): Only return standard underflowing result for K <=
15993         -64 not K <= -63; adjust exponent for underflowing result by 64
15994         not 63.
15995         * math/libm-test.inc (scalbn_test_data): Add more tests.
15996         (scalbln_test_data): Likewise.
15998         [BZ #17834]
15999         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
16000         0x1p63L.
16001         (__scalblnl): Get new exponent of adjusted subnormal value from ES
16002         not HX.
16003         * math/libm-test.inc (scalbn_test_data): Add more tests.
16004         (scalbln_test_data): Likewise.
16006 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16007             Stefani Seibold  <stefani@seibold.net>
16009         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
16010         (sysdep_routines): Add dl-vdso here, ...
16011         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
16012         (sysdep_routines): ... not here.
16013         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
16014         fallback when vDSO is not presented.
16015         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16016         Define with libc_hidden_proto/libc_hidden_data_def definitions.
16017         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
16018         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
16019         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
16020         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
16021         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
16022         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
16023         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
16024         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
16025         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
16026         fallback configurable symbol when vDSO is not available.
16027         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
16028         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
16029         be able to redefine fallback symbol when vDSO is not available.
16030         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
16031         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
16033 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16035         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
16036         (TLS_INIT_TP): Add tm_capable initialization.
16037         (TLS_DEFINE_INIT_TP): Likewise.
16038         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
16039         TCB.
16040         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
16041         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
16042         calculation.
16043         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
16044         transactoion is lock elision is built and TCB tm_capable is set.
16045         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
16046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16047         (INTERNAL_SYSCALL_NCS): Likewise.
16048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16049         (INTERNAL_SYSCALL_NCS): Likewise.
16050         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
16052         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
16053         for powerpc.
16054         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16055         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
16056         and remove it for 32 bits case.
16057         [pthread_rwlock_t] (__rwelision): New field for lock elision.
16058         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
16059         initialization.
16060         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
16061         Disable lock elision with rdlocks if elision is not available.
16063         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
16064         (sysdep_routines): Add lock elision objects.
16065         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16066         [pthread_mutex_t] (__spins): Rework to add lock elision field.
16067         [pthread_mutex_t] (__elision): Add field.
16068         [__PTHREAD_SPINS]: Adjust to init lock elision field.
16069         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
16070         elision definitions for powerpc.
16071         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
16072         implementation of lock elision for powerpc.
16073         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
16074         implementation of timed lock elision for powerpc.
16075         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
16076         implementation of trylock with lock elision for powerpc.
16077         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
16078         implementaion of unlock for lock elision for powerpc.
16079         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
16080         automatic enable lock elision for mutexes.
16081         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
16082         transaction execution definitions for powerpc.
16083         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
16084         definitions.
16085         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
16086         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
16087         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
16088         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
16089         * NEWS: Update.
16091 2015-01-09  Roland McGrath  <roland@hack.frob.com>
16093         * sysdeps/posix/shm-directory.c: Use <> rather than ""
16094         for #include of <shm-directory.h>.
16096 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
16098         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
16099         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
16101 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
16103         [BZ #17791]
16104         * NEWS: Mention bug fix.
16105         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
16106         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
16107         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
16109 2015-01-09  Torvald Riegel <triegel@redhat.com>
16111         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
16113 2015-01-09  Torvald Riegel <triegel@redhat.com>
16115         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
16117 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16119         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
16120         pointer and cast to uintptr_t.
16122 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16124         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
16125         removed.
16126         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
16128 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16130         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
16131         of 0.
16133 2015-01-08  Roland McGrath  <roland@hack.frob.com>
16135         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
16136         <nptl/pthreadP.h> instead.
16137         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
16139         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
16140         already defined.
16141         [__SIGRTMIN] (init): Function removed.
16142         [__SIGRTMIN] (initialized): Variable removed.
16143         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
16144         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
16145         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
16146         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
16147         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
16148         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
16149         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
16150         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
16151         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
16152         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
16153         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
16154         * sysdeps/nptl/allocrtsig.c: New file.
16155         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
16156         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
16157         * sysdeps/generic/testrtsig.h: File removed.
16159         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
16160         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
16162         * nptl/nptl-init.c (pthread_functions): Conditionalize
16163         .ptr__nptl_setxid initialization on [SIGSETXID].
16165         * sysdeps/nptl/sys/procfs.h: New file.
16166         * nptl_db/Makefile (headers): Add it.
16167         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
16169         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
16170         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
16171         * nptl/pthread_attr_setaffinity.c: Include it.
16172         * nptl/pthread_setattr_default_np.c: Likewise.
16173         * nptl/check-cpuset.h: New file.
16175 2015-01-08  Richard Henderson  <rth@redhat.com>
16177         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
16178         (CFLAGS-tst-execstack-prog.c): Likewise.
16179         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
16181 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
16182             Sandra Loosemore  <sandra@codesourcery.com>
16183             Andrew Jenner  <andrew@codesourcery.com>
16184             Joseph Myers  <joseph@codesourcery.com>
16185             Nathan Sidwell  <nathan@codesourcery.com>
16187         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
16188         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
16189         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
16190         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
16191         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
16192         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
16193         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
16194         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
16195         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
16196         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
16197         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
16198         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
16199         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
16200         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
16201         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
16202         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
16203         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
16205 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16207         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
16208         timespec struct member in syscall macro.
16209         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16210         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
16211         first timeval struct member in syscall macro.
16212         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
16214 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
16216         [BZ #17748]
16217         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
16218         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
16219         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
16220         __feupdateenv and define as weak alias of __feupdateenv.  Use
16221         libm_hidden_weak.
16222         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
16223         libm_hidden_def.
16224         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
16225         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
16226         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16227         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
16228         libm_hidden_def.
16229         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
16230         __feupdateenv and define as weak alias of __feupdateenv.  Use
16231         libm_hidden_weak.
16232         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
16233         libm_hidden_def.
16234         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
16235         __feupdateenv and define as weak alias of __feupdateenv.  Use
16236         libm_hidden_weak.
16237         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
16238         libm_hidden_def.
16239         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16240         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16241         (__feupdateenv): Likewise.
16242         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
16243         __feupdateenv and define as weak alias of __feupdateenv.  Use
16244         libm_hidden_weak.
16245         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16246         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
16247         libm_hidden_def.
16248         * sysdeps/tile/math_private.h (__feupdateenv): New inline
16249         function.
16250         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
16251         libm_hidden_def.
16252         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
16253         __feupdateenv instead of feupdateenv.
16254         (default_libc_feupdateenv_test): Likewise.
16255         (libc_feresetround_ctx): Likewise.
16257 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16259         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
16260         prototype.
16262 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
16264         * posix/regcomp.c (parse_bracket_exp): Initialize type to
16265         COLL_SYM in a couple of places to avoid uninitialized variable
16266         wanings on tilegx gcc 4.8.2.
16268 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
16270         * sysdeps/aarch64/strcpy.S: New file.
16271         * sysdeps/aarch64/stpcpy.S: New file.
16272         * NEWS: Updated.
16274 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
16276         * sysdeps/aarch64/strrchr.S: New file.
16277         * NEWS: Updated.
16279 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
16281         [BZ #17658]
16282         * stdlib/setenv.c: Fix memory leak when setting large,
16283         duplicate string.
16285 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
16287         [BZ #17273]
16288         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
16289         and tabs from buffer before parsing fstab entry.
16290         * misc/tst-mntent.c (main): Add test for mount entry with
16291         trailing spaces and tabs.
16293 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
16295         [BZ #17748]
16296         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
16297         * math/fesetround.c (fesetround): Rename to __fesetround and
16298         define as weak alias of __fesetround.  Use libm_hidden_weak.
16299         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
16300         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
16301         * sysdeps/arm/fesetround.c (fesetround): Likewise.
16302         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
16303         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
16304         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
16305         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
16306         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
16307         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
16308         __fesetround_inline.
16309         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
16310         __fesetround_inline instead of __fesetround.
16311         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
16312         __fesetround and define as weak alias of __fesetround.  Use
16313         libm_hidden_weak.  Call __fesetround_inline instead of
16314         __fesetround.
16315         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
16316         __fesetround and define as weak alias of __fesetround.  Use
16317         libm_hidden_weak.
16318         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
16319         Likewise.
16320         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
16321         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16322         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
16323         * sysdeps/tile/math_private.h (__fesetround): New inline function.
16324         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
16325         __fesetround and define as weak alias of __fesetround.  Use
16326         libm_hidden_weak.
16327         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
16328         __fesetround instead of fesetround.
16329         (default_libc_feholdexcept_setround): Likewise.
16330         (libc_feholdsetround_ctx): Likewise.
16331         (libc_feholdsetround_noex_ctx): Likewise.
16333         [BZ #17748]
16334         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
16335         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
16336         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16337         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16338         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16339         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
16340         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16341         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
16342         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16343         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16344         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16345         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16346         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16347         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16348         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
16349         libm_hidden_def.
16350         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
16351         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
16352         Likewise.
16353         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16354         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16355         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16356         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16357         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
16358         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16359         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16360         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
16361         __fesetenv instead of fesetenv.
16362         (libc_feresetround_noex_ctx): Likewise.
16363         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16364         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16365         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
16366         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16367         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16368         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16369         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16370         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16371         (__feupdateenv): Likewise.
16372         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16373         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16374         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16375         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
16377 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16379         [BZ #17806]
16380         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
16381         addresses have been freed.
16383 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16385         * resolv/res_init.c (__res_vinit): Improve comments about nserv
16386         and nservall.
16388 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
16390         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
16391         Clean up check_pf allocation pattern. addresses
16393 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16395         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
16396         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
16397         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
16398         * nptl/pthread_exit.c (__pthread_exit): Likewise.
16399         * nptl/pthread_join.c (pthread_join): Likewise.
16400         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16401         * sysdeps/posix/waitid.c (__waitid): Likewise.
16402         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16403         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16404         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16405         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16406         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16407         Likewise.
16408         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16409         (__libc_pread64): Likewise.
16410         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16411         (__libc_pwrite): Likewise.
16412         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16413         (__libc_pwrite64): Likewsie.
16414         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16415         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16416         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16417         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16418         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16419         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16420         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16422         Likewise.
16423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16424         (__libc_pread64): Likewise.
16425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
16426         Likewise.
16427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16428         (__libc_pwrite64): Likewise.
16429         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16430         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16431         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
16432         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
16433         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16434         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16435         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
16436         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16437         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16438         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16439         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
16440         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16441         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16442         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
16443         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16444         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16445         Likewise.
16447 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
16449         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
16450         (CFLAGS-test-double.c): Likewise.
16451         (CFLAGS-test-ldouble.c): Likewise.
16452         (CPPFLAGS-test-ifloat.c): Likewise.
16453         (CPPFLAGS-test-idouble.c): Likewise.
16454         (CPPFLAGS-test-ildoubl.c): Likewise.
16455         (CFLAGS-test-test-fenv.c): Remove variable.
16456         (CFLAGS-test-misc.c): Likewise.
16458 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
16460         [BZ #17797]
16461         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
16462         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
16463         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
16464         CLOCKS_PER_SEC == 1000000.
16465         * time/clocktest.c (main): Replace %ld with %jd and cast to
16466         intmax_t.
16468 2015-01-05  Roland McGrath  <roland@hack.frob.com>
16470         * sysdeps/generic/unwind-resume.h: New file.
16471         * sysdeps/gnu/unwind-resume.c: Include it.
16472         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
16473         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
16474         argument list.
16475         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
16476         global rather than static.
16477         (_Unwind_Resume): Update user.
16478         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
16479         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
16480         rather than static.  Add __attribute__ ((cold)).
16481         (_Unwind_Resume, __gcc_personality_v0): Update callers.
16482         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16483         * sysdeps/arm/arm-unwind-resume.S: New file.
16484         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
16485         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
16486         * sysdeps/arm/Makefile [$(subdir) = csu]
16487         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
16488         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16489         Add rt-arm-unwind-resume.
16490         [$(subdir) = nptl]
16491         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16492         Add pt-arm-unwind-resume.
16493         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
16494         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
16496 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16498         [BZ #17748]
16499         * include/fenv.h (__feholdexcept): Declare.  Use
16500         libm_hidden_proto.
16501         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
16502         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
16503         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16504         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
16505         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
16506         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
16507         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
16508         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16509         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
16510         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
16511         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16512         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
16513         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
16514         (feholdexcept): Likewise.
16515         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16516         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16517         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16518         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16519         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
16520         __feholdexcept instead of feholdexcept.
16521         (default_libc_feholdexcept_setround): Likewise.
16523 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16525         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
16526         to avoid using stl/str to align destination.
16528 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16530         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
16532 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16534         [BZ #17796]
16535         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
16536         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
16537         Define as weak alias not strong alias.
16539 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16541         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
16542         bltzal with addiupc.
16543         (RTLD_START): Ditto.
16545 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
16547         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
16548         for __vdso_* functions in declarations.
16549         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
16550         definitions.
16551         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
16552         INTERNAL_VSYSCALL): Use struct return types to check for error.
16554         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
16555         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
16556         function with cast from llround().
16557         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
16558         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16559         Define.
16561 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16563         [BZ #17793]
16564         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
16565         Define as weak alias not strong alias.
16567         [BZ #17635]
16568         * ctype/ctype-c99.c: New file.  isblank implementation moved from
16569         ...
16570         * ctype/ctype-extn.c: ... here.
16571         (__isblank_l): Move to ...
16572         * ctype/ctype-c99_l.c: ... here.  New file.
16573         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
16574         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
16575         Remove variable.
16576         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
16577         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
16578         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
16579         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
16580         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
16582         [BZ #17777]
16583         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
16584         (posix_fadvise64): Define as weak alias not strong alias.
16585         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16586         (posix_fallocate64): Likewise.
16587         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
16588         Remove variable.
16589         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
16590         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
16591         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
16592         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
16593         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
16595 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
16597         [BZ #16191]
16598         * NEWS: Mention bug fix.
16599         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
16600         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
16601         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
16602         (HOST_STACK_END_ADDR): Likewise.
16604 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
16606         [BZ #17748]
16607         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
16608         * math/fegetround.c (fegetround): Rename to __fegetround and
16609         define as weak alias of __fegetround.  Use libm_hidden_weak.
16610         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
16611         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
16612         * sysdeps/arm/fegetround.c (fegetround): Likewise.
16613         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
16614         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16615         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
16616         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
16617         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
16618         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16619         Undefine after rather than before function definition; use
16620         parentheses around function name in definition.
16621         (__fegetround): Also undefine macro after function definition.
16622         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
16623         __fegetround and define as weak alias of __fegetround.  Use
16624         libm_hidden_weak.  Do not undefine as macro.
16625         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16626         Likewise.
16627         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
16628         __fegetround and define as weak alias of __fegetround.  Use
16629         libm_hidden_weak.
16630         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16631         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16632         * sysdeps/tile/math_private.h (__fegetround): New inline function.
16633         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
16634         __fegetround and define as weak alias of __fegetround.  Use
16635         libm_hidden_weak.
16636         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
16637         __fegetround instead of fegetround.
16639         [BZ #17782]
16640         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
16641         Condition macro definition on [__USE_MISC].
16643         [BZ #17781]
16644         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
16645         (struct sigaction): Change type of sa_flags field to int.
16647         [BZ #17780]
16648         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
16649         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
16650         __glibc_reserved0.
16652         * nptl/version.c (banner): Use single year in copyright notice.
16654         * NEWS: Update copyright dates.
16655         * catgets/gencat.c (print_version): Likewise.
16656         * csu/version.c (banner): Likewise.
16657         * debug/catchsegv.sh: Likewise.
16658         * debug/pcprofiledump.c (print_version): Likewise.
16659         * debug/xtrace.sh (do_version): Likewise.
16660         * elf/ldconfig.c (print_version): Likewise.
16661         * elf/ldd.bash.in: Likewise.
16662         * elf/pldd.c (print_version): Likewise.
16663         * elf/sotruss.sh: Likewise.
16664         * elf/sprof.c (print_version): Likewise.
16665         * iconv/iconv_prog.c (print_version): Likewise.
16666         * iconv/iconvconfig.c (print_version): Likewise.
16667         * locale/programs/locale.c (print_version): Likewise.
16668         * locale/programs/localedef.c (print_version): Likewise.
16669         * login/programs/pt_chown.c (print_version): Likewise.
16670         * malloc/memusage.sh (do_version): Likewise.
16671         * malloc/memusagestat.c (print_version): Likewise.
16672         * malloc/mtrace.pl: Likewise.
16673         * manual/libc.texinfo: Likewise.
16674         * nptl/version.c (banner): Likewise.
16675         * nscd/nscd.c (print_version): Likewise.
16676         * nss/getent.c (print_version): Likewise.
16677         * nss/makedb.c (print_version): Likewise.
16678         * posix/getconf.c (main): Likewise.
16679         * scripts/test-installation.pl: Likewise.
16680         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16682 2015-01-02  Will Newton  <will.newton@linaro.org>
16684         * sysdeps/arm/armv7/configure: Removed.
16685         * sysdeps/arm/armv7/configure.ac: Likewise.
16687 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
16689         * All files with FSF copyright notices: Update copyright dates
16690         using scripts/update-copyrights.
16691         * intl/plural.c: Regenerated.
16692         * locale/programs/charmap-kw.h: Likewise.
16693         * locale/programs/locfile-kw.h: Likewise.
16695 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16697         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
16699 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
16701         [BZ #17748]
16702         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
16703         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
16704         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
16705         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
16706         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16707         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
16708         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16709         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
16710         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16711         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16712         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16713         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16714         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16715         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16716         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
16717         libm_hidden_def.
16718         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
16719         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
16720         Likewise.
16721         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16722         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16723         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16724         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16725         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
16726         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
16727         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
16728         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
16729         __fegetenv instead of fegetenv.
16730         (libc_feholdsetround_noex_ctx): Likewise.
16732 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
16734         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
16735         (Elf_MIPS_ABIFlags_v0): New structure.
16736         (EF_MIPS_FP64): Define.
16737         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
16738         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
16739         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
16740         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
16741         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
16742         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
16743         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
16744         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
16745         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
16746         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
16747         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
16748         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
16749         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
16750         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
16751         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
16752         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
16753         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
16754         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
16755         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
16756         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
16757         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
16758         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
16759         field.
16760         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
16761         EF_MIPS_FP64.
16762         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
16763         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
16764         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
16765         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
16766         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
16767         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
16768         * sysdeps/mips/tst-abi-interlink.c: Likewise.
16769         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
16770         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
16771         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
16772         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
16773         record the current FP ABI extension.
16774         (mips-mode-switch): Define to show if kernel headers support mode
16775         switching.
16776         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16777         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
16778         supported SYSV ABI version to 3.
16779         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
16780         feature.
16782 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16783             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16785         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
16786         path.
16787         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
16789 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
16791         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
16792         __fegetround and redefine to call __fegetround.  Remove condition
16793         on [!__NO_MATH_INLINES].
16794         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
16795         function.
16796         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
16797         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16798         Remove macro.
16799         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
16800         instead of <fenv_libc.h>.
16801         (__llrintl): Call fegetround instead of __fegetround.
16802         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
16803         instead of <fenv_libc.h>.
16804         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16805         (__lrintl): Call fegetround instead of __fegetround.
16806         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
16807         instead of <fenv_libc.h>.
16808         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16809         (__rintl): Call fegetround instead of __fegetround.
16811 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16813         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
16814         arrays.
16816 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
16818         [BZ #17775]
16819         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
16820         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
16821         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
16823 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16825         * sysdeps/i386/tls-macros.h: Include <features.h>.
16826         (TLS_LE): Use non-PIC version for GCC >= 5.0.
16827         (TLS_IE): Likewise.
16828         (TLS_LD): Likewise.
16829         (TLS_GD): Likewise.
16830         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
16831         define for GCC >= 5.0.
16833 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
16835         * math/test-fenv.c (test_single_exception, set_single_exc,
16836         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
16837         feexcp_mask_test, feenable_test, fe_single_test): Add
16838         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
16839         case where they are not used.
16840         * math/libm-test.inc: Likewise.
16841         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
16842         unused in the absence of FP rounding/exception support.
16843         * stdio-common/tst-printf-round.c: Likewise.
16844         * stdlib/tst-strtod-round.c: Likewise.
16845         * stdlib/tst-strtod-underflow.c: Likewise.
16847 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
16849         [BZ #17723]
16850         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
16851         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
16852         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16853         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16854         libm_hidden_weak.
16855         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
16856         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
16857         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
16858         libm_hidden_def.
16859         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16860         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16861         libm_hidden_weak.
16862         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
16863         Likewise.
16864         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
16865         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16866         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16867         libm_hidden_weak.
16868         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
16869         libm_hidden_def.
16870         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16871         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
16872         (__feraiseexcept): Likewise.
16873         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16874         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16875         libm_hidden_weak.
16876         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
16877         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
16878         libm_hidden_def.
16879         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
16880         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
16881         Use libm_hidden_def.
16882         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
16883         libm_hidden_def.
16884         (feraiseexcept): Define as weak not strong alias.  Use
16885         libm_hidden_weak.
16886         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
16887         New inline function.  Factored out of ...
16888         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
16889         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
16890         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
16891         feraiseexcept.
16892         * math/w_acos.c (__acos): Likewise.
16893         * math/w_asin.c (__asin): Likewise.
16894         * math/w_ilogb.c (__ilogb): Likewise.
16895         * math/w_j0.c (y0): Likewise.
16896         * math/w_j1.c (y1): Likewise.
16897         * math/w_jn.c (yn): Likewise.
16898         * math/w_log.c (__log): Likewise.
16899         * math/w_log10.c (__log10): Likewise.
16900         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
16901         * sysdeps/aarch64/fpu/math_private.h
16902         (libc_feupdateenv_test_aarch64): Likewise.
16903         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16904         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
16905         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
16906         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16907         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16908         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16909         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
16910         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16911         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16912         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16914 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
16916         [BZ #17732]
16917         * io/test-utime.c (main): Replace %ld with %jd and cast to
16918         intmax_t.
16919         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
16920         * nptl/tst-mutex5.c: Include <stdint.h>.
16921         (do_test): Replace %ld with %jd and cast to intmax_t.
16922         * posix/tst-regex.c (run_test): Likewise.
16923         (run_test_backwards): Likewise.
16924         * rt/tst-clock.c: Include <stdint.h>.
16925         (clock_test): Replace %ld with %jd and cast to intmax_t.
16926         * rt/tst-cpuclock1.c: Include <stdint.h>.
16927         (do_test): Replace %lu with %ju and cast to uintmax_t.
16928         * rt/tst-cpuclock2.c: Include <stdint.h>.
16929         (do_test): Replace %lu with %ju and cast to uintmax_t.
16930         * rt/tst-mqueue1.c: Include <stdint.h>.
16931         (check_attrs): Replace %ld with %jd and cast to intmax_t.
16932         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
16933         intmax_t.
16934         * rt/tst-mqueue4.c (do_test): Likewise.
16935         * rt/tst-timer4.c: Include <stdint.h>.
16936         (check_ts): Replace %ld with %jd and cast to intmax_t.
16937         (do_test): Likewise.
16938         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
16939         and cast to intmax_t.
16940         * sysdeps/pthread/tst-timer.c (main): Likewise.
16941         * time/clocktest.c (main): Likewise.
16942         * time/tst-posixtz.c (do_test): Likewise.
16943         * timezone/tst-timezone.c (main): Likewise.
16945 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16946             H.J. Lu  <hongjiu.lu@intel.com>
16948         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
16949         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
16950         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
16951         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
16952         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
16953         version if bit_Fast_Unaligned_Load is set.
16954         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16955         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16956         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16957         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16958         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16959         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16960         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16961         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
16962         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
16963         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
16964         to 4.
16965         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
16966         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
16967         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
16968         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
16970 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
16972         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
16973         instead of #if to avoid a Wundef warning.
16974         * stdlib/tst-limits.c (do_test): Likewise.
16976         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
16977         parallel other exception macros.
16978         (fegetenv): Convert from macro to extern inline so that it applies
16979         retroactively to inline functions already seen by the compiler.
16980         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
16982         * posix/Makefile (before-compile): Use $(objpfx) for
16983         posix-conf-vars-def.h.
16985 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16987         * posix/getconf.c (main): Use size_t for type of I.
16988         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
16989         NSPEC.
16991         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
16992         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
16993         * posix/posix-envs.def: Likewise.
16994         * sysdeps/posix/sysconf.c: Likewise.
16995         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
16996         (specs): Remove array.
16997         * scripts/gen-posix-conf-vars.awk: Support generation of specs
16998         array.
17000         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
17001         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
17002         (__sysconf): Use CONF_IS_* macros.
17004         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
17005         ($(objpfx)posix-conf-vars-def.h): New target.
17006         * posix/posix-conf-vars.list: New file.
17007         * posix/posix-conf-vars.h: New file.
17008         * posix/confstr.c: Include posix-conf-vars.h.
17009         (confstr): Use CONF_IS_* macros.
17010         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
17011         CONF_IS_* macros.
17012         * scripts/gen-posix-conf-vars.awk: New file.
17014 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
17016         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
17017         fegetround): Add no-op macros to avoid linknamespace issues.
17019         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
17020         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
17022         * sysdeps/unix/sysv/linux/tile/sysdep.h
17023         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
17024         assembly-specific section to avoid a redefinition warning.
17026         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
17027         long before casting to pointer to avoid a cast warning.
17029 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
17031         * sysdeps/tile/tilegx/Implies: New file.
17033 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
17035         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
17037 2014-12-23  Florian Weimer  <fweimer@redhat.com>
17039         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
17041 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17043         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
17044         not define.
17045         * sysdeps/unix/sysv/linux/utimes.c: Do not include
17046         <kernel-features.h>.
17047         (__utimes) [__NR_utimes]: Make code unconditional.
17048         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
17049         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17050         (__ASSUME_UTIMES): Do not undefine.
17051         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17052         (__ASSUME_UTIMES): Likewise.
17053         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17054         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
17055         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
17056         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
17058 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17060         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
17062 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
17064         [BZ #17747]
17065         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
17066         alias to weak alias for j0l, y0l.
17067         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
17068         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
17070         [BZ #17746]
17071         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
17072         conversion.
17074 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17076         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
17077         to zero if not already defined.
17079 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17081         [BZ #17724]
17082         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
17083         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
17084         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
17085         (char *) casts added.
17086         * sysdeps/ieee754/k_standardf.c: New file.
17087         * sysdeps/ieee754/k_standardl.c: Likewise.
17088         * math/Makefile (libm-support): Remove k_standard.
17089         (libm-calls): Add k_standard.
17091 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17093         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17094         Optimize to avoid an unnecessary FPCR read.
17096 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17098         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17099         Optimize to reduce FPCR/FPSR accesses.
17101 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17103         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
17104         Call libc_fetestexcept_aarch64.
17106 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17108         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
17109         Call libc_fesetround_aarch64.
17111 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17113         [BZ #17733]
17114         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
17115         (__bind): Do not define as weak alias.
17116         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
17117         define.
17118         (__getsockname): Do not define as weak alias.
17120 2014-12-22  Will Newton  <will.newton@linaro.org>
17122         * manual/install.texi: Document that we require bison 2.7
17123         or above.
17124         * INSTALL: Regenerate.
17125         * configure.ac: Use AC_CHECK_PROG_VER instead of
17126         AC_PATH_PROG when checking for bison and check for
17127         version 2.7 or above.
17128         * configure: Regenerate.
17130 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
17132         [BZ #17745]
17133         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
17134         * sysdeps/tile/ffsll.c (ffsll): To here.
17136         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
17138 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17140         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
17141         if not defined.
17142         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
17143         definition.
17144         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17145         hidden ___tls_get_addr.
17146         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17147         hidden __tls_get_addr.
17148         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
17149         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
17150         Likewise.
17152 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17154         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
17155         _dl_init call.
17157 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17159         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
17160         from "call _dl_init@PLT".
17161         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
17163 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
17165         * manual/search.texi: (Array Sort Function): Clarify stable sorting
17166         guarantees.
17168 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
17170         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
17172 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17174         [BZ #17744]
17175         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
17176         strnlen.
17178 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17180         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
17181         of multu on MIPSr6.
17182         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
17183         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
17184         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
17185         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
17186         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
17188 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17190         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
17191         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
17192         (PTR_SUBU): Use subu for mips32r6/mips64r6.
17193         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
17194         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
17195         mips32r6/mips64r6.
17196         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
17198 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
17200         * string/strncat.c (STRNCAT): Simplify implementation.
17202 2014-12-19  David S. Miller  <davem@davemloft.net>
17204         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
17205         access the quad as both a long double and as a series of 4 words.
17207         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
17208         link_map->l_info array access.
17210 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17212         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
17214         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
17215         * math/atest-exp2.c (TIMEOUT): Likewise.
17216         * math/atest-sincos.c (TIMEOUT): Likewise.
17218 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17220         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
17221         -Wno-error with -fno-builtin-lround.
17223 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17225         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
17226         Contains futex constants and functions moved over from ...
17227         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
17228         <lowlevellock-futex.h>.
17229         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17230         (lll_timedwait_tid): Add comments and parentheses around macro
17231         arguments.
17233 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17235         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
17236         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
17237         (__lll_private_flag): Remove.
17238         (lll_futex_wait): Likewise.
17239         (lll_futex_timed_wait): Likewise.
17240         (lll_futex_wake): Likewise.
17241         (lll_futex_requeue): Likewise.
17242         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17243         (__lll_timedwait_tid): Spell out argument names.
17244         (lll_timedwait_tid): Add comments and parentheses around macro
17245         arguments.
17246         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
17247         LLL_SHARED and LLL_PRIVATE usable from assembly code.
17249 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17251         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
17252         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17253         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17254         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
17255         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
17256         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
17257         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
17258         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
17259         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
17260         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
17261         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
17262         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
17263         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
17264         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
17265         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
17266         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
17267         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
17268         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
17269         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
17271 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17273         * sysdeps/x86_64/x32/Makefile: New file.
17275 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17277         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
17278         1L with (mp_limb_t) 1.
17280 2014-12-17  Roland McGrath  <roland@hack.frob.com>
17282         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
17283         * nptl/libc_pthread_init.c: ... here.
17284         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
17285         * nptl/register-atfork.c: ... here.
17287         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
17288         Use pthread_sigmask rather than INTERNAL_SYSCALL.
17289         Use assert_perror to check its return value.
17290         (__gai_create_helper_thread): Likewise.
17292         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
17294         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
17296 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
17298         [BZ #17725]
17299         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
17300         __profil_counter.
17301         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
17302         Likewise.
17303         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
17304         Likewise.
17305         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
17306         Likewise.
17307         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
17308         (profil_counter): Likewise.
17309         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
17310         (profil_counter): Likewise.
17311         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
17312         Likewise.
17313         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
17314         Likewise.
17315         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
17316         (profil_counter): Likewise.
17317         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
17318         Likewise.
17319         [!__profil_counter] (profil_counter): Define as weak alias of
17320         __profil_counter.
17321         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
17322         (profil_counter): Rename to __profil_counter.
17323         [!__profil_counter] (profil_counter): Define as weak alias of
17324         __profil_counter.
17325         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
17326         (profil_counter): Rename to __profil_counter.
17327         [!__profil_counter] (profil_counter): Define as weak alias of
17328         __profil_counter.
17329         * sysdeps/posix/profil.c: Update comment referring to
17330         profil_counter.
17331         (__profil): Use __profil_counter instead of profil_counter.
17332         * sysdeps/posix/sprofil.c (profil_counter): Rename to
17333         __profil_counter.  Use __profil_counter_ushort and
17334         __profil_counter_uint in definitions.
17335         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
17336         instead of profil_counter_uint and profil_counter_ushort.
17338         [BZ #17722]
17339         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
17340         define as weak alias of __inet_makeaddr.
17341         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
17342         as weak alias of __inet_addr.
17343         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
17344         as weak alias of __inet_pton.  Use libc_hidden_weak.
17345         * include/arpa/inet.h (__inet_pton): Declare.  Use
17346         libc_hidden_proto.
17347         (inet_makeaddr): Don't use libc_hidden_proto.
17348         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
17349         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
17350         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
17351         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
17352         Remove variable.
17353         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
17354         (test-xfail-POSIX/time.h/linknamespace): Likewise.
17356 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
17358         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
17360 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17362         * stdio-common/bug-vfprintf-nargs.c (do_test):
17363         Cast value to intptr_t to avoid format warning
17364         for usage with PRIdPTR printing macro.
17366 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17368         * libio/tst-widetext.c (do_test):
17369         Use format type %td instead of %Zd for ptrdiff_t
17370         in order to avoid format warning.
17372 2014-12-17  Andreas Schwab  <schwab@suse.de>
17374         * nscd/mem.c (gc): Add size_t cast to match printf format.
17376 2014-12-16  Roland McGrath  <roland@hack.frob.com>
17378         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
17379         (init): Apply PTR_MANGLE to pointers before storing them.
17380         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
17381         before using them.
17383 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
17385         [BZ #17719]
17386         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
17387         define as weak alias of __memrchr.
17388         (__memrchr): Do not define as strong alias of memrchr.
17389         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
17390         Remove variable.
17391         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17392         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
17393         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
17395         [BZ #17717]
17396         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
17397         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
17398         (if_indextoname): Rename to __if_indextoname and define as weak
17399         alias of __if_indextoname.  Use libc_hidden_weak.
17400         (if_freenameindex): Rename to __if_freenameindex and define as
17401         weak alias of __if_freenameindex.
17402         (if_nameindex): Rename to __if_nameindex and define as weak alias
17403         of __if_nameindex.
17404         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
17405         __if_nametoindex and define as weak alias of __if_nametoindex.
17406         Use libc_hidden_weak.
17407         (if_freenameindex): Rename to __if_freenameindex and define as
17408         weak alias of __if_freenameindex.
17409         (if_nameindex): Rename to __if_nameindex and define as weak alias
17410         of __if_nameindex.
17411         (if_indextoname): Rename to __if_indextoname and define as weak
17412         alias of __if_indextoname.  Use libc_hidden_weak.
17413         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
17414         __if_nametoindex and define as weak alias of __if_nametoindex.
17415         Use libc_hidden_weak.
17416         (if_freenameindex): Rename to __if_freenameindex and define as
17417         weak alias of __if_freenameindex.  Use libc_hidden_weak.
17418         (if_nameindex_netlink): Use __if_freenameindex instead of
17419         if_freenameindex.
17420         (if_nameindex): Rename to __if_nameindex and define as weak alias
17421         of __if_nameindex.  Use libc_hidden_weak.
17422         (if_indextoname): Rename to __if_indextoname and define as weak
17423         alias of __if_indextoname.  Use libc_hidden_weak.
17424         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
17425         libc_hidden_proto.
17426         [!_ISOMAC] (__if_freenameindex): Likewise.
17427         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
17428         if_nametoindex.
17429         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
17430         variable.
17431         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17432         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
17433         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
17434         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
17435         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
17436         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
17437         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
17439         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
17440         Remove variable.
17441         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
17442         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
17444 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17446         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
17447         subscript above bounds'
17449         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
17450         bounds.
17452 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
17454         * libio/tst-fopenloc.c: Use test-skeleton.c.
17456         * stdlib/tst-bsearch.c: Use test-skeleton.c.
17457         (entry): Rename to ITEM.
17458         (do_test, comp): Adjust.
17460         * stdio-common/tst-fseek.c: Use test-skeleton.c.
17462 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17464         * string/tester.c: Include <libc-internal.h>.
17465         (test_memset): Ignore -Wmemset-transposed-args.
17467 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17469         * misc/tst-mntent2.c (do_test): Fix warning.
17471 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17473         * elf/tst-unique4lib.cc(a): Mark as used.
17475 2014-12-16  Florian Weimer  <fweimer@redhat.com>
17477         [BZ #17630]
17478         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
17479         names.
17481 2014-12-16  Allan McRae  <allan@archlinux.org>
17483         * stdio-common/Makefile (tests): Re-add bug26.
17485 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
17487         [BZ #17657]
17488         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
17489         static array.
17491 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
17493         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
17494         (__lll_lock_wait): Likewise.
17495         (__lll_timedlock_wait): Likewise.
17496         (__lll_timedwait_tid): Likewise.
17497         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
17498         (__lll_robust_timedlock_wait): Likewise.
17499         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
17500         (lll_cond_trylock): Likewise.
17501         (__lll_lock): Likewise.
17502         (__lll_robust_lock): Likewise.
17503         (__lll_cond_lock): Likewise.
17504         (lll_robust_cond_lock): Likewise.
17505         (__lll_timedlock): Likewise.
17506         (__lll_robust_timedlock): Likewise.
17507         (__lll_unlock): Likewise.
17508         (__lll_robust_unlock): Likewise.
17509         (lll_wait_tid): Likewise.
17510         (lll_timedwait_tid): Likewise.
17512 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17514         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
17516 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17518         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
17520 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
17522         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
17523         * stdio-common/tst-sprintf.c: Likewise.
17525 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17527         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
17529 2014-12-15  Jeff Law  <law@redhat.com>
17531         [BZ #16617]
17532         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
17533         on the heap.  (CVE-2012-3406)
17534         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
17535         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
17536         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
17538 2014-12-15  Will Newton  <will.newton@linaro.org>
17540         * manual/install.texi: Bump required version of texinfo
17541         to 4.7 from 4.5.
17542         * INSTALL: Regenerated.
17543         * configure.ac: Check for makeinfo version 4.7 and above.
17544         * configure: Regenerated.
17546 2014-12-12  Roland McGrath  <roland@hack.frob.com>
17548         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
17549         PREFIX, string constant to insert between directory and name.
17550         * sysdeps/posix/shm_open.c: Update caller.
17551         * sysdeps/posix/shm_unlink.c: Likewise.
17552         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
17553         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
17554         (SEM_SHM_PREFIX): New macro.
17555         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
17556         [$(have-thread-library) = no].
17557         * nptl/Makefile (libpthread-routines): Add shm-directory.
17558         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
17559         * sysdeps/nptl/shm-directory.h: New file.
17560         * sysdeps/posix/shm-directory.c
17561         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
17562         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17563         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
17564         INTERNAL_SYSCALL.
17565         (__where_is_shmfs): Function removed.
17566         (mountpoint, defaultmount, defaultdir, __namedsem_once):
17567         Variables removed.
17568         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
17569         Use SHM_GET_NAME.
17570         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
17572         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
17573         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
17574         unconditional for use inside libpthread.
17575         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
17577 2014-12-12  Roland McGrath  <roland@hack.frob.com>
17579         * nptl/pthread_getaffinity.c: New file.
17580         * nptl/pthread_setaffinity.c: New file.
17581         * nptl/pthread_getname.c: New file.
17582         * nptl/pthread_setname.c: New file.
17584         * nptl/pthread_create.c (START_THREAD_DEFN)
17585         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
17587 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17588             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17590         * resolv/res_send.c (send_vc): Disable warning resplen may
17591         be used uninitialized.
17593 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17595         * nptl/tst-mutex6.c
17596         (ATTR_NULL): New define checks ATTR against NULL.
17597         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
17598         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
17600 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
17602         [BZ #17581]
17603         * malloc/hooks.c
17604         (mem2mem_check): Revert my previous change.
17605         (malloc_check_get_size): Revert my previous change.
17606         (mem2chunk_check): Revert my previous change.
17608 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17610         * sysdeps/posix/shm-directory.c: New file.
17611         * sysdeps/posix/shm-directory.h: New file.
17612         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
17613         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
17614         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
17615         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
17616         Transmute EPERM to EACCES.
17617         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
17618         from ...
17619         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
17620         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
17622 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17624         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
17625         pointer and cast to uintptr_t.
17626         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
17627         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
17628         Add cast to avoid warning.
17629         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
17631 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
17633         * nptl/semaphore.h: Move to ...
17634         * sysdeps/pthread/semaphore.h: ... here.
17635         * Makefile (installed-headers): Change nptl/semaphore.h to
17636         sysdeps/pthread/semaphore.h.
17638 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17640         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
17641         generated error format strings.
17643         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
17644         -Wformat-extra-args warnings for scanf formats.
17645         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
17646         test of zero-length format (duh).
17647         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
17648         corner-case scanf format test.
17649         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
17650         generated fprintf format string.
17651         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
17652         corner-case sprintf format tests.
17653         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
17654         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
17655         -Wformat-extra-args warnings throughout.
17656         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
17657         (CFLAGS-scanf4.c): Likewise.
17658         (CFLAGS-scanf7.c): Likewise.
17659         (CFLAGS-tst-sprintf.c): Likewise.
17660         (CFLAGS-tst-printf.c): Likewise.
17661         (CFLAGS-tst-printfsz.c): Likewise.
17663 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
17665         * include/cpio.h: New file.
17666         * include/fmtmsg.h: Likewise.
17668         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
17669         corresponding format argument to size_t.
17670         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
17671         arguments.
17672         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
17673         corresponding format argument to size_t.
17674         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
17675         arguments.
17676         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
17677         corresponding format argument to size_t.
17678         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
17679         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
17680         (CFLAGS-tst-mbswcs2.c): Likewise.
17681         (CFLAGS-tst-mbswcs3.c): Likewise.
17682         (CFLAGS-tst-mbswcs4.c): Likewise.
17683         (CFLAGS-tst-mbswcs5.c): Likewise.
17684         (CFLAGS-tst-trans.c): Likewise
17686 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17688         * posix/regexbug1.c (main): Use "%s" format with regerror results,
17689         rather than assuming they won't contain any '%'s.
17691 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
17693         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
17694         inhibit_loop_to_libcall to avoid recursive calls.
17695         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
17696         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
17698 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
17700         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
17701         prototype.
17703 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
17705         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
17706         integer value instead of boolean.
17708 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
17710         * malloc/malloc.c: Fix powerof2 check.
17712 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17714         * locale/programs/locfile.h (maybe_swap_uint32):
17715         Remove inline and add unused attribute.
17717 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17719         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
17720         Truncating assembler expression to a .long expression.
17722 2014-12-11  Andreas Schwab  <schwab@suse.de>
17724         * elf/rtld.c (struct map_args): Constify str member.
17725         (do_preload): Constify fname argument.
17727 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17729         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
17730         constants definition.
17732 2014-12-11  Andreas Schwab  <schwab@suse.de>
17734         [BZ #16657]
17735         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
17736         FORCE_ELISION instead of DO_ELISION.
17737         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
17738         Remove.
17739         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
17740         Likewise.
17742         * iconvdata/gconv-modules: Remove duplicate entry.
17744 2014-12-11  Will Newton  <will.newton@linaro.org>
17746         Merge gettext 0.19.3 into intl/.
17748         This involves a number of cosmetic changes to comments
17749         and ANSI function definitions and prototypes throughout
17750         all the files. The gettext copyright header is used but
17751         with the date ranges taken from the glibc copy.
17753         * NEWS: Add gettext merge to 2.21.
17754         * intl/bindtextdom.c: Switch to gettext copyright.
17755         Use ANSI definitions and prototypes.
17756         Use gl_* locking primitives rather than __libc_* ones.
17757         Use __builtin_expect rather than __glibc_likely/unlikely.
17758         * intl/dcgettext.c: Switch to gettext copyright.
17759         Use ANSI definitions and prototypes.
17760         * intl/dcigettext.c: Switch to gettext copyright.
17761         Use ANSI definitions and prototypes.
17762         (INTDIV0_RAISES_SIGFPE): New define.
17763         Use gl_* locking primitives rather than __libc_* ones.
17764         Include eval-plural.h instead of plural-eval.c.
17765         Use __builtin_expect rather than __glibc_likely/unlikely.
17766         * intl/dcngettext.c: Switch to gettext copyright.
17767         Use ANSI definitions and prototypes.
17768         * intl/dgettext.c: Likewise.
17769         * intl/dngettext.c: Likewise.
17770         * intl/plural-eval.c: Renamed to...
17771         * intl/eval-plural.h: ...this.
17772         * intl/explodename.c: Switch to gettext copyright.
17773         Use ANSI definitions and prototypes.
17774         (_nl_explode_name): Use strchr instead of __rawmemchr.
17775         * intl/finddomain.c: Switch to gettext copyright.
17776         Use ANSI definitions and prototypes.
17777         Use gl_* locking primitives rather than __libc_* ones.
17778         (_nl_find_domain): Use malloc rather than alloca for
17779         allocation of temporary locale name.
17780         * intl/gettext.c: Switch to gettext copyright.
17781         Use ANSI definitions and prototypes.
17782         * intl/gettextP.h: Switch to gettext copyright.
17783         Use ANSI definitions and prototypes.
17784         Use gl_* locking primitives rather than __libc_* ones.
17785         * intl/gmo.h: Switch to gettext copyright.
17786         (struct sysdep_string): Move struct segment_pair outside of
17787         struct definition.
17788         * intl/hash-string.c: Use ANSI definitions and prototypes.
17789         * intl/hash-string.h: Switch to gettext copyright.
17790         Use ANSI definitions and prototypes.
17791         * intl/l10nflist.c: Switch to gettext copyright.
17792         Use ANSI definitions and prototypes.
17793         (_nl_normalize_codeset): Avoid integer overflow.
17794         * intl/loadinfo.h: Switch to gettext copyright.
17795         Use ANSI definitions and prototypes.
17796         (LIBINTL_DLL_EXPORTED): New define.
17797         (PATH_SEPARATOR): New define.
17798         * intl/loadmsgcat.c: Switch to gettext copyright.
17799         * intl/localealias.c: Switch to gettext copyright.
17800         Use ANSI definitions and prototypes.
17801         (_nl_expand_alias): Use PATH_SEPARATOR.
17802         * intl/ngettext.c: Switch to gettext copyright.
17803         Use ANSI definitions and prototypes.
17804         * intl/plural-exp.c: Likewise.
17805         * intl/plural-exp.h: Switch to gettext copyright.
17806         Use ANSI definitions and prototypes.
17807         (struct expression): Move definition of enum operator outside
17808         of struct definition.
17809         * intl/plural.c: Regenerate.
17810         * intl/plural.y: Switch to gettext copyright.
17811         Use ANSI definitions and prototypes.
17812         Port to bison 3.0.
17813         * intl/textdomain.c: Switch to gettext copyright.
17814         Use ANSI definitions and prototypes.
17815         Use gl_* locking primitives rather than __libc_* ones.
17817 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
17819         * debug/warning-nop.c: Add used atrribute.
17821 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17823         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
17825         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
17826         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
17827         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
17829 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17830             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17832         [BZ #17634]
17833         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
17834         Undefine after defining function.  Define as weak alias of
17835         __wcschr.  Use libc_hidden_weak.
17836         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
17837         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
17838         (libc_hidden_def): Also define __GI___wcschr alias.
17839         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
17840         __wcschr and define as weak alias of __wcschr.
17841         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
17842         __wcschr.
17843         [!WCSCHR] (DEFAULT_WCSCHR): Define.
17844         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
17845         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
17846         libc_hidden_weak.  Do not use libc_hidden_def.
17847         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
17848         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
17849         __GI___wcschr alias.
17850         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
17851         [IS_IN (libc)] (wcschr): Define as macro expanding to
17852         __redirect_wcschr.
17853         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
17854         [IS_IN (libc)] (__wcschr_power6): Likewise.
17855         [IS_IN (libc)] (__wcschr_power7): Likewise.
17856         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
17857         instead of wcschr.
17858         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
17859         __libc_wcschr.
17860         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
17861         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
17862         __wcschr and define as weak alias of __wcschr.  Use
17863         libc_hidden_builtin_def.
17864         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
17865         as weak alias of __wcschr.  Use libc_hidden_weak.
17866         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
17867         wcschr.
17868         * time/era.c (_nl_init_era_entries): Likewise.
17869         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
17870         variable.
17871         (test-xfail-XPG3/time.h/linknamespace): Likewise.
17872         (test-xfail-XPG4/time.h/linknamespace): Likewise.
17874 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17876         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
17877         format for long int variable.
17879 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
17881         [BZ #10672]
17882         * manual/search.texi: (Array Sort Function): Remove claim how to make
17883         qsort stable.
17885 2014-12-10  Andreas Schwab  <schwab@suse.de>
17887         [BZ #12847]
17888         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
17889         user-controlled locks.
17891 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
17893         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
17894         register.
17896 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17898         * configure.ac (--disable-werror): New configure option.
17899         (enable_werror): New AC_SUBST.
17900         * configure: Regenerated.
17901         * config.make.in (enable-werror): New variable.
17902         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
17903         -Wno-error=undef.
17904         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
17905         * manual/install.texi (Configuring and compiling): Document
17906         --disable-werror.
17907         * INSTALL: Regenerated.
17908         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
17909         (CFLAGS-tst-chk2.c): Likewise.
17910         (CFLAGS-tst-chk3.c): Likewise.
17911         (CFLAGS-tst-chk4.cc): Likewise.
17912         (CFLAGS-tst-chk5.cc): Likewise.
17913         (CFLAGS-tst-chk6.cc): Likewise.
17914         (CFLAGS-tst-lfschk1.c): Likewise.
17915         (CFLAGS-tst-lfschk2.c): Likewise.
17916         (CFLAGS-tst-lfschk3.c): Likewise.
17917         (CFLAGS-tst-lfschk4.cc): Likewise.
17918         (CFLAGS-tst-lfschk5.cc): Likewise.
17919         (CFLAGS-tst-lfschk6.cc): Likewise.
17921         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
17922         (main): Disable -Wdeprecated-declarations around calls to
17923         register_printf_function.
17925         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
17926         (do_test): Disable -Wdiv-by-zero around some calls to
17927         fwrite_unlocked and fread_unlocked.
17929         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
17930         (DIAG_POP_NEEDS_COMMENT): Likewise.
17931         (_DIAG_STR1): Likewise.
17932         (_DIAG_STR): Likewise.
17933         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
17934         * stdio-common/bug21.c: Include <libc-internal.h>.
17935         (do_test): Disable -Wformat around call to sscanf.
17936         * stdio-common/scanf14.c: Include <libc-internal.h>.
17937         (main): Disable -Wformat around some calls to scanf functions.
17939 2014-12-09  Torvald Riegel  <triegel@redhat.com>
17941         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
17943 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17945         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
17946         stack variable alignment.
17948 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
17950         [BZ #17682]
17951         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
17952         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
17953         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
17954         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
17955         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
17956         __getrlimit instead of getrlimit.
17957         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
17958         __gettimeofday instead of gettimeofday.
17959         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17960         Likewise.
17961         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17962         Likewise.
17963         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17964         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
17965         Remove variable.
17966         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
17967         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
17969 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17971         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
17972         for wide-character tests.
17974 2014-12-04  Roland McGrath  <roland@hack.frob.com>
17976         * io/openat64.c: #include <libc-internal.h>
17977         (__openat64): Prototypify.  Use ignore_value on MODE.
17978         * io/openat.c: Likewise.
17979         * misc/reboot.c: #include <libc-internal.h>
17980         (reboot): Prototypify.  Use ignore_value on HOWTO.
17981         * misc/ptrace.c: #include <libc-internal.h>
17982         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
17984 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
17986         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
17987         XPG4, UNIX98 and XOPEN2K.
17988         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
17989         Remove variable.
17990         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
17992 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17994         * libio/fileops.c: Use ISO C style for function definitions.
17995         * libio/iofopen.c: Likewise.
17996         * libio/wfileops.c: Likewise.
17998         [BZ #17653]
17999         * libio/fileops.c (_IO_new_file_underflow): Unset cached
18000         offset on EOF.
18001         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18002         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
18003         (fgets_func): Function pointer to fgets and fgetws.
18004         (do_ftell_test): Add test to verify ftell value after read
18005         EOF.
18006         (do_test): Set fgets_func.
18008         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
18009         O_TRUNC flag for w and w+ modes.
18010         (do_rewind_test): Likewise.
18011         (do_ftell_test): Likewise.
18012         (do_write_test): Likewise.
18014         [BZ #17647]
18015         * libio/fileops.c (do_ftell): Seek only when there are
18016         unflushed writes.
18017         * libio/wfileops.c (do_ftell_wide): Likewise.
18018         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
18019         test case.
18020         (do_one_test): Call it.
18022 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
18024         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
18025         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
18026         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
18027         Remove variable.
18028         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
18029         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18030         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18032 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18034         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
18035         Remove variable.
18036         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18038         [BZ #17668]
18039         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
18040         as weak alias of __getifaddrs.  Use libc_hidden_weak.
18041         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18042         __freeifaddrs.  Use libc_hidden_weak.
18043         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
18044         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
18045         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18046         __freeifaddrs.  Use libc_hidden_weak.
18047         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
18048         __getifaddrs and define as weak alias of __getifaddrs.  Use
18049         libc_hidden_weak.
18050         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18051         __freeifaddrs.  Use libc_hidden_weak.
18052         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
18053         Remove variable.
18054         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18055         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18057 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18059         [BZ #17601]
18060         * sysdeps/mips/start.S (__start): Use indirect jump to call
18061         __libc_start_main.
18063 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18065         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
18067         * nptl/tst-mutex1.c: Include <stdbool.h>.
18068         [!ATTR] (ATTR_NULL): New macro.
18069         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
18070         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
18071         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
18073         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
18074         to char *.
18076         [BZ #17665]
18077         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
18078         Change conditional to [__USE_MISC].
18080         [BZ #17664]
18081         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
18082         fgets_unlocked.
18083         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
18084         __fgets_unlocked.
18085         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
18086         fgets_unlocked.
18087         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
18088         Remove variable.
18089         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18090         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18091         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18092         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18093         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18094         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18095         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18096         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18097         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18099         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
18101 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18103         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18104         Remove strpbrk objects.
18105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18106         (__libc_ifunc_impl_list): Remove strpbrk implementation.
18107         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
18108         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
18109         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
18110         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
18112         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18113         Remove strcspn objects.
18114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18115         (__libc_ifunc_impl_list): Remove strcspn implementation.
18116         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
18117         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
18118         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
18119         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
18121         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18122         Remove strspn objetcs.
18123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18124         (__libc_ifunc_impl_list): Remove strspn implementation.
18125         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
18126         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18127         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
18128         * sysdeps/powerpc/powerpc64/strspn.S: New file.
18130 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
18132         [BZ #17581]
18133         * malloc/hooks.c
18134         (mem2mem_check): Add a terminator to the chain of checking blocks.
18135         (malloc_check_get_size): Use it here.
18136         (mem2chunk_check): Ditto.
18138 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18140         * sysdeps/powerpc/powerpc64/strtok.S: New file.
18141         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
18143 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
18145         * bits/ioctl-types.h: Indent preprocessor directives correctly.
18147         * nptl/nptl-init.c: Include libc-internal.h.
18148         (__pthread_initialize_minimal_internal): Use ROUND_UP.
18150         * elf/ldconfig.c (search_dir): Expand comment.
18152 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
18154         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
18155         variable.
18156         (linknamespace-symlist-stdlibs-tests): Likewise.
18157         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
18158         instead of $(objpfx)symlist-stdlibs.
18159         (linknamespace-libs-isoc): New variable.
18160         (linknamespace-libs): Use $(linknamespace-libs-isoc).
18161         (linknamespace-libs-ISO): New variable.
18162         (linknamespace-libs-ISO99): Likewise.
18163         (linknamespace-libs-ISO11): Likewise.
18164         (linknamespace-libs-XPG3): Likewise.
18165         (linknamespace-libs-XPG4): Likewise.
18166         (linknamespace-libs-POSIX): Likewise.
18167         (linknamespace-libs-UNIX98): Likewise.
18168         (linknamespace-libs-XOPEN2K): Likewise.
18169         (linknamespace-libs-POSIX2008): Likewise.
18170         (linknamespace-libs-XOPEN2K8): Likewise.
18171         ($(objpfx)symlist-stdlibs): Replace by
18172         $(linknamespace-symlist-stdlibs-tests).  Use
18173         $(linknamespace-libs-$*) as set of libraries.
18174         ($(linknamespace-header-tests)): Update dependencies.  Use
18175         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
18176         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
18177         * conform/linknamespace.pl: Remove comment about considering
18178         definitions of symbols from irrelevant libraries.
18180 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
18182         [BZ #13862]
18183         * elf/dl-tls.c: Include <atomic.h>.
18184         (oom): Remove #ifdef SHARED/#endif.
18185         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
18186         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
18187         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
18188         big enough.
18189         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
18190         * nptl/Makefile (tests): Add tst-stack4.
18191         (modules-names): Add tst-stack4mod.
18192         ($(objpfx)tst-stack4): New.
18193         (tst-stack4mod.sos): Likewise.
18194         ($(objpfx)tst-stack4.out): Likewise.
18195         ($(tst-stack4mod.sos)): Likewise.
18196         (clean): Likewise.
18197         * nptl/tst-stack4.c: New file.
18198         * nptl/tst-stack4mod.c: Likewise.
18200 2014-11-27  J. Brown  <jb999@gmx.de>
18202         * sysdeps/x86/bits/string.h: Add recent CPUs.
18204 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18206         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
18207         sigblock.
18209         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
18210         feof.
18212         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
18213         variable.
18215 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
18217         * nscd/connections.c: Include libc-internal.h because of macro
18218         usage ignore_value.
18220 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18222         * string/bits/string3.h (__warn_memset_zero_len): Don't
18223         declare for gcc newer than 5.0.
18224         (memset): Don't test for zero-length __LEN for gcc newer than
18225         5.0.
18227 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18229         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
18230         size_t for %zu format.
18232         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
18233         difference, not %ju.
18235 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18237         * include/libc-internal.h (ignore_value): New macro.
18238         * nscd/connections.c (restart): Wrap calls to setuid and setgid
18239         with ignore_value.
18241         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
18242         definition.
18244         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
18245         pthread_cleanup_push to void *.
18247         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
18248         Undefine.
18250         [BZ #16619]
18251         [BZ #16740]
18252         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
18253         instead of 1L << 52.
18255         * libio/bug-rewind.c (do_test): Check fwscanf return values.
18256         * libio/bug-rewind2.c (do_test): Likewise.
18258         * debug/test-stpcpy_chk-ifunc.c: Remove file.
18259         * debug/test-strcpy_chk-ifunc.c: Likewise.
18260         * wcsmbs/test-wcschr-ifunc.c: Likewise.
18261         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18262         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18263         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18264         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18265         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18266         * Rules [$(multi-arch) = no] (tests): Do not filter out
18267         $(tests-ifunc).
18268         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
18269         * debug/Makefile (tests-ifunc): Remove variable.
18270         (tests): Do not add $(tests-ifunc).
18271         * wcsmbs/Makefile (tests-ifunc): Remove variable.
18272         (tests): Do not add $(tests-ifunc).
18273         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
18274         [TEST_IFUNC]: Remove conditionals.
18275         * string/test-string.h (TEST_IFUNC): Remove macro.
18276         [TEST_IFUNC]: Remove conditionals.
18278         * string/test-strchr.c [!WIDE] (L): New macro.
18279         [WIDE] (L): Likewise.
18280         (check1): Use CHAR instead of char.  Use L on string and character
18281         constants.
18283 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
18285         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
18286         tests.
18287         * sysdeps/powerpc/bits/atomic.h
18288         (__arch_atomic_exchange_and_add_32_acq): Add definition.
18289         (__arch_atomic_exchange_and_add_32_rel): Likewise.
18290         (atomic_exchange_and_add_acq): Likewise.
18291         (atomic_exchange_and_add_rel): Likewise.
18292         * sysdeps/powerpc/powerpc32/bits/atomic.h
18293         (__arch_atomic_exchange_and_add_64_acq): Add definition.
18294         (__arch_atomic_exchange_and_add_64_rel): Likewise.
18295         * sysdeps/powerpc/powerpc64/bits/atomic.h
18296         (__arch_atomic_exchange_and_add_64_acq): Add definition.
18297         (__arch_atomic_exchange_and_add_64_rel): Likewise.
18299 2014-11-26  Torvald Riegel  <triegel@redhat.com>
18301         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
18302         Change synchronization of __sched_fifo_min_prio and
18303         __sched_fifo_max_prio.
18304         * nptl/pthread_mutexattr_getprioceiling.c
18305         (pthread_mutexattr_getprioceiling): Likewise.
18306         * nptl/pthread_mutexattr_setprioceiling.c
18307         (pthread_mutexattr_setprioceiling): Likewise.
18308         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
18309         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
18310         Likewise.
18312 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18314         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
18315         void.
18317 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
18319         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
18320         third argument const.
18322 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
18324         fnmatch: work around GCC compiler warning bug with uninit var
18325         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
18326         This works around a bug with x86-64 GCC 4.9.2 and earlier
18327         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
18328         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
18329         used uninitialized in this function [-Wmaybe-uninitialized]".
18331 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
18333         * posix/bug-regex31.c (main): Return RES not 0.
18335 2014-11-25  Anton Blanchard <anton@samba.org>
18337         * sysdeps/powerpc/bits/atomic.h
18338         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
18340 2014-11-24  Sterling Augustine  <saugustine@google.com>
18342         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
18344 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
18346         [BZ #17608]
18347         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
18349 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
18351         [BZ #17633]
18352         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
18353         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
18354         variable.
18355         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18356         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18358 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18360         * string/strncpy.c (strncpy): Improve performance by using memset.
18362 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18364         * string/strcpy.c (strcpy):
18365         Improve performance by using strlen and memcpy.
18367 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
18369         * string/strcoll_l.c (get_next_seq): __always_inline.
18370         * string/strcoll_l.c (do_compare): __always_inline.
18372 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18374         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
18375         defined.
18376         * include/mqueue.h: Likewise.
18377         * include/stdlib.h: Likewise.
18379         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
18380         (get_null_defines): Adjust.
18381         * sunrpc/Makefile: Adjust comment.
18382         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
18383         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
18384         (CFLAGS-interp.c): Likewise.
18385         (CFLAGS-ldconfig.c): Likewise.
18386         (CPPFLAGS-.os): Likewise.
18387         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18388         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18389         * extra-modules.mk (extra-modules.mk): Likewise.
18390         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
18391         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
18392         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
18393         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
18394         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
18395         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
18396         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
18397         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
18398         * iconvdata/Makefile (CPPFLAGS): Likewise.
18399         (cpp-srcs-left): Add libof for all iconvdata routines.
18400         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
18401         * include/assert.h: Likewise.
18402         * include/ctype.h: Likewise.
18403         * include/errno.h: Likewise.
18404         * include/libc-symbols.h: Likewise.
18405         * include/math.h: Likewise.
18406         * include/netdb.h: Likewise.
18407         * include/resolv.h: Likewise.
18408         * include/stdio.h: Likewise.
18409         * include/stdlib.h: Likewise.
18410         * include/string.h: Likewise.
18411         * include/sys/stat.h: Likewise.
18412         * include/wctype.h: Likewise.
18413         * intl/l10nflist.c: Likewise.
18414         * libidn/idn-stub.c: Likewise.
18415         * libio/libioP.h: Likewise.
18416         * nptl/libc_multiple_threads.c: Likewise.
18417         * nptl/pthreadP.h: Likewise.
18418         * posix/regex_internal.h: Likewise.
18419         * resolv/res_hconf.c: Likewise.
18420         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
18421         * sysdeps/arm/memmove.S: Likewise.
18422         * sysdeps/arm/sysdep.h: Likewise.
18423         * sysdeps/generic/_itoa.h: Likewise.
18424         * sysdeps/generic/symbol-hacks.h: Likewise.
18425         * sysdeps/gnu/errlist.awk: Likewise.
18426         * sysdeps/gnu/errlist.c: Likewise.
18427         * sysdeps/i386/i586/memcpy.S: Likewise.
18428         * sysdeps/i386/i586/memset.S: Likewise.
18429         * sysdeps/i386/i686/memcpy.S: Likewise.
18430         * sysdeps/i386/i686/memmove.S: Likewise.
18431         * sysdeps/i386/i686/mempcpy.S: Likewise.
18432         * sysdeps/i386/i686/memset.S: Likewise.
18433         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18434         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18435         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
18436         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
18437         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18438         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18439         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
18440         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18441         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18442         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18443         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18444         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18445         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18446         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18447         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18448         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18449         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
18450         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
18451         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
18452         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18453         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18454         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18455         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18456         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18457         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18458         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18459         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
18460         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18461         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
18462         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18463         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18464         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18465         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18466         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18467         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18468         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18469         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18470         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18471         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18472         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18473         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18474         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18475         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18476         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18477         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18478         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18479         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
18480         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
18481         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18482         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18483         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18484         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
18485         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
18486         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18487         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18488         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
18489         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18490         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
18491         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
18492         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18493         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18494         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18495         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
18496         * sysdeps/nptl/bits/libc-lock.h: Likewise.
18497         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18498         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
18499         * sysdeps/posix/closedir.c: Likewise.
18500         * sysdeps/posix/opendir.c: Likewise.
18501         * sysdeps/posix/readdir.c: Likewise.
18502         * sysdeps/posix/rewinddir.c: Likewise.
18503         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
18504         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
18505         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18506         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18507         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18508         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
18509         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
18510         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
18511         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
18512         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
18513         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
18514         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
18515         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
18516         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
18517         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
18518         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
18519         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
18520         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
18521         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
18522         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
18523         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
18524         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
18525         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
18526         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
18527         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
18528         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
18529         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
18530         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
18531         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
18532         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
18533         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
18534         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
18535         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
18536         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
18537         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
18538         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
18539         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18540         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18541         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
18542         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
18543         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
18544         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
18545         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
18546         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
18547         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18548         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
18549         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
18550         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
18551         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
18552         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
18553         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
18554         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
18555         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18556         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
18557         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
18558         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
18559         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
18560         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
18561         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
18562         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
18563         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
18564         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
18565         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18566         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
18567         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
18568         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
18569         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
18570         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
18571         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
18572         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
18573         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
18574         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
18575         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
18576         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
18577         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
18578         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
18579         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
18580         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
18581         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18582         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
18583         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
18584         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18585         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
18586         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
18587         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18588         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
18589         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
18590         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18591         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18592         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18593         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
18594         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
18595         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
18596         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18597         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18598         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
18599         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18600         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18601         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
18602         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
18603         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18604         * sysdeps/unix/alpha/sysdep.S: Likewise.
18605         * sysdeps/unix/alpha/sysdep.h: Likewise.
18606         * sysdeps/unix/make-syscalls.sh: Likewise.
18607         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18608         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18609         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18610         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
18611         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18612         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18613         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
18614         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18615         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18616         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
18617         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18618         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18619         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18620         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
18621         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18622         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18623         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18624         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
18625         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
18626         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18627         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18628         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18629         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18630         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18631         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18632         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18633         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
18635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18636         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
18637         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18638         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18639         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18640         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18641         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18642         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18643         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18644         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18645         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18646         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18647         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18648         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18649         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18650         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18651         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18652         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18653         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18654         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18655         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18656         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18657         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18658         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18659         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18660         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18661         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
18662         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18663         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18664         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18665         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
18666         * sysdeps/x86_64/memcpy.S: Likewise.
18667         * sysdeps/x86_64/memmove.c: Likewise.
18668         * sysdeps/x86_64/memset.S: Likewise.
18669         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
18670         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18671         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18672         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
18673         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
18674         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18675         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18676         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18677         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18678         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18679         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18680         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18681         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
18682         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18683         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18684         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
18685         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18686         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18687         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18688         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18689         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
18690         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18691         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18692         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18693         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18694         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18695         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18696         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
18697         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18698         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18699         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
18700         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18701         * sysdeps/x86_64/strcmp.S: Likewise.
18703         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
18705         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
18706         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
18707         * elf/rtld-Rules: Likewise.
18708         * elf/setup-vdso.h: Likewise.
18709         * include/assert.h: Likewise.
18710         * include/bits/stdlib-float.h: Likewise.
18711         * include/errno.h: Likewise.
18712         * include/sys/stat.h: Likewise.
18713         * include/unistd.h: Likewise.
18714         * sysdeps/aarch64/setjmp.S: Likewise.
18715         * sysdeps/alpha/setjmp.S: Likewise.
18716         * sysdeps/arm/__longjmp.S: Likewise.
18717         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
18718         * sysdeps/arm/setjmp.S: Likewise.
18719         * sysdeps/arm/sysdep.h: Likewise.
18720         * sysdeps/generic/_itoa.h: Likewise.
18721         * sysdeps/generic/dl-sysdep.h: Likewise.
18722         * sysdeps/generic/ldsodefs.h: Likewise.
18723         * sysdeps/i386/dl-tls.h: Likewise.
18724         * sysdeps/i386/setjmp.S: Likewise.
18725         * sysdeps/m68k/setjmp.c: Likewise.
18726         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
18727         * sysdeps/mach/hurd/opendir.c: Likewise.
18728         * sysdeps/posix/getcwd.c: Likewise.
18729         * sysdeps/posix/opendir.c: Likewise.
18730         * sysdeps/posix/profil.c: Likewise.
18731         * sysdeps/powerpc/dl-procinfo.h: Likewise.
18732         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18733         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18734         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18735         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18736         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
18737         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
18738         * sysdeps/s390/dl-tls.h: Likewise.
18739         * sysdeps/s390/s390-32/setjmp.S: Likewise.
18740         * sysdeps/s390/s390-64/setjmp.S: Likewise.
18741         * sysdeps/sh/sh3/setjmp.S: Likewise.
18742         * sysdeps/sh/sh4/setjmp.S: Likewise.
18743         * sysdeps/unix/alpha/sysdep.h: Likewise.
18744         * sysdeps/unix/arm/sysdep.S: Likewise.
18745         * sysdeps/unix/i386/sysdep.S: Likewise.
18746         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18747         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18748         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18749         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18750         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18751         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
18752         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
18753         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18754         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
18755         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
18756         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18757         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18758         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18761         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18762         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18763         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18764         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18765         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18766         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18767         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18768         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18769         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18770         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18771         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18772         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18773         * sysdeps/unix/x86_64/sysdep.S: Likewise.
18774         * sysdeps/x86_64/setjmp.S: Likewise.
18776         * include/math.h: Use IS_IN instead of IS_IN_libm.
18777         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
18778         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18779         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18780         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18781         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18782         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18783         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18784         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18785         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18786         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18787         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
18788         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
18789         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
18790         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
18791         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
18792         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
18793         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
18794         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
18795         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
18796         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
18797         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
18798         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
18799         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
18800         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
18801         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
18802         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
18803         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
18804         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
18805         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
18806         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
18807         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
18808         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18809         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
18811         Likewise.
18812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
18813         Likewise.
18814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
18815         Likewise.
18816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
18817         Likewise.
18818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
18819         Likewise.
18820         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18821         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
18822         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18823         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18824         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18825         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
18827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
18828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
18829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
18830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
18831         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
18832         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
18833         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18834         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18835         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18836         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18837         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18838         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18839         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18840         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
18841         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
18842         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
18843         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
18844         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
18845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18846         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
18848         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
18849         * nptl/pthreadP.h: Likewise.
18850         * nptl_db/structs.def: Likewise.
18851         * sysdeps/arm/sysdep.h: Likewise.
18852         * sysdeps/nptl/bits/libc-lock.h: Likewise.
18853         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18854         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
18855         * sysdeps/unix/alpha/sysdep.h: Likewise.
18856         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18857         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18858         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18859         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18860         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18861         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18862         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18863         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18864         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18865         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18866         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18867         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18868         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18869         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
18871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18872         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18873         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18874         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18875         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18876         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18877         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18878         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18879         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18880         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
18881         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18883         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
18884         * nptl/pthreadP.h: Likewise.
18885         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18886         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18887         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18888         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18889         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18890         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18891         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18892         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18893         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18894         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18895         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18896         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18898         Likewise.
18899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18900         Likewise.
18901         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18902         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18903         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18904         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18905         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18906         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18907         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18908         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18910         * dlfcn/dladdr.c: Use IS_IN.
18911         * dlfcn/dladdr1.c: Likewise.
18912         * dlfcn/dlclose.c: Likewise.
18913         * dlfcn/dlerror.c: Likewise.
18914         * dlfcn/dlinfo.c: Likewise.
18915         * dlfcn/dlmopen.c: Likewise.
18916         * dlfcn/dlopen.c: Likewise.
18917         * dlfcn/dlsym.c: Likewise.
18918         * dlfcn/dlvsym.c: Likewise.
18920         * include/ifaddrs.h: Use IS_IN.
18921         * inet/check_pf.c: Likewise.
18922         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18923         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
18925         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
18926         IS_IN_ldconfig.
18927         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
18928         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
18930         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
18931         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
18932         IS_IN (libc).
18934         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
18936         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
18937         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18938         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18939         * include/libc-symbols.h (IS_IN_LIB): New macro.
18940         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
18941         * include/netdb.h: Likewise.
18942         * include/stap-probe.h: Remove all uses of IN_LIB.
18944         * Makeconfig (module-cppflags-real): Define MODULE_NAME
18945         instead of IN_MODULE.
18946         * include/libc-symbols.h (IN_MODULE): Define using
18947         MODULE_NAME.
18948         (PASTE_NAME, PASTE_NAME1): New macros.
18949         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
18950         of IN_LIB.
18951         (STAP_PROBE_ASM): Likewise.
18953 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18955         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
18956         __mach_init in dlopened libc.
18958 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
18960         * sysdeps/arm/preconfigure.ac: Delete EABI check.
18961         * sysdeps/arm/preconfigure: Regenerate.
18963 2014-11-21  Roland McGrath  <roland@hack.frob.com>
18965         * nptl/pthread_create.c (__pthread_create_2_1): Set
18966         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
18967         when copying values from IATTR into PD.
18969 2014-11-21  Will Newton  <will.newton@linaro.org>
18970             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
18972         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
18973         Refactor inline-asm.  Also add comment.
18975         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
18976         ElfW macro instead of hardcoded Elf64 types.
18977         (la_aarch64_gnu_pltenter): Likewise.
18978         * sysdeps/aarch64/dl-machine.h
18979         (elf_machine_runtime_setup): Use ElfW(Addr).
18981         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
18982         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
18983         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
18984         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
18985         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
18986         (R_AARCH64_TLS_DTPMOD64): Rename to ..
18987         (R_AARCH64_TLS_DTPMOD): This.
18988         (R_AARCH64_TLS_DTPREL64): Rename to ...
18989         (R_AARCH64_TLS_DTPREL): This.
18990         (R_AARCH64_TLS_TPREL64): Rename to ...
18991         (R_AARCH64_TLS_TPREL): This.
18992         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
18993         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
18994         R_AARCH64_TLS_TPREL64.
18995         (elf_machine_rela): Likewise.
18997 2014-11-21  Torvald Riegel  <triegel@redhat.com>
18999         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
19000         by setting it to 0.  64b atomics are not supported currently.
19002 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19004         [BZ #16469]
19005         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
19006         search domain names.
19008 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19010         [BZ #16469]
19011         * NEWS: Update.
19012         * resolv/res_query.c (__libc_res_nquerydomain): Retain
19013         trailing dot.
19014         * posix/tst-getaddrinfo5.c: New.
19015         * posix/Makefile (tests): Add it.
19017 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19019         [BZ #14498]
19020         * NEWS: Fixed.
19021         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
19022         after parsing line but before break_if_match.
19023         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
19024         if there is a protocol mismatch.
19026 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
19028         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
19029         because the potential race is on the user-supplied stream.
19031 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19033         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
19034         string literal if not passed a buffer.
19035         * manual/job.texi (ctermid): Update reasoning, note deviation
19036         from posix, suggest mtasurace when not passed a buffer, for
19037         future non-preliminary safety notes.
19039 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19041         * manual/users.texi (cuserid): Fix MT-Safety note for the case
19042         of not passing it a buffer.
19043         Reported by Peng Haitao.
19045 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19047         * manual/Makefile ($(objpfx)stamp-summary): Require
19048         check-safety.sh to pass.
19049         * manual/check-safety.sh: Wish for verification that every
19050         @deftypefn and @deftypefun is followed by a @safety remark.
19052 2014-11-20  Roland McGrath  <roland@hack.frob.com>
19054         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
19056         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
19057         PTHREAD_CANCEL_ASYNCHRONOUS.
19058         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
19059         send SIGCANCEL.
19061         * nptl/default-sched.h: New file.
19062         * sysdeps/unix/sysv/linux/default-sched.h: New file.
19063         * nptl/pthread_create.c: Include it.
19064         (__pthread_create_2_1): Use collect_default_sched instead of making
19065         Linux syscalls here directly.
19067 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19069         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
19070         __pthread_once): Use C11 atomics.
19072 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19074         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
19076 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19078         * include/atomic.h (__atomic_link_error, __atomic_check_size,
19079         atomic_thread_fence_acquire, atomic_thread_fence_release,
19080         atomic_thread_fence_seq_cst, atomic_load_relaxed,
19081         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
19082         atomic_compare_exchange_weak_relaxed,
19083         atomic_compare_exchange_weak_acquire,
19084         atomic_compare_exchange_weak_release,
19085         atomic_exchange_acquire, atomic_exchange_release,
19086         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
19087         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
19088         atomic_fetch_and_acquire,
19089         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
19091 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19093         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
19094         USE_ATOMIC_COMPILER_BUILTINS): Define.
19095         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
19096         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19097         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
19098         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19099         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
19100         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19101         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
19102         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19103         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
19104         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19105         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
19106         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19107         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
19108         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19109         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
19110         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19111         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19112         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19113         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19114         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19115         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
19116         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19117         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19118         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19119         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
19120         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19121         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19122         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19123         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
19124         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19125         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
19126         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19127         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
19128         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19129         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19130         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19131         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
19132         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19133         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
19134         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19136 2014-11-19  Roland McGrath  <roland@hack.frob.com>
19138         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
19139         the sched_priority value here.  It was already checked when the user
19140         called pthread_attr_setschedparam.
19142         * nptl/tst-bad-schedattr.c: New file.
19143         * nptl/Makefile (tests): Add it.
19145 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
19146             Florian Weimer  <fweimer@redhat.com>
19147             Joseph Myers  <joseph@codesourcery.com>
19148             Adam Conrad  <adconrad@0c3.net>
19149             Andreas Schwab  <schwab@suse.de>
19150             Brooks  <bmoses@google.com>
19152         [BZ #17625]
19153         * wordexp-test.c (__dso_handle): Add prototype.
19154         (__register_atfork): Likewise.
19155         (__app_register_atfork): New function.
19156         (registered_forks): New global.
19157         (register_fork): New function.
19158         (test_case): Add 3 new tests for WRDE_CMDSUB.
19159         (main): Call __app_register_atfork.
19160         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
19161         fork count is non-zero fail the test.
19162         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
19163         is set.
19164         (parse_dollars): Remove check for WRDE_NOCMD.
19165         (parse_dquote): Likewise.
19167 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19169         * Makeconfig (built-modules): List non-library modules to be
19170         built.
19171         (module-cppflags): Include libc-modules.h for
19172         everything except shlib-versions.v.i.
19173         (CPPFLAGS): Use it.
19174         (before-compile): Add libc-modules.h.
19175         ($(common-objpfx)libc-modules.h,
19176         $(common-objpfx)libc-modules.stmp): New targets.
19177         (common-generated): Add libc-modules.h and libc-modules.stmp.
19178         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
19179         * include/libc-symbols.h: Don't include libc-modules.h.
19180         * include/libc-modules.h: Remove file.
19181         * scripts/gen-libc-modules.awk: New script to generate
19182         libc-modules.h.
19183         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
19184         Depend on libc-modules.stmp.
19186         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
19188         * Makeconfig (in-module): Get value of libof set for the
19189         translation unit.
19190         (CPPFLAGS): Use $(in-module).
19191         * Makerules: Don't suffix routine names for nonlib.
19192         * include/libc-modules.h: New file.
19193         * include/libc-symbols.h: Include libc-modules.h
19194         (IS_IN): New macro to replace IS_IN_* macros.
19195         * elf/Makefile: Set libof-* for each routine.
19196         * elf/rtld-Rules: Likewise.
19197         * extra-modules.mk: Likewise.
19198         * iconv/Makefile: Likewise.
19199         * iconvdata/Makefile: Likewise.
19200         * locale/Makefile: Likewise.
19201         * malloc/Makefile: Likewise.
19202         * nss/Makefile: Likewise.
19203         * sysdeps/gnu/Makefile: Likewise.
19204         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
19205         * sysdeps/unix/sysv/linux/Makefile: Likewise.
19206         * sysdeps/s390/s390-64/Makefile: Likewise.
19207         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
19208         CPPFLAGS for nscd instead of nonlib.
19210 2014-11-18  Roland McGrath  <roland@hack.frob.com>
19212         * nptl/createthread.c: New file.
19214         * nptl/createthread.c: Moved ...
19215         * sysdeps/unix/sysv/linux/createthread.c: ... here.
19217         * nptl/createthread.c: Add proper top-line comment.
19218         (do_clone): Folded into ...
19219         (create_thread): ... here.  Take new arguments STOPPED_START and
19220         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
19221         increment __nptl_threads, do event-reporting logic, do
19222         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
19223         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
19224         resource cleanup if sched_setaffinity or sched_setscheduler fails,
19225         just send SIGCANCEL.
19226         * nptl/pthread_create.c: Forward-declare create_thread before
19227         including createthread.c.
19228         (start_thread): Use new macro START_THREAD_DEFN to replace defining
19229         declaration, and new macro START_THREAD_SELF to replace argument.
19230         Remove return statement.
19231         (report_thread_creation): New function.
19232         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
19233         synchronization logic, and __nptl_nthreads increment here, around
19234         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
19235         PD->parent_cancelhandling here, before create_thread.  When
19236         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
19237         __deallocate_stack, and ENOMEM translation here.
19239 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
19241         [BZ #17616]
19242         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
19243         (mptwo): Rename to __mptwo.
19244         (__inv): Use __mptwo instead of mptwo.
19245         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
19246         (mptwo): Rename to __mptwo.
19247         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
19248         of mpone and __mptwo instead of mptwo.
19249         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
19250         instead of mpone.
19251         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19252         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
19253         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
19254         of mpone and __mptwo instead of mptwo.
19255         (__mpranred): Use __mpone instead of mpone.
19256         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
19257         variable.
19258         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19259         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19260         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19261         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19262         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19263         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19264         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19265         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19266         (test-xfail-POSIX/math.h/linknamespace): Likewise.
19267         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19268         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19269         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19270         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19271         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19272         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19273         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19274         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19275         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19276         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19278 2014-11-18  Tom de Vries  <tom@codesoucery.com>
19280         * manual/signal.texi (Primitives Interrupted by Signals): In section,
19281         replace BSD Handler xref with BSD Signal Handling.
19283 2014-11-17  Richard Henderson  <rth@redhat.com>
19285         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
19286         (_FP_PACK_RAW_2): Remove.
19287         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
19288         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
19289         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
19290         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
19291         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
19292         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
19293         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
19294         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
19295         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
19296         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
19297         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
19298         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
19299         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
19300         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
19301         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
19302         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
19304 2014-11-14  Roland McGrath  <roland@hack.frob.com>
19306         * signal/signal.h [__USE_MISC]
19307         (struct sigvec): Remove type.
19308         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
19309         (sigvec): Remove declaration.
19310         * sysdeps/posix/sigvec.c: Moved ...
19311         * signal/sigvec.c: ... here, replacing old file.
19312         (struct sigvec): New type, copied from old signal.h definition.
19313         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
19314         (__sigvec): Convert definition to prototype.
19315         (sigvec): Replace weak_alias with compat_symbol.
19316         * signal/Versions (libc: GLIBC_2.21): New version set.
19317         * include/signal.h: Remove __sigvec declaration.
19318         * sysdeps/unix/bsd/sigvec.c: Remove file.
19319         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
19320         * manual/signal.texi (BSD Handler): Remove subsection.
19321         Move siginterrupt up to ...
19322         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
19323         (Blocking in BSD): Fold subsection into its parent.
19324         * NEWS: Mention sigvec removal.
19326 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19328         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
19329         (DLA_FMS): Make definition conditional only on [__FMA4__].
19330         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
19331         definition.
19333         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
19334         Make definition conditional only on [PROF].
19335         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
19336         definition.
19337         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
19338         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
19340         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
19341         !__GNUC__].
19342         * include/signal.h (__sigpause): Move declaration above call to
19343         libc_hidden_proto.
19344         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
19345         variable.
19346         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19347         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19349 2014-11-14  David S. Miller  <davem@davemloft.net>
19351         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
19352         Define before including <string/memcpy.c> and <string/mempcpy.c>.
19354 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19356         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
19357         * configure: Regenerated.
19358         * manual/install.texi (Tools for Compilation): Document a
19359         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
19360         compiler verified to work.
19361         * INSTALL: Regenerated.
19363         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
19364         redeclare with asm name.
19365         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
19366         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
19367         including <string.h>.
19368         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19369         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
19370         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19371         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
19372         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19373         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19374         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19376 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
19378         * stdlib/strtol.c (__strtol): Use prototype definition.
19380         [BZ #17594]
19381         * stdlib/strtol.c (SYM__): New macro.
19382         (SYM__1): Likewise.
19383         (__strtol): Likewise.
19384         (strtol): Rename to __strtol and define as weak alias of
19385         __strtol.  Use libc_hidden_weak.
19387 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19389         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
19390         Use numbered labels in inline assembly.
19392 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19394         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
19395         Add setjmp LIBC_PROBE.
19396         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
19397         Likewise.
19398         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
19399         Add longjmp, longjmp_target LIBC_PROBE.
19400         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
19401         Likewise.
19403 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19405         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19406         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
19407         to get rid of unused variable warning.
19409 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19411         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
19412         Check for unwind_backtrace ==  NULL only in SHARED case.
19413         (__backchain_backtrace): Compile only in SHARED case.
19414         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
19415         Likewise.
19416         (__backchain_backtrace): Declare as static.
19418 2014-11-12  Roland McGrath  <roland@hack.frob.com>
19420         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
19421         (__libc_multiple_threads_ptr): Variable moved ...
19422         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
19424 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
19426         * conform/GlibcConform.pm: New file.
19427         * conform/conformtest.pl: Use GlibcConform module.
19428         * conform/linknamespace.pl: New file.
19429         * conform/list-header-symbols.pl: Likewise.
19430         * conform/Makefile (linknamespace-symlists-base): New variable.
19431         (linknamespace-symlists-tests): Likewise.
19432         (linknamespace-header-base): Likewise.
19433         (linknamespace-header-tests): Likewise.
19434         (tests-special): Add new tests.
19435         ($(linknamespace-symlists-tests)): New rule.
19436         (linknamespace-libs): New variable.
19437         ($(objpfx)symlist-stdlibs): New rule.
19438         ($(linknamespace-header-tests)): Likewise.
19439         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
19440         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
19441         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
19442         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
19443         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
19444         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
19445         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
19446         (test-xfail-ISO/math.h/linknamespace): Likewise.
19447         (test-xfail-ISO/signal.h/linknamespace): Likewise.
19448         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
19449         (test-xfail-ISO/time.h/linknamespace): Likewise.
19450         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19451         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
19452         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19453         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19454         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19455         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19456         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19457         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19458         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19459         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19460         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19461         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19462         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19463         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
19464         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
19465         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19466         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
19467         (test-xfail-XPG3/search.h/linknamespace): Likewise.
19468         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
19469         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19470         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
19471         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19472         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19473         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
19474         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19475         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19476         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
19477         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
19478         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19479         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
19480         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19481         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19482         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19483         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19484         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
19485         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
19486         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
19487         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
19488         (test-xfail-XPG4/time.h/linknamespace): Likewise.
19489         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
19490         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19491         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
19492         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19493         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19494         (test-xfail-POSIX/math.h/linknamespace): Likewise.
19495         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
19496         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
19497         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19498         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19499         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
19500         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19501         (test-xfail-POSIX/time.h/linknamespace): Likewise.
19502         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
19503         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19504         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19505         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
19506         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19507         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19508         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19509         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19510         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19511         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19512         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
19513         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19514         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19515         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19516         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
19517         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19518         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19519         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
19520         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19521         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19522         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19523         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19524         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19525         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19526         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
19527         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
19528         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19529         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
19530         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19531         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
19532         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19533         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19534         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19535         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
19536         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19537         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19538         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
19539         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
19540         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
19541         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
19542         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19543         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19544         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19545         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19546         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
19547         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
19548         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19549         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19550         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19551         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19552         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19553         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19554         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19555         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19556         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19557         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19558         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
19559         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19560         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
19561         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
19562         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
19563         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19564         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19565         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
19566         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19567         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19568         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19569         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19570         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19571         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19572         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19573         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19574         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19575         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19576         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
19577         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19578         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19579         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19580         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
19581         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19582         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
19583         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19584         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19585         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
19586         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19587         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19588         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19589         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19590         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19591         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19592         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19593         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19594         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19595         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19596         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
19597         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19598         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19599         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19601         [BZ #17589]
19602         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
19603         of fgets_unlocked.
19605         [BZ #17585]
19606         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
19607         (memmem): Rename to __memmem and define as weak alias of
19608         __memmem.  Use libc_hidden_weak.
19609         (__memmem): Use libc_hidden_def.
19610         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
19611         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
19612         memmem.
19614         [BZ #17582]
19615         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
19616         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
19617         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
19618         and define as weak alias of __fgets_unlocked.  Use
19619         libc_hidden_weak.
19620         (__fgets_unlocked): Use libc_hidden_def.
19621         * include/stdio.h (__fgets_unlocked): Declare.  Use
19622         libc_hidden_proto.
19623         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
19624         __fgets_unlocked instead of fgets_unlocked.
19625         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
19626         (GET_NPROCS_CONF_PARSER): Likewise.
19627         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
19628         (GET_NPROCS_CONF_PARSER): Likewise.
19630         [BZ #17574]
19631         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
19632         weak alias of __wmemset.  Use libc_hidden_weak.
19633         (__wmemset): Use libc_hidden_def.
19634         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
19635         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
19636         of wmemset.
19638         [BZ #17573]
19639         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
19640         with asm name __mempcpy.
19641         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
19643         [BZ #17572]
19644         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
19645         and define as weak alias of __rawmemchr.
19646         (__rawmemchr): Do not define as strong alias of rawmemchr.
19648         [BZ #17571]
19649         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
19650         alias of __qsort_r.
19651         (qsort): Call __qsort_r instead of qsort_r.
19652         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
19653         (__qsort_r): Declare.  Call libc_hidden_proto.
19654         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
19655         instead of qsort_r.
19656         * nscd/gai.c (__qsort_r): Define to qsort_r.
19657         * posix/tst-rfc3484.c (__qsort_r): Likewise.
19658         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
19659         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
19661         [BZ #17570]
19662         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
19663         define as weak alias of __malloc_info.
19665         [BZ #17584]
19666         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
19667         as weak alias of __rewinddir.  Don't use libc_hidden_def.
19668         (__rewinddir): Use libc_hidden_def.
19669         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
19670         as weak alias of __rewinddir.  Don't use libc_hidden_def.
19671         (__rewinddir): Use libc_hidden_def.
19672         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
19673         weak alias of __rewinddir.  Don't use libc_hidden_def.
19674         (__rewinddir): Use libc_hidden_def.
19675         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
19676         (__rewinddir): Use libc_hidden_proto.
19677         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
19678         rewinddir.
19679         (__getcwd): Use __rewinddir instead of rewinddir.
19681         [BZ #17583]
19682         * libio/fileno.c (fileno): Rename to __fileno and define as weak
19683         alias of __fileno.  Use libc_hidden_weak.
19684         (__fileno): Use libc_hidden_def.
19685         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
19686         * libio/ftello.c (ftello): Rename to __ftello and define as weak
19687         alias of __ftello.
19688         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
19689         __ftello.
19690         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
19691         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
19692         libc_hidden_def.
19693         (fread_unlocked): Don't use libc_hidden_ver.
19694         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
19695         and define as weak alias of __fread_unlocked.  Don't use
19696         libc_hidden_def.
19697         (__fread_unlocked): Use libc_hidden_def.
19698         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
19699         (ftello): Don't use libc_hidden_proto.
19700         (__ftello): Declare.  Use libc_hidden_proto.
19701         (fread_unlocked): Don't use libc_hidden_proto.
19702         (__fread_unlocked): Declare.  Use libc_hidden_proto.
19703         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
19704         and __ftello instead of fileno, fread_unlocked and ftello.
19706 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19708         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
19709         GOT12.
19710         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19711         Likewise.
19712         (_dl_start_user): Likewise.
19713         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
19715 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
19716             Siddhesh Poyarekar  <siddhesh@redhat.com>
19718         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
19719         Move argv and envp down instead of moving argc up.
19720         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
19722 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
19724         [BZ #17506]
19725         * test-skeleton.c (main): Return successful if one of
19726         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
19727         * string/tst-strcoll-overflow.c: Define expected status.
19729 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
19731         [BZ #17475]
19732         * locale/iso-639.def: Define Bhili and Tulu language codes.
19734 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
19736         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
19738 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
19740         [BZ #17555]
19741         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
19743 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
19745         * configure.ac: Updated check of minimal required version to
19746         2.22.
19747         * manual/install.texi (Tools for Compilation): Updated version
19748         number.
19749         * configure: Regenerated.
19750         * INSTALL: Likewise.
19752 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
19754         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
19755         __tls_get_addr.
19757 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
19759         * include/sys/wait.h (__libc_waitpid): Remove declaration.
19760         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
19761         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19762         libc_hidden_weak.
19763         (waitpid): Define as alias of __waitpid.
19764         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
19765         __waitpid.
19766         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19767         libc_hidden_weak.
19768         (waitpid): Define as alias of __waitpid.
19769         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
19770         __libc_waitpid alias.
19771         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
19772         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
19773         Likewise.
19774         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
19775         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
19776         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
19777         alias.
19778         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
19779         __waitpid.
19780         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19781         libc_hidden_weak.
19782         (waitpid): Define as alias of __waitpid.
19784 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
19786         * manual/llio.texi: Add comment that write safety has been
19787         fixed in Linux.
19789         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
19790         (localplt-build-dso): Add elf/ld.so.
19791         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
19792         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
19793         and free for ld.so.
19794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
19795         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
19796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
19797         Likewise.
19798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19799         Likewise.
19800         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
19801         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
19802         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
19803         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
19804         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19805         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
19806         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
19807         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
19808         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19809         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
19810         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19812 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
19814         [BZ #14132]
19815         * include/libc-symbols.h (INTUSE): Remove macro.
19816         (INTDEF): Likewise.
19817         (INTVARDEF): Likewise.
19818         (_INTVARDEF): Likewise.
19819         (INTDEF2): Likewise.
19820         (INTVARDEF2): Likewise.
19821         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
19822         rtld_hidden_def instead of INTVARDEF.
19823         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
19824         (_dl_starting_up_internal): Remove declaration.
19825         (_dl_starting_up): Use rtld_hidden_proto.
19826         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
19827         declaration.
19828         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
19829         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
19830         _dl_starting_up.
19831         * elf/dl-writev.h (_dl_writev): Likewise.
19832         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
19833         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
19834         _dl_starting_up_internal.
19836 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19838         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19839         test-skeleton.c.
19841 2014-11-05  Will Newton  <will.newton@linaro.org>
19843         * benchtests/Makefile: (bench-malloc): Add malloc thread
19844         scalability benchmark.
19845         * benchtests/bench-malloc-threads.c: New file.
19847 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
19849         * sysdeps/aarch64/strchrnul.S: New file.
19851 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19853         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
19854         definition.
19855         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19856         Likwise.
19857         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19858         Likewise.
19859         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19860         Likewise.
19861         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19862         Likewise.
19863         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19864         Likewise.
19866 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
19868         * catgets/test-gencat.c: Use test-skeleton.c.
19869         * catgets/tst-catgets.c: Likewise.
19870         * csu/tst-empty.c: Likewise.
19871         * elf/tst-audit2.c: Likewise.
19872         * elf/tst-global1.c: Likewise.
19873         * elf/tst-pathopt.c: Likewise.
19874         * elf/tst-piemod1.c: Likewise.
19875         * elf/tst-tls10.c: Likewise.
19876         * elf/tst-tls11.c: Likewise.
19877         * elf/tst-tls12.c: Likewise.
19878         * gnulib/tst-gcc.c: Likewise.
19879         * iconvdata/tst-e2big.c: Likewise.
19880         * iconvdata/tst-loading.c: Likewise.
19881         * iconv/tst-iconv1.c: Likewise.
19882         * iconv/tst-iconv2.c: Likewise.
19883         * inet/test-inet6_opt.c: Likewise.
19884         * inet/tst-gethnm.c: Likewise.
19885         * inet/tst-network.c: Likewise.
19886         * inet/tst-ntoa.c: Likewise.
19887         * intl/tst-codeset.c: Likewise.
19888         * intl/tst-gettext2.c: Likewise.
19889         * intl/tst-gettext3.c: Likewise.
19890         * intl/tst-ngettext.c: Likewise.
19891         * intl/tst-translit.c: Likewise.
19892         * io/test-stat.c: Likewise.
19893         * libio/test-fmemopen.c: Likewise.
19894         * libio/tst-freopen.c: Likewise.
19895         * libio/tst-sscanf.c: Likewise.
19896         * libio/tst-ungetwc1.c: Likewise.
19897         * libio/tst-ungetwc2.c: Likewise.
19898         * libio/tst-widetext.c: Likewise.
19899         * localedata/tst-ctype.c: Likewise.
19900         * localedata/tst-digits.c: Likewise.
19901         * localedata/tst-leaks.c: Likewise.
19902         * localedata/tst-mbswcs1.c: Likewise.
19903         * localedata/tst-mbswcs2.c: Likewise.
19904         * localedata/tst-mbswcs3.c: Likewise.
19905         * localedata/tst-mbswcs4.c: Likewise.
19906         * localedata/tst-mbswcs5.c: Likewise.
19907         * localedata/tst-setlocale.c: Likewise.
19908         * localedata/tst-trans.c: Likewise.
19909         * localedata/tst-wctype.c: Likewise.
19910         * localedata/tst-xlocale1.c: Likewise.
19911         * login/tst-grantpt.c: Likewise.
19912         * malloc/tst-calloc.c: Likewise.
19913         * malloc/tst-malloc.c: Likewise.
19914         * malloc/tst-mallocstate.c: Likewise.
19915         * malloc/tst-mcheck.c: Likewise.
19916         * malloc/tst-mtrace.c: Likewise.
19917         * malloc/tst-obstack.c: Likewise.
19918         * math/atest-exp2.c: Likewise.
19919         * math/atest-exp.c: Likewise.
19920         * math/atest-sincos.c: Likewise.
19921         * math/test-matherr.c: Likewise.
19922         * math/test-misc.c: Likewise.
19923         * math/test-powl.c: Likewise.
19924         * math/tst-definitions.c: Likewise.
19925         * misc/tst-dirname.c: Likewise.
19926         * misc/tst-efgcvt.c: Likewise.
19927         * misc/tst-fdset.c: Likewise.
19928         * misc/tst-hsearch.c: Likewise.
19929         * misc/tst-mntent2.c: Likewise.
19930         * nptl/tst-sem7.c: Likewise.
19931         * nptl/tst-sem8.c: Likewise.
19932         * nptl/tst-sem9.c: Likewise.
19933         * nss/test-netdb.c: Likewise.
19934         * posix/tst-fnmatch.c: Likewise.
19935         * posix/tst-getlogin.c: Likewise.
19936         * posix/tst-gnuglob.c: Likewise.
19937         * posix/tst-mmap.c: Likewise.
19938         * pwd/tst-getpw.c: Likewise.
19939         * resolv/tst-inet_ntop.c: Likewise.
19940         * rt/tst-timer.c: Likewise.
19941         * stdio-common/test-fseek.c: Likewise.
19942         * stdio-common/test-popen.c: Likewise.
19943         * stdio-common/test-vfprintf.c: Likewise.
19944         * stdio-common/tst-cookie.c: Likewise.
19945         * stdio-common/tst-fileno.c: Likewise.
19946         * stdio-common/tst-gets.c: Likewise.
19947         * stdio-common/tst-obprintf.c: Likewise.
19948         * stdio-common/tst-perror.c: Likewise.
19949         * stdio-common/tst-sprintf2.c: Likewise.
19950         * stdio-common/tst-sprintf3.c: Likewise.
19951         * stdio-common/tst-sprintf.c: Likewise.
19952         * stdio-common/tst-swprintf.c: Likewise.
19953         * stdio-common/tst-tmpnam.c: Likewise.
19954         * stdio-common/tst-unbputc.c: Likewise.
19955         * stdio-common/tst-wc-printf.c: Likewise.
19956         * stdlib/tst-environ.c: Likewise.
19957         * stdlib/tst-fmtmsg.c: Likewise.
19958         * stdlib/tst-limits.c: Likewise.
19959         * stdlib/tst-rand48-2.c: Likewise.
19960         * stdlib/tst-rand48.c: Likewise.
19961         * stdlib/tst-random2.c: Likewise.
19962         * stdlib/tst-random.c: Likewise.
19963         * stdlib/tst-strtol.c: Likewise.
19964         * stdlib/tst-strtoll.c: Likewise.
19965         * stdlib/tst-tls-atexit.c: Likewise.
19966         * stdlib/tst-xpg-basename.c: Likewise.
19967         * string/test-ffs.c: Likewise.
19968         * string/tst-bswap.c: Likewise.
19969         * string/tst-inlcall.c: Likewise.
19970         * string/tst-strtok.c: Likewise.
19971         * string/tst-strxfrm.c: Likewise.
19972         * sysdeps/x86_64/tst-audit10.c: Likewise.
19973         * sysdeps/x86_64/tst-audit3.c: Likewise.
19974         * sysdeps/x86_64/tst-audit4.c: Likewise.
19975         * sysdeps/x86_64/tst-audit5.c: Likewise.
19976         * time/tst-ftime_l.c: Likewise.
19977         * time/tst-getdate.c: Likewise.
19978         * time/tst-mktime3.c: Likewise.
19979         * time/tst-mktime.c: Likewise.
19980         * time/tst-posixtz.c: Likewise.
19981         * time/tst-strptime2.c: Likewise.
19982         * time/tst-strptime3.c: Likewise.
19983         * wcsmbs/tst-btowc.c: Likewise.
19984         * wcsmbs/tst-mbrtowc.c: Likewise.
19985         * wcsmbs/tst-mbsrtowcs.c: Likewise.
19986         * wcsmbs/tst-wchar-h.c: Likewise.
19987         * wcsmbs/tst-wcpncpy.c: Likewise.
19988         * wcsmbs/tst-wcrtomb.c: Likewise.
19989         * wcsmbs/tst-wcsnlen.c: Likewise.
19990         * wcsmbs/tst-wcstof.c: Likewise.
19992 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
19994         [BZ #14132]
19995         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
19996         INTDEF.
19997         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
19998         declaration.
19999         (_dl_mcount): Use rtld_hidden_proto.
20000         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
20001         _dl_mcount.
20002         * elf/rtld.c (_rtld_global_ro): Likewise.
20004         [BZ #14132]
20005         * elf/dl-init.c (_dl_init): Don't use INTDEF.
20006         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
20007         of _dl_init_internal.
20008         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
20009         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
20010         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
20011         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
20012         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
20013         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
20014         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
20015         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
20016         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
20017         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
20018         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
20019         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
20020         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20021         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20022         * sysdeps/tile/dl-start.S (_start): Likewise.
20023         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
20024         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
20026         [BZ #14132]
20027         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
20028         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
20029         (rtld_progname): Make macro definition unconditional.
20030         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
20031         INTDEF.
20032         (dlmopen_doit): Do not use INTUSE with _dl_argv.
20033         (dl_main): Likewise.
20034         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20035         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
20036         instead of _dl_argv_internal.
20037         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20038         __GI__dl_argv instead of INTUSE(_dl_argv).
20039         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
20040         __GI__dl_argv instead of _dl_argv_internal.
20042         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
20043         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
20044         macro.
20045         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
20046         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
20047         New macro.
20048         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
20049         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
20050         macro.
20051         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
20052         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
20054 2014-11-04  Andreas Schwab  <schwab@suse.de>
20056         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
20058 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20060         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
20061         mtvsrd instruction in binary form.
20063 2014-11-03  Andreas Schwab  <schwab@suse.de>
20065         [BZ #17522]
20066         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
20067         for less than MB_LEN_MAX use a local buffer of that size.
20068         * libio/tst-fputws.c: New file.
20069         * libio/Makefile (tests): Add tst-fputws.
20071 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
20073         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
20074         the size of the fpu_fr.fpu_dregs[] array.
20076 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
20078         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
20079         (__nanosleep): Do not define as alias.
20080         (nanosleep): Define as alias of __nanosleep.
20081         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
20082         __libc_nanosleep name.
20084 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20086         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
20087         install.texi in comment.
20089 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20091         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
20092         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
20093         ... add here and use lwsync or sync ...
20094         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
20095         ... and add here using lwsync.
20097 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20099         * elf/dl-machine-reject-phdr.h: New file.
20100         * elf/dl-load.c: #include that.
20101         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
20102         if that returned true.
20104 2014-10-31  Roland McGrath  <roland@hack.frob.com>
20106         [BZ #17496]
20107         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
20108         gen-as-const-headers chunk.  Add a big scare comment after the last
20109         safe place to touch before-compile.
20111 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20113         * manual/install.texi (Tools for Compilation): Update autoconf
20114         version requirements.
20115         * INSTALL: Regenerated.
20117         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
20118         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
20119         (__libc_pselect): Likewise.
20121         [BZ #14138]
20122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
20123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20127 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20129         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
20130         correct barrier instruction.
20131         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
20132         Likewise.
20133         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
20134         Likewise.
20136 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20138         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
20139         after defining inlines.  Instead, just use parens to defeat macro
20140         expansion of __isctype in its declaration.
20142 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20144         * include/sys/uio.h (__libc_readv): Remove declaration.
20145         (__libc_writev): Likewise.
20146         * misc/readv.c (__libc_readv): Rename to __readv.
20147         (__readv): Do not define as alias.
20148         (readv): Define as alias of __readv.
20149         * misc/writev.c (__libc_writev): Rename to __writev.
20150         (__writev): Do not define as alias.
20151         (writev): Define as alias of __writev.
20152         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
20153         (__readv): Do not define as alias.
20154         (readv): Define unconditionally as alias of __readv.
20155         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
20156         (__writev): Do not define as alias.
20157         (writev): Define unconditionally as alias of __writev.
20158         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
20159         name.
20160         (writev): Do not define __libc_writev name.
20162 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20164         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
20165         (convert_charseq): New function, broken out of ...
20166         (use_from_charmap): ... here.  Call it.
20167         (use_to_charmap): Use convert_charseq and free instead of duplicating
20168         its code with a variable-length stack struct.
20170 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20172         * include/fcntl.h (__libc_creat): Remove declaration.
20173         * io/creat.c (__libc_creat): Rename to creat.
20174         (creat): Do not define as alias.
20175         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
20176         of creat instead of __libc_creat.
20177         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
20178         to creat.
20179         (creat): Do not define as alias.
20180         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
20181         __libc_creat.
20182         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
20183         __libc_creat name.
20184         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
20185         Likewise.
20187 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
20189         * manual/llio.texi: Add comments discussing why write() may be
20190         considered MT-unsafe on Linux.
20192 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
20194         * dl-load.c (local_strdup): Remove.
20195         (expand_dynamic_string_token): Use __strdup.
20196         (decompose_rpath): Likewise.
20197         (_dl_map_object): Likewise.
20199 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
20201         [BZ #14132]
20202         * sysdeps/generic/unwind-dw2-fde.c
20203         (__register_frame_info_bases_internal): Do not declare.
20204         (__register_frame_info_table_bases_internal): Likewise.
20205         (__deregister_frame_info_bases_internal): Likewise.
20206         (__register_frame_info_bases): Declare and use hidden_proto before
20207         definition.  Use hidden_def instead of INTDEF.
20208         (__register_frame_info_table_bases): Likewise.
20209         (__deregister_frame_info_bases): Likewise.
20210         (__register_frame_info): Do not use INTUSE.
20211         (__register_frame): Likewise.
20212         (__register_frame_info_table): Likewise.
20213         (__register_frame_table): Likewise.
20214         (__deregister_frame_info): Likewise.
20215         (__deregister_frame): Likewise.
20217 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
20219         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20220         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
20221         not undefine.
20222         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
20223         Likewise.
20224         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
20225         Likewise.
20227 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
20229         [BZ #14138]
20230         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
20231         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
20232         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
20233         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
20234         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
20235         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
20236         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
20237         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
20238         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
20239         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
20240         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
20241         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
20242         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
20243         syscall.
20244         (setfsuid): Likewise.
20245         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
20246         (setfsuid): Likewise.
20247         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
20248         (setfsuid): Likewise.
20249         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
20250         Likewise.
20251         (setfsuid): Likewise.
20252         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
20253         (setfsuid): Likewise.
20254         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
20255         Likewise.
20256         (setfsuid): Likewise.
20258 2014-10-27  Andreas Schwab  <schwab@suse.de>
20260         [BZ #17501]
20261         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
20262         check for Slow_SSE4_2 feature bit.
20263         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
20264         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20265         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
20266         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
20268 2014-10-24  Roland McGrath  <roland@hack.frob.com>
20270         * configure.ac: Validate compiler version with a empirical test of
20271         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
20272         $CC -v output.
20273         * configure: Regenerated.
20275         * inet/htons.c (htons): Prototypify.
20276         * inet/htonl.c (htonl): Likewise.
20278 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20280         * string/strncat.c (strncat): Improve performance by using strlen.
20282 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20284         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
20286 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20288         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
20289         Call libc_fetestexcept_aarch64.
20291 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20293         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
20294         Call libc_feholdexcept_aarch64.
20296 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20298         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
20299         Call get_rounding_mode.
20301 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20303         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20304         Simplify logic.
20306 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20308         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
20309         Simplify logic.
20311 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
20313         [BZ #14138]
20314         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
20315         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
20316         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
20317         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
20318         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
20319         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
20320         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
20321         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
20322         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
20323         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
20324         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20325         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
20326         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
20327         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
20328         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
20329         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
20330         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
20331         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
20332         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
20333         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
20334         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
20335         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
20336         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
20337         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
20338         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
20339         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
20340         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
20341         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
20342         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
20343         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
20344         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
20345         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
20346         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
20347         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
20348         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
20349         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
20350         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
20351         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
20352         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
20353         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
20354         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
20355         syscall.
20356         (geteuid): Likewise.
20357         (getgid): Likewise.
20358         (getuid): Likewise.
20359         (getresgid): Likewise.
20360         (getresuid): Likewise.
20361         (getgroups): Likewise.
20362         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
20363         (geteuid): Likewise.
20364         (getgid): Likewise.
20365         (getuid): Likewise.
20366         (getresgid): Likewise.
20367         (getresuid): Likewise.
20368         (getgroups): Likewise.
20369         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
20370         (geteuid): Likewise.
20371         (getgid): Likewise.
20372         (getuid): Likewise.
20373         (getresgid): Likewise.
20374         (getresuid): Likewise.
20375         (getgroups): Likewise.
20376         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
20377         Likewise.
20378         (geteuid): Likewise.
20379         (getgid): Likewise.
20380         (getuid): Likewise.
20381         (getresgid): Likewise.
20382         (getresuid): Likewise.
20383         (getgroups): Likewise.
20384         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
20385         (geteuid): Likewise.
20386         (getgid): Likewise.
20387         (getuid): Likewise.
20388         (getresgid): Likewise.
20389         (getresuid): Likewise.
20390         (getgroups): Likewise.
20391         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
20392         Likewise.
20393         (geteuid): Likewise.
20394         (getgid): Likewise.
20395         (getuid): Likewise.
20396         (getgroups): Likewise.
20398         [BZ #14138]
20399         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
20400         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
20401         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
20402         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20403         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
20404         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
20405         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
20406         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
20407         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
20408         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
20409         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
20410         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
20411         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
20412         __chown.
20413         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
20414         (lchown): Likewise.
20415         (fchown): Likewise.
20416         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
20417         Likewise.
20418         (lchown): Likewise.
20419         (fchown): Likewise.
20420         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
20421         (lchown): Likewise.
20422         (fchown): Likewise.
20423         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
20424         Likewise.
20425         (lchown): Likewise.
20426         (fchown): Likewise.
20428 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20430         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
20431         Simplify logic.
20433 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20435         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20436         Cleanup logic.
20438 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20440         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20441         Remove unused include.
20443 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20445         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
20446         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
20447         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
20448         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
20450 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
20451             Helge Deller <deller@gmx.de>
20453         [BZ #17508]
20454         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
20455         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
20456         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
20458 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
20460         [BZ #14132]
20461         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
20462         Remove macro definition.
20463         (__ashrdi3_v_glibc20): Likewise.
20464         (__lshrdi3_v_glibc20): Likewise.
20465         (__cmpdi2_v_glibc20): Likewise.
20466         (__ucmpdi2_v_glibc20): Likewise.
20467         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
20468         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20469         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20470         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20471         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20472         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
20474 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20476         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
20477         old GNU extension [0] syntax.
20478         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
20479         alloca rather than an array member with variable length.
20480         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
20481         * nscd/nscd.c (invalidate_db): New function, broken out of ...
20482         (parse_opt): ... here.  Likewise use alloca there.
20483         Validate the -i argument before checking for rootness.
20484         (send_shutdown): New function, broken out of ...
20485         (parse_opt): ... here.
20487 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20489         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
20490         macro to get at the _rt_local_ro field.
20491         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
20492         ([PIC] case) or _dl_hwcap ([!PIC] case).
20493         * sysdeps/arm/setjmp.S: Likewise.
20495         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
20496         * sysdeps/arm/configure.ac: New check to define it.
20497         * sysdeps/arm/configure: Regenerated.
20498         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
20499         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
20500         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
20501         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
20502         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
20503         Use move/movt pair instead of a load.
20504         (LDST_GLOBAL): Macro removed.
20505         (LDR_GLOBAL): New macro replaces it.
20506         (LDR_HIDDEN): New macro.
20507         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
20508         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
20510         * setjmp/tst-setjmp-static.c: New file.
20511         * setjmp/Makefile (tests): Add it.
20512         (tests-static): New variable.
20514 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
20516         [BZ #17485]
20517         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
20519 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
20521         [BZ #14132]
20522         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
20524 2014-10-21  Roland McGrath  <roland@hack.frob.com>
20526         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
20528 2014-10-20  Roland McGrath  <roland@hack.frob.com>
20530         * io/fts.c (dirent_not_directory): New function.
20531         (fts_build): Call it.
20533 2014-10-20  Roland McGrath  <roland@hack.frob.com>
20535         * nptl/version.c (__nptl_main): Use normal __write rather than
20536         INTERNAL_SYSCALL.
20537         (banner): Update copyright years.
20539         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
20540         gettimeofday.
20541         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
20542         * nptl/pthread_cond_timedwait.c: Likewise.
20543         * nptl/pthread_mutex_timedlock.c: Likewise.
20544         * nptl/sem_timedwait.c: Likewise.
20546         * sysdeps/nptl/bits/libc-lock.h
20547         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20548         (__libc_lock_init_recursive): Return void, not 0.
20549         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
20550         (__libc_rwlock_init): Likewise.
20551         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
20553 2014-10-20  Torvald Riegel  <triegel@redhat.com>
20555         [BZ #15215]
20556         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
20557         (__pthread_once_slow): ... here.
20558         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
20559         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
20561 2014-10-20  Torvald Riegel  <triegel@redhat.com>
20563         [BZ #15215]
20564         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
20565         __PTHREAD_ONCE_FORK_GEN_INCR): New.
20566         * sysdeps/nptl/fork.c (__libc_fork): Use them.
20567         * nptl/pthread_once.c (__pthread_once): Likewise.
20568         Update comments.
20570 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
20572         [BZ #14138]
20573         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
20574         name.
20575         (writev): Use __libc_writev as strong name.
20576         * sysdeps/unix/sysv/linux/readv.c: Remove file.
20577         * sysdeps/unix/sysv/linux/writev.c: Likewise.
20579 2014-10-17  Roland McGrath  <roland@hack.frob.com>
20581         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
20583         * sysdeps/i386/nptl/tls.h
20584         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
20585         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
20586         New macros.
20587         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
20588         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
20589         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
20590         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
20591         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
20592         Call CHECK_THREAD_SYSINFO instead of doing an assert.
20594         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20595         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
20596         on [__NR_futex].
20597         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
20598         broken out of ...
20599         (__pthread_mutex_init): ... here.  Call it.
20600         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
20601         Conditionalize PI cases on [__NR_futex].
20602         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
20603         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
20604         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
20606         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
20607         conditional on [SIGSETXID].
20608         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
20609         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
20610         is defined.  Likewise for SIGSETXID.
20611         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
20612         Conditionalize definitions on [SIGSETXID].
20613         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
20614         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
20615         unblocking on [SIGCANCEL].
20617         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
20618         [__NR_set_robust_list].
20620 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20622         * string/strcoll_l.c (get_next_seq): Fix up formatting.
20623         (do_compare): Likewise.
20625 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
20627         [BZ #15884]
20628         * string/strcoll_l.c: Don't include stdio.h.
20629         (coll_seq): Remove members idxarr and rulearr.
20630         (get_next_seq_cached): Remove function.
20631         (get_next_seq): Likewise.
20632         (get_next_seq_nocache): Rename to get_next_seq.
20633         (do_compare): Remove function.
20634         (do_compare_nocache): Rename to do_compare.
20635         (STRCOLL): Remove weight and rules cache.
20637 2014-10-16  Roland McGrath  <roland@hack.frob.com>
20639         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
20640         * sysdeps/arm/sfp-machine.h: ... to here.
20641         * sysdeps/arm/Implies: Remove arm/soft-fp.
20643 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
20645         * conform/data/sys/utsname.h-data (*_t): Allow.
20646         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
20647         [POSIX] (WEXITED): Do not expect constant.
20648         [POSIX] (WSTOPPED): Likewise.
20649         [POSIX] (WNOHANG): Likewise.
20650         [POSIX] (WNOWAIT): Likewise.
20651         [POSIX] (siginfo_t): Do not expect type or elements.
20652         [POSIX] (pid_t): Do not expect type.
20653         [POSIX] (signal.h): Do not allow header.
20654         [POSIX] (sys/resource.h): Likewise.
20655         [POSIX] (si_*): Do not allow pattern.
20656         [POSIX] (W*): Likewise.
20657         [POSIX] (P_*): Likewise.
20658         [POSIX] (BUS_*): Likewise.
20659         [POSIX] (CLD_*): Likewise.
20660         [POSIX] (FPE_*): Likewise.
20661         [POSIX] (ILL_*): Likewise.
20662         [POSIX] (POLL_*): Likewise.
20663         [POSIX] (SEGV_*): Likewise.
20664         [POSIX] (SI_*): Likewise.
20665         [POSIX] (TRAP_*): Likewise.
20666         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
20667         variable.
20669 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
20671         [BZ #12926]
20672         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
20673         infinite loop when __recvmsg returns 0.
20675 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
20677         * CANCEL-FCT-WAIVE: Remove file.
20678         * CANCEL-FILE-WAIVE: Likewise.
20680         [BZ #14132]
20681         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
20682         instead of INTVARDEF.
20683         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
20684         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
20685         rtld_hidden_data_def instead of INTVARDEF.
20686         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
20687         * elf/dl-deps.c (expand_dst): Likewise.
20688         * elf/dl-load.c (_dl_dst_count): Likewise.
20689         (_dl_dst_substitute): Likewise.
20690         (decompose_rpath): Likewise.
20691         (_dl_init_paths): Likewise.
20692         (open_path): Likewise.
20693         (_dl_map_object): Likewise.
20694         * elf/rtld.c (dl_main): Likewise.
20695         (process_dl_audit): Likewise.
20696         (process_envvars): Likewise.
20697         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
20698         Remove declaration.
20699         (__libc_enable_secure): Use rtld_hidden_proto.
20701 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20703         * elf/dl-load.c
20704         (add_path): New function broken out of _dl_rtld_di_serinfo.
20705         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
20707 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
20709         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
20710         parentheses around macro arguments.
20711         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
20712         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
20713         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
20714         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
20715         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
20716         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
20717         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
20718         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
20719         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
20720         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
20721         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
20722         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
20723         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
20724         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
20725         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
20726         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
20727         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
20728         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
20729         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
20730         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
20731         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
20732         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
20733         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
20734         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
20735         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
20736         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
20737         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
20738         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
20739         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
20740         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
20741         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
20742         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
20743         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
20744         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
20745         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
20746         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
20747         Likewise.
20748         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
20749         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
20750         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
20751         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
20752         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
20753         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
20754         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
20755         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
20756         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
20757         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
20758         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
20759         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
20760         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
20761         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
20762         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
20763         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
20764         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
20765         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
20766         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
20767         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
20768         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
20769         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
20770         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
20771         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
20772         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
20773         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
20774         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
20775         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
20776         (_FP_FRAC_SRS_1): Likewise.
20777         (_FP_FRAC_CLZ_1): Likewise.
20778         (_FP_MUL_MEAT_1_imm): Likewise.
20779         (_FP_MUL_MEAT_1_wide): Likewise.
20780         (_FP_MUL_MEAT_1_hard): Likewise.
20781         (_FP_SQRT_MEAT_1): Likewise.
20782         (_FP_FRAC_ASSEMBLE_1): Likewise.
20783         (_FP_FRAC_DISASSEMBLE_1): Likewise.
20784         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
20785         (__FP_CLZ_2): Likewise.
20786         (_FP_MUL_MEAT_2_wide): Likewise.
20787         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
20788         (_FP_MUL_MEAT_2_gmp): Likewise.
20789         (_FP_MUL_MEAT_2_120_240_double): Likewise.
20790         (_FP_SQRT_MEAT_2): Likewise.
20791         (_FP_FRAC_ASSEMBLE_2): Likewise.
20792         (_FP_FRAC_DISASSEMBLE_2): Likewise.
20793         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
20794         (_FP_FRAC_CLZ_4): Likewise.
20795         (_FP_MUL_MEAT_4_wide): Likewise.
20796         (_FP_MUL_MEAT_4_gmp): Likewise.
20797         (_FP_SQRT_MEAT_4): Likewise.
20798         (_FP_FRAC_ASSEMBLE_4): Likewise.
20799         (_FP_FRAC_DISASSEMBLE_4): Likewise.
20800         * soft-fp/op-common.h (_FP_CMP): Likewise.
20801         (_FP_CMP_EQ): Likewise.
20802         (_FP_CMP_UNORD): Likewise.
20803         (_FP_TO_INT): Likewise.
20804         (_FP_FROM_INT): Likewise.
20805         [!__FP_CLZ] (__FP_CLZ): Likewise.
20806         (_FP_DIV_HELP_imm): Likewise.
20807         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
20808         Likewise.
20809         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
20810         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
20811         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
20812         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
20813         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
20814         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
20815         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
20816         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
20817         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
20818         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
20819         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
20820         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
20821         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
20822         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
20823         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
20824         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
20825         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
20826         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
20827         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
20828         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
20829         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
20830         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
20831         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
20832         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
20833         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
20834         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
20835         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
20836         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
20837         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
20838         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
20839         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
20840         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
20841         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
20842         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
20843         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
20844         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
20845         (FP_UNPACK_RAW_SP): Likewise.
20846         (FP_PACK_RAW_S): Likewise.
20847         (FP_PACK_RAW_SP): Likewise.
20848         (FP_UNPACK_S): Likewise.
20849         (FP_UNPACK_SP): Likewise.
20850         (FP_UNPACK_SEMIRAW_S): Likewise.
20851         (FP_UNPACK_SEMIRAW_SP): Likewise.
20852         (FP_PACK_S): Likewise.
20853         (FP_PACK_SP): Likewise.
20854         (FP_PACK_SEMIRAW_S): Likewise.
20855         (FP_PACK_SEMIRAW_SP): Likewise.
20856         (_FP_SQRT_MEAT_S): Likewise.
20857         (FP_CMP_S): Likewise.
20858         (FP_CMP_EQ_S): Likewise.
20859         (FP_CMP_UNORD_S): Likewise.
20860         (FP_TO_INT_S): Likewise.
20861         (FP_FROM_INT_S): Likewise.
20863         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
20865         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
20866         (FP_EX_INVALID_IMZ): Likewise.
20867         (FP_EX_INVALID_IMZ_FMA): Likewise.
20868         (FP_EX_INVALID_ISI): Likewise.
20869         (FP_EX_INVALID_ZDZ): Likewise.
20870         (FP_EX_INVALID_IDI): Likewise.
20871         (FP_EX_INVALID_SQRT): Likewise.
20872         (FP_EX_INVALID_CVI): Likewise.
20873         (FP_EX_INVALID_VC): Likewise.
20874         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
20875         "invalid" exceptions.
20876         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
20877         (_FP_ADD_INTERNAL): Likewise.
20878         (_FP_MUL): Likewise.
20879         (_FP_FMA): Likewise.
20880         (_FP_DIV): Likewise.
20881         (_FP_CMP_CHECK_NAN): Likewise.
20882         (_FP_SQRT): Likewise.
20883         (_FP_TO_INT): Likewise.
20884         (FP_EXTEND): Likewise.
20886 2014-10-09  Allan McRae  <allan@archlinux.org>
20888         * po/fr.po: Update French translation from translation project.
20890 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
20892         [BZ #14132]
20893         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
20894         of INTDEF.
20895         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
20896         (__cxa_atexit): Use libc_hidden_proto.
20897         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
20899         [BZ #14132]
20900         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
20901         declaration.
20902         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
20903         [!_ISOMAC] (__iswspace_l_internal): Likewise.
20904         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
20905         [!_ISOMAC] (__iswctype_internal): Likewise.
20906         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
20907         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
20908         alias.
20909         (fcntl): Remove __fcntl_internal alias.
20910         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
20911         __connect_internal alias.
20912         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
20913         Likewise.
20915         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
20916         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
20917         FP_DENORM_ZERO.
20918         (_FP_CHECK_FLUSH_ZERO): New macro.
20919         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
20920         (_FP_CMP): Likewise.
20921         (_FP_CMP_EQ): Likewise.
20922         (_FP_TO_INT): Do not set inexact for subnormal arguments if
20923         FP_DENORM_ZERO.
20924         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
20925         (FP_TRUNC): Likewise.
20927         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
20928         treated as invalid conversion, not as normal exponent.
20930         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
20931         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
20932         (_FP_CMP_EQ): Likewise.
20933         (_FP_CMP_UNORD): Likewise.
20934         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
20935         (FP_CMP_EQ_D): Likewise.
20936         (FP_CMP_UNORD_D): Likewise.
20937         * soft-fp/extended.h (FP_CMP_E): Likewise.
20938         (FP_CMP_EQ_E): Likewise.
20939         (FP_CMP_UNORD_E): Likewise.
20940         * soft-fp/quad.h (FP_CMP_Q): Likewise.
20941         (FP_CMP_EQ_Q): Likewise.
20942         (FP_CMP_UNORD_Q): Likewise.
20943         * soft-fp/single.h (FP_CMP_S): Likewise.
20944         (FP_CMP_EQ_S): Likewise.
20945         (FP_CMP_UNORD_S): Likewise.
20946         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
20947         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
20948         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
20949         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
20950         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
20951         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
20952         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
20953         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
20954         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
20955         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
20956         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
20957         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
20958         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
20959         to FP_CMP_Q.
20960         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
20961         FP_CMP_Q.
20962         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
20963         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
20964         FP_CMP_EQ_Q.
20965         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
20966         FP_CMP_Q.
20967         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
20968         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
20969         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
20970         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
20971         FP_CMP_EQ_Q.
20972         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
20973         FP_CMP_Q.
20974         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
20975         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
20976         FP_CMP_EQ_Q.
20977         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
20978         FP_CMP_Q.
20979         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
20980         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
20981         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
20982         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
20983         FP_CMP_EQ_Q.
20985         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
20986         a subnormal result, set the underflow exception if trapping on
20987         underflow is enabled.
20988         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
20989         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
20990         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
20991         redefine to 0.
20992         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
20993         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
20994         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
20995         * soft-fp/extendxftf2.c (__extendxftf2): Use
20996         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
20998         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
20999         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
21000         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21001         FP_HANDLE_EXCEPTIONS.
21002         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
21003         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21004         FP_HANDLE_EXCEPTIONS.
21005         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
21006         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21007         FP_HANDLE_EXCEPTIONS.
21008         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
21009         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21010         FP_HANDLE_EXCEPTIONS.
21012 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
21014         [BZ #14132]
21015         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
21016         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
21017         use INTUSE.
21018         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
21019         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
21020         Remove alias.
21021         (__adjtimex): Define using libc_hidden_ver.
21022         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
21023         Remove declaration.
21024         (ntp_gettime): Call __adjtimex directly.
21025         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
21026         Remove declaration.
21027         (ntp_gettimex): Call __adjtimex directly.
21028         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
21029         __adjtimex_internal alias.
21031 2014-10-08  Roland McGrath  <roland@hack.frob.com>
21033         [BZ #17460]
21034         * nscd/nscd.c (more_help): Rewrite list of tables collection
21035         using xstrdup and asprintf.
21037         * nscd/nscd_conf.c: Remove local xstrdup declaration.
21039 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21040             Roland McGrath  <roland@hack.frob.com>
21042         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
21043         (do_lookup_unique): ... local function 'enter' here; update callers.
21045 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
21047         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
21048         compat_symbol calls on [SHARED].
21049         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
21050         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
21051         Remove.
21052         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21053         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
21054         (oldsetrlimit): Remove.
21055         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21057         (lchown): New syscall entry.
21058         (oldsetrlimit): Remove.
21059         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21060         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
21061         (oldsetrlimit): Remove.
21062         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21064         [BZ #14138]
21065         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
21066         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
21067         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
21068         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
21069         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21070         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
21071         (fchown): Likewise.
21072         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
21073         (fchown): Likewise.
21074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
21075         Likewise.
21077 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21079         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
21080         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
21081         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
21082         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
21083         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
21084         Likewise.
21085         (__old_sem_post): Likewise.
21087 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
21089         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
21090         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
21091         HAVE_CLOCK_GETTIME_VSYSCALL macros.
21092         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
21093         Use INLINE_VSYSCALL macro.
21094         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
21095         __vdso_clock_gettime.
21096         * sysdeps/unix/sysv/linux/tile/init-first.c
21097         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
21098         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
21099         __vdso_clock_gettime.
21101         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
21102         to set up frame more cleanly.
21104         * sysdeps/tile/memcmp.c: New file.
21106         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
21108         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
21109         * sysdeps/tile/tilegx/strcasestr.c: New file.
21110         * sysdeps/tile/tilegx/strnlen.c: New file.
21111         * sysdeps/tile/tilegx/strstr.c: New file.
21113         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
21115 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
21117         * nptl/tst-setuid3.c: Write errors to stdout.
21119 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21121         * elf/dl-deps.c
21122         (preload): New functions broken out of _dl_map_object_deps.
21123         (_dl_map_object_deps):  Remove a nested function. Update call sites.
21125 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
21127         [BZ #14138]
21128         * sysdeps/unix/sysv/linux/execve.c: Remove file.
21129         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
21131 2014-10-01  Steve Ellcey  <sellcey@mips.com>
21133         * sysdeps/mips/strcmp.S: New.
21135 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
21137         [BZ #14138]
21138         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
21139         (linkat): Likewise.
21140         (mkdirat): Likewise.
21141         (readlinkat): Likewise.
21142         (renameat): Likewise.
21143         (symlinkat): Likewise.
21144         (unlinkat): Likewise.
21145         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
21146         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
21147         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
21148         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
21149         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
21150         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
21151         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
21153 2014-09-30  Will Newton  <will.newton@linaro.org>
21155         * math/math.h: Define long double math functions if
21156         _LIBC_TEST is defined.
21157         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
21159         * localedata/Makefile: Move assignment to tests-special
21160         into an ifdef testing run-built-tests.
21161         * timezone/Makefile: Likewise.
21163 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
21165         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
21166         with $(BASH) not $(SHELL).
21168 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
21169             Matthew LeGendre  <legendre1@llnl.gov>
21171         [BZ #17411]
21172         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
21173         l_reloc_result.
21175 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21177         * stdio-common/printf_fp.c
21178         (hack_digit): New function, broken out of ...
21179         (__printf_fp): ... local function here.  Update call sites.
21180         hack_digit now takes an additional parameter that is a pointer
21181         to a struct of the referenced locals.  Those locals moved inside
21182         the struct and references updated.
21184 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
21186         * aclocal.m4: Require autoconf 2.69.
21187         * configure: Regenerated.
21188         * sysdeps/aarch64/configure: Likewise.
21189         * sysdeps/alpha/configure: Likewise.
21190         * sysdeps/arm/armv7/configure: Likewise.
21191         * sysdeps/arm/configure: Likewise.
21192         * sysdeps/ia64/configure: Likewise.
21193         * sysdeps/mach/configure: Likewise.
21194         * sysdeps/mips/configure: Likewise.
21195         * sysdeps/s390/configure: Likewise.
21196         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
21197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
21199         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
21200         file.
21201         * sysdeps/ia64/configure.ac: Likewise.
21203 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
21205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
21206         specify symbol version for ld.so.  Do not include entry for
21207         libpthread.
21208         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21209         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21210         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21212         [BZ #14171]
21213         * Makeconfig [$(build-shared) = yes]
21214         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
21215         makefiles.
21216         [$(build-shared) = yes && $(soversions.mk-done) = t]
21217         ($(common-objpfx)gnu/lib-names.h): Remove rule.
21218         [$(build-shared) = yes && $(soversions.mk-done) = t]
21219         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
21220         to Makerules.
21221         [$(build-shared) = yes && $(soversions.mk-done) = t]
21222         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
21223         here.
21224         [$(build-shared) = yes && $(soversions.mk-done) = t]
21225         (common-generated): Don't append gnu/lib-names.h and
21226         gnu/lib-names.stmp here.
21227         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
21228         (lib-names-h-abi): New variable.
21229         [$(build-shared) = yes && $(soversions.mk-done) = t]
21230         (lib-names-stmp-abi): Likewise.
21231         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21232         abi-variants] (before-compile): Append
21233         $(common-objpfx)$(lib-names-h-abi).
21234         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21235         abi-variants] (common-generated): Append gnu/lib-names.h.
21236         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21237         abi-variants] (install-others-nosubdir): Depend on
21238         $(inst_includedir)/$(lib-names-h-abi).
21239         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21240         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
21241         [$(build-shared) = yes && $(soversions.mk-done) = t]
21242         ($(common-objpfx)$(lib-names-h-abi)): New rule.
21243         [$(build-shared) = yes && $(soversions.mk-done) = t]
21244         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
21245         [$(build-shared) = yes && $(soversions.mk-done) = t]
21246         (common-generated): Append $(lib-names-h-abi) and
21247         $(lib-names-stmp-abi).
21248         * scripts/lib-names.awk: Do not handle multi being set.
21249         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
21250         Remove variable.
21251         (abi-lp64_be-ld-soname): Likewise.
21252         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
21253         Likewise.
21254         (abi-hard-ld-soname): Likewise.
21255         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
21256         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
21257         Remove variable.
21258         (abi-o32_hard-ld-soname): Likewise.
21259         (abi-o32_soft_2008-ld-soname): Likewise.
21260         (abi-o32_hard_2008-ld-soname): Likewise.
21261         (abi-n32_soft-ld-soname): Likewise.
21262         (abi-n32_hard-ld-soname): Likewise.
21263         (abi-n32_soft_2008-ld-soname): Likewise.
21264         (abi-n32_hard_2008-ld-soname): Likewise.
21265         (abi-n64_soft-ld-soname): Likewise.
21266         (abi-n64_hard-ld-soname): Likewise.
21267         (abi-n64_soft_2008-ld-soname): Likewise.
21268         (abi-n64_hard_2008-ld-soname): Likewise.
21269         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
21270         Likewise.
21271         (abi-64-v2-ld-soname): Likewise.
21272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
21273         ld.so entries.
21274         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
21275         variable.
21276         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
21277         entry.
21278         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
21279         variable.
21280         (abi-64-ld-soname): Likewise.
21281         (abi-x32-ld-soname): Likewise.
21282         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
21283         entry.
21284         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21286 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
21288         [BZ #14138]
21289         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
21290         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
21291         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
21292         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
21293         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
21294         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
21295         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
21296         syscall entry for GLIBC_2.2 symbol version.
21297         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
21298         Likewise.
21299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21300         (setrlimit): Likewise.
21301         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
21302         Likewise.
21304 2014-09-23  Will Newton  <will.newton@linaro.org>
21306         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
21307         _LINUX_ARM_SYSDEP_H include guard too.
21308         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
21309         define.
21311 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
21313         * sysdeps/unix/sysv/linux/eventfd.c:
21314         Make first argument unsigned.
21315         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
21316         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
21318 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
21320         * socket/recvmmsg.c (recvmmsg): Drop const argument.
21321         * socket/sys/socket.h: Likewise
21322         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
21324 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21326         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
21328 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
21330         * time/tst-ftime.c: New test.
21331         * time/Makefile (tests): Add tst-ftime.
21333 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
21335         * soft-fp/extended.h: Fix comment formatting.
21336         * soft-fp/op-1.h: Likewise.
21337         * soft-fp/op-2.h: Likewise.
21338         * soft-fp/op-4.h: Likewise.
21339         * soft-fp/op-8.h: Likewise.
21340         * soft-fp/op-common.h: Likewise.
21341         * soft-fp/soft-fp.h: Likewise.
21343         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
21345 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
21347         [BZ #6652]
21348         * Makeconfig (soversions-default-setname): Remove variable.
21349         ($(common-objpfx)soversions.i): Don't pass default_setname to
21350         soversions.awk.
21351         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
21352         oldest_abi to abi-versions.awk.
21353         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
21354         * config.make.in (oldest-abi): Remove variable.
21355         * configure.ac (--enable-oldest-abi): Remove configure option.
21356         * configure: Regenerated.
21357         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
21358         text.
21359         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
21360         * scripts/soversions.awk: Do not handle default_setname variable.
21361         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
21362         variable.
21363         * sysdeps/mach/hurd/configure: Regenerated.
21364         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
21365         variable.
21366         * sysdeps/unix/sysv/linux/configure: Regenerated.
21368 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21370         * elf/Makefile (CFLAGS-interp.c): Remove.
21371         ($(elf-objpfx)runtime-linker.h): Generate header with linker
21372         path string.
21373         * elf/interp.c: Include generated runtime-linker.h
21375         * Makerules (lib%.so): Don't include $(+interp) in
21376         prerequisites.
21377         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
21378         * dlfcn/eval.c: Remove file.
21380         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
21381         macros.
21383         [BZ #17266]
21384         * misc/sys/cdefs.h: Define __extern_always_inline for clang
21385         4.2 and newer.
21387         [BZ #17370]
21388         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
21390 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21391             Jakub Jelinek  <jakub@redhat.com>
21393         [BZ #17266]
21394         * libio/stdio.h: Check definition of __fortify_function
21395         instead of __extern_always_inline to include bits/stdio2.h.
21396         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
21397         check if __extern_always_inline is defined.
21398         [__USE_MISC || __USE_XOPEN]: Likewise.
21399         [__USE_ISOC99] Likewise.
21400         * misc/sys/cdefs.h (__fortify_function): Define only if
21401         __extern_always_inline is defined.
21402         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
21403         __extern_always_inline and __extern_inline only for g++-4.3
21404         and newer or a compatible gcc.
21406 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
21408         [BZ #17371]
21409         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21410         last change to handle zero prefix length.
21412 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21414         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
21415         _SC_REGEX_VERSION.
21417         * posix/getconf.c (vars): Add _POSIX_IPV6 and
21418         _POSIX_RAW_SOCKETS.
21420 2014-09-13  Allan McRae  <allan@archlinux.org>
21422         * po/ru.po: Update Russian translation from translation project.
21424 2014-09-12  Roland McGrath  <roland@hack.frob.com>
21426         * locale/programs/locale.c (show_locale_vars): Inline local function
21427         into its sole call site.  Clean up some style nits.
21428         (print_item): New function, broken out of ...
21429         (show_info): ... local function here.  Clean up style nits.
21431         * locale/programs/ld-ctype.c (set_one_default): New function, broken
21432         out of ...
21433         (set_class_defaults): ... local function set_default here.
21434         Define set_default as a macro locally to pass constant parameters.
21435         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
21436         rather than a shared local.
21438         * stdlib/rpmatch.c (try): New function, broken out of ...
21439         (rpmatch): ... local function here.  Also, prototypify definition.
21441 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
21443         * scripts/soversions.awk: Do not handle configuration names.
21444         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
21445         vendor and os variables to soversions.awk.
21446         * configure.ac: Do not modify gnu-* host_os.
21447         * configure: Regenerated
21448         * shlib-versions: Remove first column with configuration names.
21449         * nptl/shlib-versions: Likewise.
21450         * nptl_db/shlib-versions: Likewise.
21451         * sysdeps/hppa/shlib-versions: Likewise.
21452         * sysdeps/m68k/shlib-versions: Likewise.
21453         * sysdeps/mach/hurd/shlib-versions: Likewise.
21454         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
21455         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
21456         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
21457         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
21458         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
21459         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
21460         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
21461         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
21462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21463         Likewise.
21464         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21465         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21466         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21467         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21468         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21469         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
21470         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21471         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21474         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
21475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21476         Regenerated.
21477         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
21478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21479         Condition symbol version definitions on [HAVE_ELFV2_ABI].
21481         * shlib-versions: Remove OS-specific entries.  Moved to files in
21482         sysdeps.
21483         * sysdeps/mach/hurd/shlib-versions: New file.
21484         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21486         * nptl/shlib-versions: Remove architecture-specific entries.
21487         Moved to files in sysdeps.
21488         * shlib-versions: Likewise.
21489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
21490         file.
21491         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21492         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21493         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21494         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21496         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
21497         (UDP_NO_CHECK6_RX): Likewise.
21499 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21501         * sysdeps/posix/sysconf.c (__sysconf): Spell
21502         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
21504 2014-08-12  Florian Weimer  <fweimer@redhat.com>
21506         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
21507         loading.
21508         * iconv/Versions (__gconv_transliterate): Export for use from
21509         gconv modules.
21510         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
21511         (struct __gconv_trans_data, __gconv_trans_fct,
21512         __gconv_trans_context_fct, __gconv_trans_query_fct,
21513         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
21514         definitions.
21515         (struct __gconv_step_data): Remove __trans member.
21516         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
21517         longer hidden.  Remove unused trans_data argument.
21518         * iconv/gconv_int.h (struct trans_struct): Remove definition.
21519         (__gconv_translit_find): Remove declaration.
21520         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
21521         prototype.
21522         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
21523         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
21524         trans_data argument.  Add hidden definition.
21525         (__gconv_translit_find): Remove.
21526         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
21527         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
21528         * iconv/skeleton.c: Remove transliteration initialization.
21529         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
21530         __gconv_step_data initialization.
21531         * libio/iofwide.c (__libio_translit_): Remove.
21532         (_IO_fwide): Adjust struct __gconv_step_data initialization.
21533         * wcsmbs/btowc.c (__btowc): Likewise.
21534         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21535         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21536         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21537         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21538         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
21539         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21540         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21541         * wcsmbs/wctob.c (wctob): Likewise.
21543 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21545         [BZ #16194]
21546         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
21547         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
21548         register usage.
21549         * sysdeps/x86/Makefile: Adjust.
21551 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21552             Roland McGrath  <roland@hack.frob.com>
21554         * locale/weight.h: Add include guard.
21555         (findidx): Make static rather than auto; take new parameters
21556         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
21557         * locale/weightwc.h: Likewise.
21558         * posix/fnmatch_loop.c
21559         (FCT): Change type of EXTRA from int32_t to wint_t.
21560         Don't include either header inside the function.
21561         Call FINDIDX rather than findidx, and pass new arguments.
21562         #undef FINDIDX at the end of the file.
21563         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
21564         FINDIDX before including fnmatch_loop.c for the non-wide version.
21565         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
21566         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
21567         for the wide version.
21568         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
21569         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
21570         Pass new arguments to findidx.
21571         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
21572         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
21573         Don't #include it inside the function.  Pass new arguments to findidx.
21574         * posix/regex_internal.h
21575         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
21576         (re_string_elem_size_at): Don't #include it inside the function.
21577         Pass new arguments to findidx.
21578         * string/strcoll_l.c: #include WEIGHT_H at top level.
21579         (get_next_seq): Don't #include it inside the function.
21580         Pass new arguments to findidx.
21581         (get_next_seq_nocache): Likewise.
21582         * string/strxfrm_l.c: #include WEIGHT_H at top level.
21583         (STRXFRM): Don't #include it inside the function.
21584         Pass new arguments to findidx.
21586 2014-09-11  Florian Weimer  <fweimer@redhat.com>
21588         [BZ #17344]
21589         * malloc/malloc.c (unlink): Turn asserts into a call to
21590         malloc_printerr.
21592 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
21594         [BZ #17370]
21595         * libio/wfileops (do_ftell_wide): Free OUT.
21597 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
21599         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
21601 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21603         [BZ #17363]
21604         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
21605         group if the current group is empty.
21607 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21609         * benchtests/bench-memset.c (test_main): Add more test from size
21610         from 32 to 512 bytes.
21611         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21612         Add POWER8 memset object.
21613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21614         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
21615         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
21616         implementation.
21617         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
21618         Likewise.
21619         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
21620         multiarch POWER8 memset optimization.
21621         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
21622         POWER8 memset optimization.
21624         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21625         Remove bzero multiarch objects.
21626         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
21627         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
21628         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
21629         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
21630         Remove define.
21631         [__bzero]: Redefine to specific name.
21632         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
21633         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
21634         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
21635         define.
21636         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21637         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21639 2014-09-10  Florian Weimer  <fweimer@redhat.com>
21641         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
21642         warnings into errors.
21644         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
21645         __cxa_thread_atexit_impl prototype.
21647 2014-09-09  Steve Ellcey  <sellcey@mips.com>
21649         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
21650         Fix capitalization of error message.
21652 2014-09-09  Steve Ellcey  <sellcey@mips.com>
21654         * sysdeps/mips/preconfigure: Modify ABI tests.
21656 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
21658         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
21660 2014-09-07  Roland McGrath  <roland@hack.frob.com>
21661             Carlos O'Donell  <carlos@systemhalted.org>
21663         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
21664         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
21665         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
21666         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
21667         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
21668         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
21669         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
21670         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
21671         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
21672         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
21673         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
21674         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
21675         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
21676         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
21677         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
21678         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
21679         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
21680         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
21681         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
21682         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
21683         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
21684         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
21685         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
21686         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
21687         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
21688         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
21689         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
21690         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
21691         Deconditionalize the code that was previously under [RESET_PID].
21692         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
21693         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
21694         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
21695         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
21696         include sysdep.h.
21698 2014-09-08  Allan McRae  <allan@archlinux.org>
21700         * version.h (RELEASE): Set to "development".
21701         (VERSION): Set to "2.20.90"
21703 2014-09-07  Allan McRae  <allan@archlinux.org
21705         * version.h (RELEASE): Set to "stable".
21706         (VERSION): Set to "2.20"
21707         * include/features.h (__GLIBC_MINOR__): Set to 20.
21709         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
21710         Liebler.
21712         * po/ko.po: Update Korean translation from translation project.
21714 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
21716         [BZ #17354]
21717         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
21718         macro for handling signed relocations.
21720 2014-09-03  Florian Weimer  <fweimer@redhat.com>
21722         [BZ #17325]
21723         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
21724         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
21725         assert.
21726         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
21727         * iconvdata/ibm935.c (BODY): Likewise.
21728         * iconvdata/ibm937.c (BODY): Likewise.
21729         * iconvdata/ibm939.c (BODY): Likewise.
21730         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
21731         assert.
21732         * iconvdata/Makefile (iconv-test.out): Pass module list to test
21733         script.
21734         * iconvdata/run-iconv-test.sh: New test loop for checking for
21735         decoder crashers.
21737 2014-09-02  Khem Raj  <raj.khem@gmail.com>
21739         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
21740         libm_hidden_ver.
21742 2014-09-01  Allan McRae  <allan@archlinux.org>
21744         * po/eo.po: Update Esperanto translation from translation project.
21746         * po/ca.po: Update Catalan translation from translation project.
21748 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21750         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
21751         __proc_dostop call.
21753 2014-08-27  Mark Wielaard  <mjw@redhat.com>
21755         [BZ #17319]
21756         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
21757         to call set_thread_area instead of hand written asm.
21758         (__NR_set_thread_area): Removed define.
21759         (TLS_FLAG_WRITABLE): Likewise.
21760         (__ASSUME_SET_THREAD_AREA): Remove check.
21761         (TLS_EBX_ARG): Remove define.
21762         (TLS_LOAD_EBX): Likewise.
21764 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21766         Simplify atomicity of socket creation in bind.
21768         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
21769         looking up the name after linking the file.
21771 2014-08-27  Allan McRae  <allan@archlinux.org>
21773         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21775 2014-08-26  Florian Weimer  <fweimer@redhat.com>
21777         [BZ #17187]
21778         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
21779         trans_compare, open_translit, __gconv_translit_find):
21780         Remove module loading code.
21782 2014-08-26  Allan McRae  <allan@archlinux.org>
21784         * po/vi.po: Update Vietnamese translation from translation project.
21786         * po/uk.po: Update Ukrainian translation from translation project.
21788         * po/fr.po: Update French translation from translation project.
21790         * po/ru.po: Update Russian translation from translation project.
21792         * po/pl.po: Update Polish translation from translation project.
21794         * po/cs.po: Update Czech translation from translation project.
21796         * po/de.po: Update German translation from translation project.
21798         * po/bg.po: Update Bulgarian translation from translation project.
21800         * po/sv.po: Update Sweedish translation from translation project.
21802         * po/nl.po: Update Dutch translation from translation project.
21804         * po/es.po: Update Spanish translation from translation project.
21806 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21808         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
21810         * catgets/Makefile (CPPFLAGS-gencat): Remove.
21811         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
21812         (CPPFLAGS-iconvconfig): Likewise.
21813         * timezone/Makefile (CPPFLAGS-zic): Likewise.
21815         * include/libc-symbols.h: Remove unnecessary check for
21816         NOT_IN_libc.
21817         * nptl/pthreadP.h: Likewise.
21818         * sysdeps/aarch64/setjmp.S: Likewise.
21819         * sysdeps/alpha/setjmp.S: Likewise.
21820         * sysdeps/arm/sysdep.h: Likewise.
21821         * sysdeps/i386/setjmp.S: Likewise.
21822         * sysdeps/m68k/setjmp.c: Likewise.
21823         * sysdeps/posix/getcwd.c: Likewise.
21824         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21825         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
21826         * sysdeps/s390/s390-32/setjmp.S: Likewise.
21827         * sysdeps/s390/s390-64/setjmp.S: Likewise.
21828         * sysdeps/sh/sh3/setjmp.S: Likewise.
21829         * sysdeps/sh/sh4/setjmp.S: Likewise.
21830         * sysdeps/unix/alpha/sysdep.h: Likewise.
21831         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21832         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21833         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
21834         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21837         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21838         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21839         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21840         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21841         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21842         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21843         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21844         * sysdeps/x86_64/setjmp.S: Likewise.
21846 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
21848         [BZ #17263]
21849         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
21850         <stdint.h>.
21851         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
21852         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
21854 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21856         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
21858         [BZ #17262]
21859         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
21860         and __x86_64__ when disabling x87 inline functions.
21862 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
21864         [BZ #17259]
21865         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
21866         asm statement with __cpuid_count.
21868 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
21870         * configure.ac: Change __ehdr_start code to dereference the struct.
21871         Run readelf on the output to look for relocations.
21872         * configure: Regenerated.
21874 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
21876         [BZ #17261]
21877         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
21878         value to 0.
21879         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
21881 2014-08-12  Roland McGrath  <roland@hack.frob.com>
21883         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
21885 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
21887         [BZ #16892]
21888         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
21889         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
21891 2014-08-12  Sean Anderson  <seanga2@gmail.com>
21893         * malloc/malloc.c: Fix typo in comment.
21895 2014-08-09  Allan McRae  <allan@archlinux.org>
21897         * Regenerate libc.po.
21899 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
21901         * intl/tst-gettext2.sh: Check every lang file for creation.
21903 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
21905         * sysdeps/aarch64/fpu/math_private.h
21906         (libc_feholdsetround_noex_aarch64_ctx): New function.
21908 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
21910         * sysdeps/arm/armv6/strcpy.S (strcpy):
21911         Fix performance issue in misaligned cases.
21913 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21915         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
21916         Move definition from termios.h.
21917         (struct termio): Likewise.
21918         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21919         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
21920         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
21921         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
21922         Likewise.
21923         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
21924         Move definition to ioctl-types.h
21925         (struct termio): Likewise.
21926         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21927         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
21928         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
21929         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
21930         Likewise.
21932 2014-08-05  Richard Henderson  <rth@redhat.com>
21934         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
21935         exceptions.
21936         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
21937         Add fraiseexcpt.
21938         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
21939         Use __feraiseexcept.
21940         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
21941         Protect libm symbols with IS_IN_libm.
21943         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
21945 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
21947         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
21949 2014-08-04  Will Newton  <will.newton@linaro.org>
21951         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
21952         file.
21954 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
21956         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
21957         variants for each function.
21959 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21961         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
21962         appended ...
21963         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
21964         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
21965         appended ...
21966         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
21967         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
21968         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
21969         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
21970         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
21971         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
21972         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
21973         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
21974         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
21975         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
21976         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
21977         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
21978         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
21979         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
21980         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
21981         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
21982         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
21983         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
21984         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
21985         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
21986         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
21987         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
21988         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
21989         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
21990         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
21991         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
21992         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
21993         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
21994         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
21995         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
21996         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
21997         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
21998         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
21999         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
22000         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
22001         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
22002         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
22003         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
22004         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
22005         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
22006         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
22007         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
22008         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
22009         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
22010         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
22011         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
22012         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
22013         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
22014         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
22015         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
22016         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
22017         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
22018         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
22019         Update #include.
22020         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
22021         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
22023 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22025         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
22026         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
22027         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
22028         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
22029         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
22030         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
22032 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22034         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
22035         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
22036         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22037         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
22039 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22041         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
22042         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
22043         (__libc_vfork): Define function under this name.
22044         (__vfork): Define as an alias.
22045         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
22046         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
22048 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22050         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
22051         that was previously under [RESET_PID].
22052         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
22054 2014-08-04  Andreas Schwab  <schwab@suse.de>
22056         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
22058 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
22060         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
22061         (main): Likewise.
22063 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22065         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
22067 2014-08-01  Richard Henderon  <rth@redhat.com>
22069         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
22070         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
22071         typo in exact zero test.
22072         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22073         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22074         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22076 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22078         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
22079         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
22080         * sysdeps/arm/sysdep.h: ... here.
22081         [!__ASSEMBLER__]: Include <stdint.h>.
22083 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22085         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
22086         (HAVE_WCTYPE_H): Likewise.
22087         (HAVE_ISWCTYPE): Likewise.
22088         (ENABLE_NLS): Likewise.
22089         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
22090         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
22092         * posix/regex_internal.c: Check if DEBUG is defined and is
22093         set.
22095         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
22096         (HAVE_MBSRTOWCS): Likewise.
22097         * posix/fnmatch.c: Include string.h unconditionally.
22099 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22101         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
22102         reversal.
22104 2014-07-31  Roland McGrath  <roland@hack.frob.com>
22106         * sysdeps/generic/safe-fatal.h: New file.
22107         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
22108         * nptl/forward.c: Include it.
22109         (__pthread_unwind): Use __safe_fatal as default action, rather
22110         than a bogus use of INTERNAL_SYSCALL that could never work.
22112         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
22113         * configure.ac (libc_cv_builtin_trap): New test.
22114         * configure: Regenerated.
22115         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
22116         (ABORT_INSTRUCTION): Define using __builtin_trap.
22118         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
22119         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
22120         * sysdeps/nptl/nptl-signals.h: New file.
22121         * nptl/pthreadP.h: Include <nptl-signals.h>.
22123 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22125         * sysdeps/s390/s390-64/utf16-utf32-z9.c
22126         (ONE_DIRECTION): Define.
22127         * sysdeps/s390/s390-64/utf8-utf16-z9.c
22128         (ONE_DIRECTION): Define.
22129         * sysdeps/s390/s390-64/utf8-utf32-z9.c
22130         (ONE_DIRECTION): Define.
22132 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22134         * sysdeps/s390/Makefile: Delete file.
22135         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
22136         * sysdeps/s390/__longjmp.c: Delete file.
22137         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
22138         Remove fields __flags and __reserved.
22139         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
22140         and add versioning.
22141         * sysdeps/s390/rtld-__longjmp.c: Delete file.
22142         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
22143         * sysdeps/s390/rtld-setjmp.S: Likewise.
22144         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
22145         * sysdeps/s390/s390-32/__longjmp.c: ... here.
22146         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
22147         * sysdeps/s390/s390-32/setjmp.S: ... here.
22148         Add versioning.
22149         (__sigsetjmp): Remove setting __flags field.
22150         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
22151         * sysdeps/s390/s390-64/__longjmp.c: ... here.
22152         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
22153         * sysdeps/s390/s390-64/setjmp.S: ... here.
22154         Add versioning.
22155         (__sigsetjmp): Remove setting __flags field.
22156         * sysdeps/s390/setjmp.S: Delete file.
22157         * sysdeps/s390/sigjmp.c: Likewise.
22158         * sysdeps/s390/v1-longjmp.c: Likewise.
22159         * sysdeps/s390/v1-setjmp.h: Likewise.
22160         * sysdeps/s390/v1-sigjmp.c: Likewise.
22161         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
22162         Remove v1-longjmp_chk.
22163         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
22164         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
22165         Include debug/longjmp_chk.c and add versioning.
22166         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
22167         Include nptl/pt-longjmp.c and add versioning.
22168         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
22169         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
22170         Include __longjmp.c.
22171         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22172         Move to ...
22173         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
22174         (__getcontext): Remove setting __flags field.
22175         Add versioning.
22176         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22177         Don't restore upper high grps.
22178         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
22179         Likewise.
22180         (__swapcontext): Remove setting uc_flags field.
22181         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
22182         Delete file.
22183         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22184         Include __longjmp.c.
22185         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22186         Move to ...
22187         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
22188         (__getcontext): Remove setting __flags field.
22189         Add versioning.
22190         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
22191         (__swapcontext): Remove setting uc_flags field.
22192         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
22193         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
22194         Remove fields uc_high_gprs and __reserved.
22195         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
22196         New file with reverted content.
22197         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
22198         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
22199         Regenerated.
22200         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
22201         Regenerated.
22203 2014-07-31  Andreas Schwab  <schwab@suse.de>
22205         * config.h.in (HAVE_IFUNC): Define to 0.
22206         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
22207         definedness.
22209 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
22211         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22212         memmove-avx-unaligned, memcpy-avx-unaligned and
22213         mempcpy-avx-unaligned.
22214         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22215         Add tests for AVX memcpy functions.
22216         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
22217         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
22218         memcpy_chk.
22219         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
22220         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
22221         memmove_chk.
22222         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
22223         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
22224         mempcpy_chk.
22225         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
22226         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
22227         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
22229 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22231         [BZ #17213]
22232         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
22233         powerpc64le.
22235 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
22237         [BZ #16839]
22238         * manual/llio.texi: Add section about open file description locks.
22239         * manual/examples/ofdlocks.c: Example of open file description
22240         lock usage.
22241         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
22242         F_OFD_SETLK, and F_OFD_SETLKW.
22244 2014-07-23  Allan McRae  <allan@archlinux.org>
22246         * po/es.po: Update Spanish translation from translation project.
22248 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
22250         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
22252 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
22254         [BZ #17078]
22255         * sysdeps/arm/dl-machine.h (elf_machine_rela)
22256         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
22257         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
22259 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
22261         [BZ #17088]
22262         * math/fesetenv.c (__fesetenv)
22263         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
22264         * math/feupdateenv.c (__feupdateenv)
22265         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
22267         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
22268         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22269         (__ASSUME_SOCKETCALL): Do not define.
22271         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
22272         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
22273         (__ASSUME_SOCKETCALL): Do not define.
22274         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
22275         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22276         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22277         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22278         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22279         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
22280         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22281         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22283         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
22284         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
22285         (__ASSUME_SOCKETCALL): Do not define.
22286         (__ASSUME_IPC64): Define unconditionally.
22287         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22288         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22289         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22290         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22291         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
22292         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22293         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
22294         Likewise.
22296         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
22297         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
22298         (__ASSUME_SOCKETCALL): Do not define.
22299         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
22300         (__ASSUME_FUTEX_LOCK_PI): Likewise.
22301         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22302         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22303         (__ASSUME_REQUEUE_PI): Define unconditionally.
22304         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
22305         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22306         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22307         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
22308         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22309         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22311         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
22312         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
22313         (__ASSUME_SOCKETCALL): Do not define.
22314         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
22315         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22316         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22317         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
22318         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22319         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22321         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
22322         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
22323         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22324         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
22325         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22326         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
22327         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22328         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
22329         (__ASSUME_GETCPU_SYSCALL): Likewise.
22331         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
22332         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
22333         cases for individual architectures.
22334         * sysdeps/gnu/configure: Regenerated.
22335         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
22336         LIBC_SLIBDIR_RTLDDIR.
22337         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
22338         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
22339         LIBC_SLIBDIR_RTLDDIR.
22340         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
22341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
22342         LIBC_SLIBDIR_RTLDDIR.
22343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22344         Regenerated.
22345         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
22346         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
22347         file.
22348         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
22349         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
22350         file.
22351         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
22352         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
22353         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
22354         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
22356         * sysdeps/aarch64/shlib-versions: Move to ...
22357         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
22358         * sysdeps/alpha/shlib-versions: Move to ...
22359         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
22360         * sysdeps/arm/shlib-versions: Move to ...
22361         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
22362         * sysdeps/hppa/shlib-versions: Move all contents except for
22363         libgcc_s entry to ...
22364         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
22365         entry from ...
22366         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
22367         * sysdeps/ia64/shlib-versions: Move to ...
22368         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
22369         entry from ...
22370         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
22371         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
22372         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
22373         * sysdeps/microblaze/shlib-versions: Move to ...
22374         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
22375         * sysdeps/mips/shlib-versions: Move to ...
22376         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
22377         entry from ...
22378         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
22379         * sysdeps/tile/shlib-versions: Move to ...
22380         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
22381         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
22382         from ...
22383         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
22384         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
22385         entry from ...
22386         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
22388 2014-07-17  Will Newton  <will.newton@linaro.org>
22390         * sysdeps/arm/bits/atomic.h
22391         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
22392         (__arch_compare_and_exchange_bool_16_int): Likewise.
22393         (__arch_compare_and_exchange_bool_64_int): Likewise.
22395         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
22396         into an #else block.
22398 2014-07-16  Roland McGrath  <roland@hack.frob.com>
22400         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
22401         just Linux configurations.  Test empirically that the compiler sets
22402         __ARM_EABI__, rather than using the tuple to decide.
22403         * sysdeps/arm/preconfigure: Regenerated.
22404         * sysdeps/unix/sysv/linux/arm/configure: File removed.
22405         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
22406         contents appended ...
22407         * sysdeps/arm/configure.ac: ... here.
22408         * sysdeps/arm/configure: Regenerated.
22410 2014-07-15  Roland McGrath  <roland@hack.frob.com>
22412         * nptl/pthread_kill.c: New file.
22413         * nptl/pthread_sigmask.c: New file.
22414         * nptl/pthread_sigqueue.c: New file.
22416         * sysdeps/nptl/lowlevellock.h: New file.
22417         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
22418         * sysdeps/nptl/lowlevellock-futex.h: New file.
22420         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
22421         Remove dead declarations.
22423 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
22425         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
22426         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
22427         config-cflags-avx2.
22428         * sysdeps/x86_64/configure.ac: Likewise.
22429         * sysdeps/i386/configure: Regenerated.
22430         * sysdeps/x86_64/configure: Likewise.
22431         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22432         memset-avx2 only if config-cflags-avx2 is yes.
22433         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22434         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
22435         defined.
22436         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
22437         only if HAVE_AVX2_SUPPORT is defined.
22438         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22440 2014-07-14  Alan Modra  <amodra@gmail.com>
22442         [BZ #17153]
22443         * elf/elf.h (DT_PPC64_NUM): Correct value.
22444         * NEWS: Add to fixed bug list.
22446 2014-07-13  Jim Meyering  <meyering@fb.com>
22448         [BZ 17150]
22449         regex: don't deref NULL upon heap allocation failure
22450         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
22451         failure in one more place.
22452         To trigger the segfault, configure grep -with-included-regex,
22453         build it, and run these commands:
22454         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
22456 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
22458         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22460 2014-07-11  Richard Henderson  <rth@redhat.com>
22462         * sysdeps/aarch64/libm-test-ulps: Update.
22464 2014-07-10  Florian Weimer  <fweimer@redhat.com>
22466         [BZ #17135]
22467         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
22468         * nptl/allocatestack.c (__nptl_setxid_error): New function.
22469         (__nptl_setxid): Initialize error member.  Call
22470         __nptl_setxid_error.
22471         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
22472         * nptl/descr.h (struct xid_command): Add error member.
22473         * nptl/tst-setuid3.c: New file.
22474         * nptl/Makefile (tests): Add it.
22476 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22478         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
22479         New define.
22480         (__lll_trylock): Use __lll_base_trylock.
22481         (__lll_cond_trylock): Likewise.
22483 2014-07-10  Roland McGrath  <roland@hack.frob.com>
22485         * nptl/pthread_create.c (start_thread): Use atomic_or and
22486         lll_futex_wake directly rather than lll_robust_dead.
22487         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22488         (lll_robust_dead): Macro removed.
22489         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
22490         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22491         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22492         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22493         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22494         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22495         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22496         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22497         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22498         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22499         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22500         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22501         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22502         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22503         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22505         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
22506         Use atomic_compare_and_exchange_val_acq directly rather than
22507         lll_robust_trylock.
22508         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22509         (__lll_robust_trylock, lll_robust_trylock): Removed.
22510         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22511         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22512         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22513         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22514         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22515         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22516         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22517         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22518         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22519         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22520         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22521         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22522         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22523         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22525 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22527         * manual/locale.texi (Locale Names): New section documenting
22528         locale name syntax.  Adjust menu and node chaining accordingly.
22529         (Choosing Locale): Reference Locale Names, Locale Categories.
22530         Mention setting LC_ALL=C.  Reflect that name syntax is now
22531         documented.
22532         (Locale Categories): New section title.  Reference Locale Names.
22533         LC_ALL is an environment variable, but not a category.
22534         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
22535         description, now in Locale Name.  Reference that section.  Locale
22536         name syntax is now documented.
22538 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22540         [BZ #17137]
22541         * locale/findlocale.c (name_present, valid_locale_name): New
22542         functions.
22543         (_nl_find_locale): Use the loc_name variable to store name
22544         candidates.  Call name_present and valid_locale_name to check and
22545         validate locale names.  Return an error if the locale is invalid.
22547 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22549         * locale/setlocale.c (setlocale): Use strdup for allocating
22550         composite name copy.
22552 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22554         Sync up with gnulib.
22555         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
22556         [!_LIBC && ENABLE_NLS]: Include gettext.h.
22557         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
22558         and _GL_ARG_NONNULL.
22559         [USE_UNLOCKED_IO]: Include unlocked-io.h.
22560         [!_LIBC]: Include code for Windows and Cygwin.
22561         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
22562         Include prototype for int strerror_r.
22563         [!_LIBC] (is_open): New function.
22564         (flush_stdout): New function.
22565         (print_errno_message): Use it.
22566         (error): Likewise.
22567         (error_at_line): Likewise.
22568         (error_tail) Add function attribute macros.  Use
22569         __builtin_expect.
22571         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
22573         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
22575         * io/ftw.c: Include sys/param.h unconditionally.
22577         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
22579         [BZ #17125]
22580         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
22581         libc_freeres_ptr.
22582         (freecache): New function to free CACHE on exit.
22584         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
22585         initialization.
22587 2014-07-09  David S. Miller  <davem@davemloft.net>
22589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22591         * sysdeps/sparc/nptl/internaltypes.h: Delete.
22592         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
22593         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
22594         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
22595         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
22596         * sysdeps/sparc/nptl/sem_init.c: Likewise.
22597         * sysdeps/sparc/nptl/sem_post.c: Likewise.
22598         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
22599         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
22600         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
22601         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
22602         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
22603         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
22605 2014-07-09  Andreas Schwab  <schwab@suse.de>
22607         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
22608         output.
22609         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
22610         (do_test): Likewise.
22612         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22614 2014-07-09  Will Newton  <will.newton@linaro.org>
22616         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
22617         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
22618         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
22619         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
22620         * sysdeps/hppa/start.S (_start): Likewise.
22622 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22624         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
22626         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
22627         defined.
22629 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22631         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
22632         after checking that it is non-NULL.
22634         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
22636 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22638         * sysdeps/powerpc/memmove.c: Remove file.
22639         * sysdeps/powerpc/powerpc32/power4/memcopy.h
22640         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
22641         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22642         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
22643         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
22644         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
22645         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
22646         string memmove instead of removed powerpc one.
22648         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22649         [weak_alias]: Fix compiler warning due trailing data.
22650         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
22651         [weak_alias]: Likewise.
22652         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
22653         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
22655         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22656         (__libc_ifunc_impl_list): Add memmove functions.
22658 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22660         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
22661         Remove code.
22662         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
22663         Likewise
22664         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
22665         Likewise
22666         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
22667         Likewise
22668         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
22669         Likewise
22670         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
22671         Likewise
22672         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
22673         Likewise
22674         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
22675         Likewise
22676         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
22677         Likewise
22678         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
22679         Likewise
22680         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
22681         Likewise
22682         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
22683         Likewise
22684         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
22685         Likewise
22686         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
22687         Likewise
22688         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
22689         Likewise
22690         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
22691         Likewise
22692         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
22693         Likewise
22695 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22697         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
22698         to avoid alignment traps in non-cacheable memory.
22699         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22701         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
22702         multiarch objects.
22703         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
22704         file: multiarch power7 memmove.
22705         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
22706         multiarch default memmove.
22707         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
22708         multiarch memove for powerpc32/power4.
22710         * string/bcopy.c: Use full path to include memmove.c.
22711         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
22712         multiarch objects.
22713         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
22714         bcopy for powerpc64.
22715         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
22716         bcopy for powerpc64.
22717         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
22718         and memmove implementations.
22719         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
22720         optimized multiarch memmove for POWER7/powerpc64.
22721         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
22722         default multiarch memmove for powerpc64.
22723         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
22724         multiarch for powerpc64.
22725         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
22726         for POWER7/powerpc64.
22727         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
22728         memmove for POWER7/powerpc64.
22730         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
22731         glibc default one.
22733         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
22734         __ELF_NATIVE_CLASS equal to 64.
22736 2014-07-07  Roland McGrath  <roland@hack.frob.com>
22738         * sysdeps/nptl/lowlevellock.h: File removed.
22740         * NEWS: NPTL is no longer an add-on!
22741         * nptl/internaltypes.h: Moved ...
22742         * sysdeps/nptl/internaltypes.h: ... here.
22743         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
22744         * sysdeps/nptl/fork.c: Likewise.
22745         * sysdeps/nptl/gai_misc.h: Likewise.
22746         * sysdeps/nptl/librt-cancellation.c: Likewise.
22747         * sysdeps/nptl/jmp-unwind.c: Likewise.
22748         * sysdeps/nptl/setxid.h: Likewise.
22749         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
22750         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
22751         * sysdeps/unix/sysv/linux/arm/Implies: New file.
22752         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
22753         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
22754         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
22755         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
22756         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
22757         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
22758         * sysdeps/unix/sysv/linux/mips/Implies: New file.
22759         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
22760         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
22761         * sysdeps/unix/sysv/linux/sh/Implies: New file.
22762         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
22763         * sysdeps/unix/sysv/linux/tile/Implies: New file.
22764         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
22765         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
22766         * nptl/Makeconfig: Moved ...
22767         * sysdeps/nptl/Makeconfig: ... here.
22768         * nptl/configure: File removed.
22769         * nptl/ANNOUNCE: File removed.
22770         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
22771         * sysdeps/unix/sysv/linux/configure: Regenerated.
22773         * nptl/Makefile (routines): Add libc_pthread_init,
22774         libc_multiple_threads, register-atfork and unregister-atfork.
22775         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
22776         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
22777         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
22778         pthread-pi-defines.sym, structsem.sym.
22779         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
22780         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
22781         [$(subdir) = nptl] (tests): Add tst-setgetname.
22782         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
22783         * sysdeps/unix/sysv/linux/sigaction.c: Just include
22784         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
22785         [!LIBC_SIGACTION]: Remove aliases.
22786         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22787         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22788         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
22789         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
22790         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
22791         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
22792         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22793         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22794         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
22795         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
22796         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
22797         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
22798         __libc_allocate_rtsig_private.
22799         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
22800         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
22801         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22802         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22803         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
22804         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
22805         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
22806         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
22807         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
22808         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
22809         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
22810         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
22811         * nptl/internaltypes.h: ... here.
22812         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
22813         * sysdeps/nptl/jmp-unwind.c: ... here.
22814         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
22815         * nptl/libc-lowlevellock.c: ... here.
22816         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
22817         * nptl/libc_multiple_threads.c: ... here.
22818         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
22819         * nptl/libc_pthread_init.c: ... here.
22820         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
22821         * nptl/lowlevelbarrier.sym: ... here.
22822         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
22823         * nptl/lowlevelcond.sym: ... here.
22824         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
22825         * nptl/lowlevellock.c: ... here.
22826         * nptl/lowlevellock.h: Moved ...
22827         * sysdeps/nptl/lowlevellock.h: ... here.
22828         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
22829         * nptl/lowlevelrobustlock.c: ... here.
22830         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
22831         * nptl/lowlevelrobustlock.sym: ... here.
22832         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
22833         * nptl/lowlevelrwlock.sym: ... here.
22834         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
22835         * nptl/pt-fork.c: ... here.
22836         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
22837         * nptl/pthread-pi-defines.sym: ... here.
22838         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
22839         * nptl/pthread_attr_getaffinity.c: ... here.
22840         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
22841         * nptl/pthread_attr_setaffinity.c: ... here.
22842         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
22843         * nptl/pthread_mutex_cond_lock.c: ... here.
22844         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22845         Update #include.
22846         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
22847         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
22848         * nptl/pthread_once.c: ... here, replacing old file.
22849         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
22850         * nptl/pthread_yield.c: ... here.
22851         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
22852         * nptl/register-atfork.c: ... here.
22853         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
22854         * nptl/sem_post.c: ... here.
22855         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
22856         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
22857         * nptl/sem_timedwait.c: ... here.
22858         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
22859         * nptl/sem_trywait.c: ... here.
22860         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
22861         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
22862         * nptl/sem_wait.c: ... here.
22863         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
22864         * nptl/structsem.sym: ... here.
22865         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
22866         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
22867         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
22868         * nptl/unregister-atfork.c: ... here.
22869         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
22870         * nptl/unwindbuf.sym: ... here.
22871         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
22872         * sysdeps/nptl/fork.c: ... here.
22873         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
22874         * sysdeps/nptl/fork.h: ... here.
22875         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
22876         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
22877         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
22878         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
22879         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
22880         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
22881         * sysdeps/unix/sysv/linux/getpid.c: ... here.
22882         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
22883         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
22884         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
22885         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
22886         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
22887         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
22888         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
22889         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
22890         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
22891         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
22892         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
22893         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
22894         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
22895         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
22896         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
22897         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
22898         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
22899         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
22900         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
22901         * sysdeps/unix/sysv/linux/raise.c: ... here.
22902         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
22903         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
22904         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
22905         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
22906         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
22907         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
22908         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
22909         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
22910         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
22911         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
22912         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
22913         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
22914         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
22915         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
22916         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
22918 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22920         * sysdeps/generic/memcopy.h: Add comment for
22921         MEMCPY_OK_FOR_FWD_MEMMOVE.
22923 2014-07-04  Will Newton  <will.newton@linaro.org>
22925         * string/memchr.c: Merge from gnulib.
22926         [_LIBC]: Remove conditionals.
22927         (__ptr_t): Remove define.
22928         (LONG_MAX_32_BITS): Likewise.
22929         (LONG_MAX): Likewise.
22930         (MEMCHR): Use ANSI prototype and optimize algorithm.
22932         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
22934 2014-07-03  Roland McGrath  <roland@hack.frob.com>
22936         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
22937         (lll_futex_timed_wait_bitset): Fix syscall argument count.
22939         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
22940         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
22941         in a bare environment with no <stdlib.h> installed.
22942         * sysdeps/nptl/configure: Regenerated.
22944         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
22946         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
22947         AC_EGREP_CPP for kernel header checks, so they only succeed if
22948         including <linux/version.h> actually works right.
22949         * sysdeps/unix/sysv/linux/configure: Regenerated.
22951         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
22952         value so it's not diagnosed as unused.
22954         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
22955         thing) with "ifeq ($(subdir),rt)".
22957 2014-07-03  Richard Henderson  <rth@redhat.com>
22959         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
22960         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
22961         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
22963         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
22964         (math_force_eval): New.
22966         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
22967         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
22969         * sysdeps/alpha/fpu/s_round.c: Remove file.
22970         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
22972         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
22973         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
22974         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
22975         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
22976         (_dl_start, print_statistics): Likewise.
22977         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
22978         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
22980         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22981         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22982         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22983         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22984         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22985         (HP_SMALL_TIMING_AVAIL): Define.
22986         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22987         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
22988         (HP_SMALL_TIMING_AVAIL): Define.
22989         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22990         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22992         * sysdeps/aarch64/hp-timing.h: New file.
22994         * sysdeps/generic/hp-timing.h: Remove dead comment.
22995         * sysdeps/generic/hp-timing-common.h: New file.
22996         * sysdeps/alpha/hp-timing.h: Include it.
22997         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
22998         * sysdeps/i386/i686/hp-timing.h: Likewise.
22999         * sysdeps/ia64/hp-timing.h: Likewise.
23000         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23001         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23002         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23003         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23004         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
23005         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
23006         (hp_timing_t): New.
23008         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
23009         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
23010         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
23011         * elf/rtld.c (_dl_start_final): Likewise.
23012         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
23013         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23014         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23015         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23016         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23017         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23018         (HP_TIMING_DIFF_INIT): Remove.
23019         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23020         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23021         (HP_TIMING_DIFF_INIT): Remove.
23022         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23023         * sysdeps/i386/i686/hp-timing.c: Remove file.
23024         * sysdeps/x86_64/hp-timing.c: Remove file.
23025         * sysdeps/ia64/hp-timing.c: Remove file.
23026         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
23027         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
23028         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
23029         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
23031         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
23032         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
23033         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
23034         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23035         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23036         (HP_TIMING_ACCUM): Remove.
23037         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23038         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
23039         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23041         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
23042         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
23043         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
23044         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
23045         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
23046         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23047         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
23048         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23050         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
23052 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
23054         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
23056 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23058         Sync up with gettext.
23059         * intl/loadmsgcat.c: Define O_BINARY if not defined.
23060         [_MSC_VER]: Include malloc.h
23061         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
23062         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
23063         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
23064         TEMP_FAILURE_RETRY.  Cast return of alloca.
23065         [!_LIBC] Call gl_rwlock_init.
23066         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
23068 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23070         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
23071         before checking its value.
23073 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23075         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
23077         * debug/memcpy_chk.c: Don't include pagecopy.h.
23078         * debug/mempcpy_chk.c: Likewise.
23079         * string/memcpy.c: Likewise.
23080         * string/memmove.c: Likewise.
23081         * sysdeps/powerpc/memmove.c: Likewise.
23082         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
23083         definition of PAGE_COPY_FWD_MAYBE here...
23084         * sysdeps/generic/pagecopy.h: ... from here.
23085         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
23087 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23088             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23090         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
23091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
23092         optimizations.
23093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23094         (__libc_ifunc_impl_list): Likewise.
23095         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
23096         multiarch strcat for PPC64.
23097         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
23098         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
23100 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23102         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
23104 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23106         * intl/loadmsgcat.c: Remove declaration of
23107         get_sysdep_segment_value.
23108         (get_sysdep_segment_value): Use ISO C style.
23109         (_nl_load_domain): Use ISO C style.  Get rid of redundant
23110         semicolon.  Fix typo and formatting in comment.
23111         (_nl_unload_domain): Use ISO C style.
23113         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
23115 2014-07-02  Will Newton  <will.newton@linaro.org>
23117         * malloc/obstack.c: Merge from gnulib master.
23118         [HAVE_CONFIG_H]: Remove conditional code.
23119         [!_LIBC]: Include config.h.
23120         [!ELIDE_CODE]: Don't include inttypes.h, include
23121         stdint.h unconditionally.
23122         (print_and_abort): Mark as _Noreturn.
23123         (_obstack_allocated_p): Mark as __attribute_pure__.
23124         (obstack_free): Rename to __obstack_free.
23125         [!__attribute__]: Remove conditional code.
23126         * malloc/obstack.h: Merge from gnulib master.
23127         [__cplusplus]: Move conditional down.
23128         [!__attribute_pure__]: Define __attribute_pure__ here
23129         if it is not already defined.
23130         (_obstack_memory_used): Mark as __attribute_pure__.
23131         [!__obstack_free]: Define as obstack_free.
23132         [__GNUC__]: Remove check for ancient NeXT gcc.
23134 2014-07-02  Will Newton  <will.newton@linaro.org>
23135             Paul Eggert  <eggert@cs.ucla.edu>
23137         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
23139 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23141         * resolv/gethnamaddr.c: Add comment warning that the file is
23142         not maintained.
23144 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
23146         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
23147         entries.
23149         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
23150         entry for aio_cancel and aio_cancel64.
23151         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
23152         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
23153         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
23154         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
23155         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
23156         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
23157         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
23158         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
23159         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
23160         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
23161         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
23162         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
23163         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
23165 2014-07-01  Roland McGrath  <roland@hack.frob.com>
23167         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
23168         * nptl/pthread_mutex_lock.c: Likewise.
23169         * nptl/pthread_mutex_timedlock.c: Likewise.
23170         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
23172 2014-07-01  Richard henderson  <rth@redhat.com>
23174         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
23175         (__isnan, __isnanl): Remove.
23176         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
23178         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23180 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23182         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23184 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23186         * resolv/nss_dns/dns-host.c (getanswer_r)
23187         [MULTI_PTRS_ARE_ALIASES]: Remove code.
23189 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
23191         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23192         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
23193         undefine.
23194         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
23195         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
23197 2014-07-01  Roland McGrath <roland@hack.frob.com>
23199         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
23200         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
23202         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
23203         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
23205         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
23206         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
23207         ... here.
23208         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
23209         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
23211         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
23212         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
23213         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
23214         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
23216         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
23217         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
23218         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
23219         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
23220         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
23221         Moved ...
23222         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
23223         ... here.
23224         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
23225         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
23226         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
23227         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
23228         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
23229         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
23230         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
23231         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
23232         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
23233         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
23234         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
23235         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
23236         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
23237         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
23238         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
23239         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
23240         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
23241         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
23242         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
23243         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
23244         ... here.
23245         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
23246         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
23247         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
23248         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
23249         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
23250         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
23251         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
23252         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
23254 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
23256         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
23257         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
23258         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
23259         Add sysdep.
23261 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23265 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23267         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23268         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23270         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23272         * sysdeps/arm/libm-test-ulps: Regenerated.
23274 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23275             Roland McGrath <roland@hack.frob.com>
23277         * test-skeleton.c (signal_handler): Kill the whole process group
23278         before killing the child individually.
23279         (main): Report any failure on `setpgid'.
23281 2014-06-30  Roland McGrath  <roland@hack.frob.com>
23283         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
23284         from _TLS_H to _ARM_NPTL_TLS_H.
23285         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
23286         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
23288 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23290         [BZ #16539]
23291         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
23292         (__expm1l): Return argument unchanged when small but not
23293         subnormal.
23295         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
23296         include macro name.
23297         (_FP_UNPACK_RAW_1_P): Likewise.
23298         (_FP_PACK_RAW_1): Likewise.
23299         (_FP_PACK_RAW_1_P): Likewise.
23300         (_FP_MUL_MEAT_1_wide): Likewise.
23301         (_FP_MUL_MEAT_DW_1_hard): Likewise.
23302         (_FP_MUL_MEAT_1_hard): Likewise.
23303         (_FP_DIV_MEAT_1_imm): Likewise.
23304         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
23305         (_FP_DIV_MEAT_1_udiv): Likewise.
23306         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
23307         (_FP_UNPACK_RAW_2): Likewise.
23308         (_FP_UNPACK_RAW_2_P): Likewise.
23309         (_FP_PACK_RAW_2): Likewise.
23310         (_FP_PACK_RAW_2_P): Likewise.
23311         (_FP_MUL_MEAT_DW_2_wide): Likewise.
23312         (_FP_MUL_MEAT_2_wide): Likewise.
23313         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
23314         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
23315         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
23316         (_FP_MUL_MEAT_2_gmp): Likewise.
23317         (_FP_DIV_MEAT_2_udiv): Likewise.
23318         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
23319         (_FP_FRAC_SRL_4): Likewise.
23320         (_FP_FRAC_SRST_4): Likewise.
23321         (_FP_FRAC_SRS_4): Likewise.
23322         (_FP_UNPACK_RAW_4): Likewise.
23323         (_FP_UNPACK_RAW_4_P): Likewise.
23324         (_FP_PACK_RAW_4): Likewise.
23325         (_FP_PACK_RAW_4_P): Likewise.
23326         (_FP_MUL_MEAT_DW_4_wide): Likewise.
23327         (_FP_MUL_MEAT_4_wide): Likewise.
23328         (_FP_MUL_MEAT_4_gmp): Likewise.
23329         (umul_ppppmnnn): Likewise.
23330         (_FP_DIV_MEAT_4_udiv): Likewise.
23331         (__FP_FRAC_ADD_4): Likewise.
23332         (__FP_FRAC_SUB_3): Likewise.
23333         (__FP_FRAC_SUB_4): Likewise.
23334         (__FP_FRAC_DEC_3): Likewise.
23335         (__FP_FRAC_DEC_4): Likewise.
23336         (__FP_FRAC_ADDI_4): Likewise.
23337         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
23338         (_FP_FRAC_SRL_8): Likewise.
23339         (_FP_FRAC_SRS_8): Likewise.
23341         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
23342         include macro name.
23343         (FP_UNPACK_RAW_EP): Likewise.
23344         (FP_PACK_RAW_E): Likewise.
23345         (FP_PACK_RAW_EP): Likewise.
23346         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
23347         (_FP_ISSIGNAN): Likewise.
23348         (_FP_ADD_INTERNAL): Likewise.
23349         (_FP_FMA): Likewise.
23350         (_FP_CMP): Likewise.
23351         (_FP_SQRT): Likewise.
23352         (_FP_TO_INT): Likewise.
23353         (_FP_FROM_INT): Likewise.
23354         (FP_EXTEND): Likewise.
23355         (_FP_DIV_MEAT_N_loop): Likewise.
23357 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23359         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
23360         throughout.
23362 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
23364         [BZ #17097]
23365         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
23366         result with correct sign in case of exponents that produce
23367         overflow except for X very close to 1.
23369 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
23371         mktime: merge #if/#ifdef usage from glibc
23372         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
23373         as that works with both Glibc's and Gnulib's style.
23374         See thread starting at Siddhesh Poyarekar's bug report at:
23375         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
23377 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23379         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
23380         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
23381         * sysdeps/tile/tilegx/memmove.c: Remove file.
23383 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23385         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
23386         abi-name definition.
23387         * scripts/soversions.awk: Do not handle or generate ABI lines.
23388         * shlib-versions: Remove ABI entries.
23389         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
23390         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
23392 2014-06-27  Roland McGrath  <roland@hack.frob.com>
23394         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
23395         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
23396         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
23397         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
23398         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
23399         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
23400         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
23401         Moved ...
23402         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
23403         ... here.
23404         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
23405         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
23406         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
23407         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
23408         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
23409         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
23410         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
23411         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
23412         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
23413         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
23414         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
23415         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
23416         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
23417         Moved ...
23418         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
23419         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
23420         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
23421         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
23422         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
23423         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
23424         Moved ...
23425         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
23426         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
23427         Moved ...
23428         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
23429         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
23430         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
23431         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
23432         Moved ...
23433         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
23434         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
23435         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
23436         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
23437         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
23438         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
23439         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
23440         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
23441         Moved ...
23442         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
23443         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
23444         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
23445         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
23446         Moved ...
23447         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
23448         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
23449         Moved ...
23450         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
23451         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
23452         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
23453         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
23454         Moved ...
23455         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
23456         ... here.
23457         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
23458         Identical file removed.
23459         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
23460         Moved ...
23461         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
23462         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
23463         Identical file removed.
23464         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
23465         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
23466         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
23467         Moved ...
23468         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
23469         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
23470         Identical file removed.
23471         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
23472         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
23473         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
23474         Identical file removed.
23475         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
23476         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
23477         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
23478         Identical file removed.
23479         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
23480         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
23481         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
23482         Identical file removed.
23483         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
23484         Moved ...
23485         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
23486         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
23487         Identical file removed.
23488         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
23489         Moved ...
23490         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
23491         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
23492         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
23493         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
23494         Identical file removed.
23495         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
23496         Moved ...
23497         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
23498         ... here.
23499         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
23500         Identical file removed.
23501         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
23502         Moved ...
23503         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
23504         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
23505         Identical file removed.
23506         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
23507         Moved ...
23508         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
23509         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
23510         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
23511         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
23512         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
23513         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
23514         Moved ...
23515         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
23516         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
23517         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
23519         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
23520         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
23521         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
23522         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
23523         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
23525 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
23527         [BZ #17092]
23528         * nscd/nscd.c (monitor_child): Return exit status of child
23529         instead of return value from wait syscall.
23531 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23533         * configure.ac (libc_commonpagesize): Remove variable.
23534         (libc_relro_required): Likewise.
23535         (libc_cv_z_relro): Remove configure test.
23536         * configure: Regenerated.
23537         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
23538         variable.
23539         (libc_relro_required): Likewise.
23540         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
23541         (libc_relro_required): Likewise.
23542         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
23543         (libc_relro_required): Likewise.
23544         * sysdeps/arm/preconfigure: Regenerated.
23545         * sysdeps/ia64/preconfigure: Remove file.
23546         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
23547         variable.
23548         (libc_relro_required): Likewise.
23550         [BZ #16561]
23551         [BZ #16562]
23552         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
23553         (__ieee754_yn): Set FE_TONEAREST mode internally and then
23554         recompute overflowing results in original rounding mode.
23555         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
23556         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
23557         recompute overflowing results in original rounding mode.
23558         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
23559         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23560         recompute overflowing results in original rounding mode.
23561         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
23562         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23563         recompute overflowing results in original rounding mode.
23564         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
23565         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23566         recompute overflowing results in original rounding mode.
23567         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
23568         (libc_feholdsetround_ctx): New macro.
23569         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
23570         * sysdeps/i386/fpu/libm-test-ulps: Update.
23571         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
23573 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23575         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
23576         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
23577         corresponding .cpsetup call.
23579 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23581         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
23582         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
23583         * sysdeps/arm/Makefile [$(subdir) = csu]
23584         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
23585         (static-only-routines): Add aeabi_read_tp here.
23586         (shared-only-routines): Add libc-aeabi_read_tp here.
23587         (CFLAGS-libc-start.c): Add -fexceptions here.
23588         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
23589         (sysdep_routines, static-only-routines, shared-only-routines):
23590         Don't add to these here.
23591         (CFLAGS-libc-start.c): Likewise.
23593         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
23594         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
23595         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
23596         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
23597         * sysdeps/arm/Makefile [$(subdir) = rt]
23598         (librt-sysdep_routines, librt-shared-only-routines):
23599         Append rt-aeabi_unwind_cpp_pr1 here.
23600         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
23601         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
23602         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
23603         (libpthread-sysdep_routines, libpthread-shared-only-routines):
23604         Append nptl-aeabi_unwind_cpp_pr1 here.
23605         (tests): Filter out tst-cleanupx4 here.
23606         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
23607         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
23608         Don't do those here.
23610 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23612         * scripts/list-sources.sh: Do not handle ports specially.
23614 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23616         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
23617         * sysdeps/arm/feupdateenv.c: Likewise.
23619         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
23621 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23623         * manual/texinfo.tex: Update to version 2014-05-05.10 with
23624         trailing whitespace removed.
23625         * scripts/config.guess: Update to version 2014-03-23.
23626         * scripts/config.sub: Update to version 2014-05-01
23627         * scripts/install-sh: Update to version 2013-12-25.23.
23628         * scripts/move-if-change: Update from gnulib.
23630 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23632         * debug/memmove_chk.c: Remove pagecopy.h include.
23634 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
23636         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
23637         identical to gnulib mktime.
23639 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23641         * configure.ac: Do not test for machine being rs6000.  Do not test
23642         for powerpc*-*soft.
23643         * configure: Regenerated.
23645         [BZ #11505]
23646         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
23647         test.
23648         * configure: Regenerated.
23649         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
23650         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
23651         Remove configure test.
23652         * sysdeps/arm/configure: Regenerated.
23653         * sysdeps/nptl/configure.ac: Do not check
23654         libc_cv_asm_cfi_directives.
23655         * sysdeps/nptl/configure: Regenerated.
23656         * sysdeps/x86_64/nptl/configure.ac: Remove file.
23657         * sysdeps/x86_64/nptl/configure: Remove generated file.
23658         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
23659         unconditional.
23660         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
23662 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23664         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
23665         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
23666         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
23667         it is defined.
23669         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
23670         instead of whether it is defined.
23671         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
23672         * sysdeps/hppa/dl-machine.h: Likewise.
23673         * sysdeps/ia64/dl-machine.h: Likewise.
23674         * sysdeps/m68k/dl-machine.h: Likewise.
23675         * sysdeps/microblaze/dl-machine.h: Likewise.
23676         * sysdeps/mips/dl-machine.: Likewise.
23677         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23678         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23679         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23680         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23681         * sysdeps/sh/dl-machine.h: Likewise.
23682         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23683         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23684         * sysdeps/tile/dl-machine.h: Likewise.
23685         * sysdeps/x86_64/dl-machine.h: Likewise.
23687         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
23688         code.
23689         (verify_persistent_db): Likewise.
23691 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23693         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
23694         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
23695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
23696         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
23697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23698         Moved ...
23699         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
23700         ... here.
23701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
23702         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
23703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
23704         Identical file removed.
23705         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
23706         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
23707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
23708         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
23709         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
23710         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
23711         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
23712         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
23713         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
23714         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
23715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23716         Moved ...
23717         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
23718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
23719         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
23720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
23721         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
23722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23723         Moved ...
23724         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
23725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
23726         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
23727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
23728         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
23729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23730         Identical file removed.
23731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
23732         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
23733         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
23734         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
23735         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23736         Moved ...
23737         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
23738         ... here.
23739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
23740         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
23741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
23742         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
23743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
23744         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
23745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
23746         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
23747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
23748         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
23749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23750         Moved ...
23751         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
23752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
23753         Moved ...
23754         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
23755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
23756         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
23757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23758         Moved ...
23759         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
23760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
23761         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
23763         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
23764         folded into ...
23765         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
23766         * sysdeps/unix/sysv/linux/s390/Versions
23767         (libpthread: GLIBC_2.19): New version set.
23768         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
23769         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
23770         (librt: GLIBC_2.3.3): New version set.
23771         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
23772         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
23773         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
23774         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
23775         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
23776         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
23777         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
23778         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
23779         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
23780         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
23781         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
23782         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
23783         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
23784         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
23785         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
23786         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
23787         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
23788         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
23789         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
23790         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
23791         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
23792         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
23793         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
23794         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
23795         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
23796         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
23797         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
23798         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
23799         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
23800         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
23801         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
23802         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
23803         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
23804         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
23805         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
23806         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
23807         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
23808         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
23809         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
23810         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
23811         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
23812         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
23813         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
23814         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
23815         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
23817         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
23818         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
23819         (__libc_vfork): Define the function under this name.
23820         [!NOT_IN_libc] (__vfork): Make this an alias.
23821         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
23822         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
23823         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
23824         (__libc_vfork): Define the function under this name.
23825         [!NOT_IN_libc] (__vfork): Make this an alias.
23826         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
23827         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
23828         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
23829         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
23830         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
23831         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23833         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
23834         code that was previously under [RESET_PID].
23835         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
23836         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
23837         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
23839         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
23840         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
23841         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
23842         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
23843         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
23844         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
23845         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
23846         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
23847         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
23848         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
23849         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
23850         Moved ...
23851         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
23852         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
23853         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
23854         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
23855         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
23856         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
23857         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
23858         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
23859         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
23860         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
23861         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
23862         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
23863         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
23864         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
23865         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
23866         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
23867         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
23868         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
23869         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
23870         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
23871         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
23872         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
23873         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
23874         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
23875         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
23876         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
23877         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
23878         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
23879         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
23881 2014-06-25  Roland McGrath  <roland@hack.frob.com>
23883         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
23884         that was previously under [RESET_PID].
23885         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
23887 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23889         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
23890         not undefine and redefine.
23891         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
23892         [O_CLOEXEC]: Make code unconditional.
23893         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
23894         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
23895         <kernel-features.h>.
23896         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
23897         conditional variable definition.
23898         (shm_open) [O_CLOEXEC]: Make code unconditional.
23899         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
23900         code.
23902         * configure.ac (USE_REGPARMS): Don't define here.
23903         * configure: Regenerated.
23904         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
23905         * sysdeps/i386/configure: Regenerated.
23907         * nptl/createthread.c: Don't include kernel-features.h.
23908         * nptl/pthread_cancel.c: Likewise.
23909         * nptl/pthread_condattr_setclock.c: Likewise.
23910         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
23911         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
23912         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
23913         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
23914         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
23915         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
23916         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
23917         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
23918         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
23919         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
23920         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
23921         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
23922         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
23923         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
23924         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
23925         * nscd/gai.c: Likewise.
23926         * nss/nss_db/db-open.c: Likewise.
23927         * sysdeps/generic/ldsodefs.h: Likewise.
23928         * sysdeps/sh/nptl/tls.h: Likewise.
23929         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23930         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
23931         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
23932         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
23933         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
23934         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23935         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
23936         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23937         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23938         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
23939         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
23940         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23941         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
23942         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
23943         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
23944         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
23945         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
23946         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
23947         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
23948         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
23949         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
23950         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
23951         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
23952         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
23953         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
23954         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
23955         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
23956         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
23957         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
23958         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
23959         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
23960         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
23961         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
23962         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23963         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23964         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23965         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23966         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
23967         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
23968         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
23969         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23970         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
23971         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
23972         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23973         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
23974         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
23975         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
23976         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
23977         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
23978         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
23979         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
23980         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
23981         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
23982         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23983         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
23984         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23985         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
23986         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
23987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
23989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
23990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
23991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
23992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
23993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
23994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
23995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
23998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
23999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
24000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
24001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
24007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
24008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
24009         * sysdeps/unix/sysv/linux/pread.c: Likewise.
24010         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
24011         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
24012         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
24013         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
24014         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
24015         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
24016         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
24017         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
24018         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
24019         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
24020         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
24021         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
24022         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
24023         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
24024         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
24025         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24026         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
24027         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
24028         * sysdeps/unix/sysv/linux/system.c: Likewise.
24029         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
24030         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
24031         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24032         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24033         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24034         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24035         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24037         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
24038         * configure: Regenerated.
24039         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
24041         * configure.ac (base_machine): Do not set specially for particular
24042         machines here.
24043         * configure: Regenerated.
24044         * sysdeps/powerpc/preconfigure: Move machine and base_machine
24045         settings from configure.ac.
24046         * sysdeps/i386/preconfigure: New file.
24047         * sysdeps/s390/preconfigure: Likewise.
24048         * sysdeps/sh/preconfigure: Likewise.
24049         * sysdeps/sparc/preconfigure: Likewise.
24051 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24053         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
24054         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
24055         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
24056         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
24057         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
24058         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
24059         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
24060         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
24061         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
24062         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
24063         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
24064         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
24065         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
24066         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
24067         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
24068         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
24069         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
24070         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
24071         * sysdeps/sparc/sparc64/Makefile: ... appended here.
24073         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
24074         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
24075         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
24076         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
24077         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
24078         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
24079         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
24080         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
24081         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
24082         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
24083         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
24084         * sysdeps/sparc/sparc32/sem_post.c: ... here.
24085         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
24086         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
24087         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
24088         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
24089         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
24090         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
24091         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
24092         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
24093         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
24094         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
24095         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
24096         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
24097         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
24098         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
24099         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
24100         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
24101         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
24102         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
24103         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
24104         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
24105         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
24106         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
24107         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
24108         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
24109         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
24110         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
24112         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
24113         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
24114         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
24115         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
24116         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24117         Moved ...
24118         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
24119         ... here.
24120         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
24121         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
24122         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
24123         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
24124         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
24125         Moved ...
24126         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
24127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
24128         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
24129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
24130         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
24131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
24132         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
24133         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24134         Moved ...
24135         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
24136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24137         Moved ...
24138         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
24139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
24140         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
24141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24142         Moved ...
24143         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
24144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
24145         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
24146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
24147         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
24148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
24149         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
24150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
24151         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
24152         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24153         Moved ...
24154         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
24155         ... here.
24156         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
24157         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
24158         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
24159         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
24160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
24161         Moved ...
24162         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
24163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
24164         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
24165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
24166         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
24167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
24168         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
24169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24170         Moved ...
24171         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
24172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24173         Moved ...
24174         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
24175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
24176         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
24177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24178         Moved ...
24179         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
24180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
24181         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
24182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
24183         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
24185 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24187         * timezone/checktab.awk: Update from tzcode 2014e.
24188         * timezone/private.h: Likewise.
24189         * timezone/tzfile.h: Likewise.
24190         * timezone/zdump.c: Likewise.
24191         * timezone/zic.c: Likewise.
24193         * sysdeps/unix/sysv/linux/kernel-features.h
24194         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
24195         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
24196         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
24197         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24198         Remove conditional code.
24200 2014-06-25  Will Newton  <will.newton@linaro.org>
24202         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
24203         (_dl_arm_cap_flags): Add HWCAP2 values.
24204         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
24205         (_DL_HWCAP_COUNT): Increase to 37.
24206         (_DL_HWCAP_LAST): New define.
24207         (_DL_HWCAP2_LAST): New define.
24208         (_dl_procinfo): Add support for printing
24209         AT_HWCAP2 entries.
24210         (_dl_string_hwcap): Use _dl_hwcap_string.
24212 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24216 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24218         * README: Do not mention ports directory.
24220         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
24221         Remove macro.
24222         * sysdeps/unix/sysv/linux/futimes.c: Do not include
24223         <kernel-features.h>.
24224         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
24225         conditional variable definition.
24226         (__futimes): Update comment.
24227         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
24228         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
24230         [BZ #16560]
24231         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
24232         arguments close to 0.
24233         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
24234         Likewise.
24235         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
24236         Likewise.
24237         * math/auto-libm-test-in: Add more tests of exp10.
24238         * math/auto-libm-test-out: Regenerated.
24239         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24241         * sysdeps/unix/sysv/linux/kernel-features.h
24242         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
24243         * sysdeps/unix/sysv/linux/readv.c: Do not include
24244         <kernel-features.h>.
24245         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24246         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24247         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24248         unconditional.
24249         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24250         conditional code.
24251         * sysdeps/unix/sysv/linux/writev.c: Do not include
24252         <kernel-features.h>.
24253         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24254         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24255         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24256         unconditional.
24257         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24258         conditional code.
24260 2014-06-25  Will Newton  <will.newton@linaro.org>
24262         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
24263         comment changes throughout the file.  Remove checks
24264         for HAVE_*_H definitions that are not required.
24265         (__gen_tempname): Call abort if an unknown kind value is
24266         passed.
24268 2014-06-25  Andreas Schwab  <schwab@suse.de>
24270         [BZ #17086]
24271         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
24272         scalbln, scalblnf, scalblnl in libc.
24274 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24276         [BZ #17086]
24277         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
24278         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24279         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24281 2014-06-24  Roland McGrath  <roland@hack.frob.com>
24283         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
24284         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
24285         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
24286         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
24287         Update #include.
24288         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
24289         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
24290         Update #include.
24291         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
24292         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
24293         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
24294         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
24295         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
24296         * sysdeps/x86/bits/pthreadtypes.h: ... here.
24297         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
24298         * sysdeps/x86/bits/semaphore.h: ... here.
24299         * sysdeps/x86/nptl/elide.h: Moved ...
24300         * sysdeps/x86/elide.h: ... here.
24301         * sysdeps/x86_64/nptl/Implies: File removed.
24302         * sysdeps/i386/nptl/Implies: File removed.
24304 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
24306         [BZ #16539]
24307         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
24308         return the argument for normal arguments with exponent below -64.
24309         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24310         Likewise.
24311         * math/auto-libm-test-in: Add another test of expm1.
24312         * math/auto-libm-test-out: Regenerated.
24314         [BZ #16287]
24315         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
24316         calling __erfcl for arguments at least 16.
24317         * math/auto-libm-test-in: Add more tests of erf.
24318         * math/auto-libm-test-out: Regenerated.
24320         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
24321         individual architectures.
24322         * sysdeps/unix/sysv/linux/configure: Regenerated.
24323         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
24324         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
24325         * sysdeps/unix/sysv/linux/powerpc/configure.ac
24326         (ldd_rewrite_script): Define variable.
24327         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
24329         file.
24330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
24331         generated file.
24332         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
24333         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
24334         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
24335         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
24336         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
24337         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
24338         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
24339         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
24341 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24343         [BZ #17084]
24344         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
24345         Rename member __data.d to __data.__elision_data.
24347 2014-06-24  Wilco  <wdijkstr@arm.com>
24349         * NEWS: Add 16918 to fixed bug list.
24351 2014-06-24  Wilco  <wdijkstr@arm.com>
24353         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
24355 2014-06-24  Wilco  <wdijkstr@arm.com>
24357         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
24358         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
24359         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
24360         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
24361         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
24362         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
24363         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
24364         Use _FPU_MASK_RM.
24366 2014-06-24  Wilco  <wdijkstr@arm.com>
24368         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
24370 2014-06-24  Wilco  <wdijkstr@arm.com>
24372         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
24373         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
24374         * sysdeps/arm/fesetround.c (fesetround): Remove space.
24375         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
24377 2014-06-24  Wilco  <wdijkstr@arm.com>
24379         [BZ #16918]
24380         * sysdeps/arm/feupdateenv.c (feupdateenv):
24381         Rewrite to reduce FPSCR accesses and fix return value.
24383 2014-06-24  Wilco  <wdijkstr@arm.com>
24385         * sysdeps/arm/fclrexcpt.c (feclearexcept):
24386         Optimize to avoid unnecessary FPSCR writes.
24387         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
24388         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
24389         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
24390         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
24392 2014-06-24  Wilco  <wdijkstr@arm.com>
24394         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
24395         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
24396         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
24397         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
24398         Call libc_fetestexcept_vfp.
24399         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
24400         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
24401         __SOFTFP__ ifdef so that they can be built for softfp.
24403 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24405         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
24406         argument type signed char.
24408         * Makerules (check-abi): Dump diff of symlist if the test
24409         fails.
24411 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24413         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
24414         using abort.
24416         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24417         Remove unused variable ST.
24419 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24421         [BZ #16354]
24422         [BZ #17061]
24423         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
24424         small arguments before calling __expm1.
24425         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
24426         small arguments before calling __expm1f.
24427         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
24428         small arguments before calling __expm1l.
24429         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24430         Likewise.
24431         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
24432         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
24433         spurious underflow for some cosh tests.
24434         * math/auto-libm-test-out: Regenerated.
24435         * sysdeps/i386/fpu/libm-test-ulps: Update.
24437         [BZ #17050]
24438         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
24439         (__ieee754_y1): Set errno if return value overflows.
24440         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
24441         (__ieee754_y1f): Set errno if return value overflows.
24442         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
24443         (__ieee754_y1l): Set errno if return value overflows.
24444         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
24445         (__ieee754_y1l): Set errno if return value overflows.
24446         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
24447         * math/auto-libm-test-out: Regenerated.
24449         * math/gen-auto-libm-tests.c: Document use of
24450         ignore-zero-inf-sign.
24451         (input_flag_type): Add value flag_ignore_zero_inf_sign.
24452         (input_flags): Add ignore-zero-inf-sign.
24453         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
24454         * math/gen-libm-test.pl (generate_testfile): Handle
24455         ignore-zero-inf-sign.
24456         * math/auto-libm-test-in: Mark some cpow tests with
24457         ignore-zero-inf-sign and some with xfail-rounding.
24458         * math/auto-libm-test-out: Regenerated.
24459         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
24460         * sysdeps/i386/fpu/libm-test-ulps: Update.
24461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24463         [BZ #16315]
24464         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
24465         overflowing or underflowing operations take place with sign of
24466         result.
24467         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24468         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24469         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
24470         (__ieee754_pow): Recompute overflowing and underflowing results in
24471         original rounding mode.
24472         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
24473         (__powl_helper): Allow negative argument X and scale negated value
24474         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
24475         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
24476         overflowing or underflowing operations take place with sign of
24477         result.
24478         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
24479         Include <math.h>.
24480         * math/auto-libm-test-in: Add more tests of pow.
24481         * math/auto-libm-test-out: Regenerated.
24482         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
24483         (pow_tonearest_test_data): Remove.
24484         (pow_test_tonearest): Likewise.
24485         (pow_towardzero_test_data): Likewise.
24486         (pow_test_towardzero): Likewise.
24487         (pow_downward_test_data): Likewise.
24488         (pow_test_downward): Likewise.
24489         (pow_upward_test_data): Likewise.
24490         (pow_test_upward): Likewise.
24491         (main): Don't call removed functions.
24492         * sysdeps/i386/fpu/libm-test-ulps: Update.
24493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24495 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
24498         Moved ...
24499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
24500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24501         Moved ...
24502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
24503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24504         Moved ...
24505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
24506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24507         Moved ...
24508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
24509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24510         File removed.
24511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24512         File removed.
24513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
24514         File removed.
24515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
24516         File removed.
24517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
24518         File removed.
24519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
24520         File removed.
24521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
24522         File removed.
24523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24524         File removed.
24525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
24526         File removed.
24527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24528         File removed.
24529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
24530         File removed.
24531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
24532         File removed.
24533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
24534         Moved ...
24535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
24536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
24537         Moved ...
24538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
24539         ... here.
24540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
24541         Moved ...
24542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
24543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
24544         Moved ...
24545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
24546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
24547         Moved ...
24548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
24549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
24550         Moved ...
24551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
24552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
24553         Moved ...
24554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
24555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
24556         Moved ...
24557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
24558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
24559         Moved ...
24560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
24561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
24562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
24563         ... here.
24564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
24565         Moved ...
24566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
24567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24568         Moved ...
24569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24570         ... here.
24571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
24572         Moved ...
24573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24574         ... here.
24575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24576         Moved ...
24577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24578         ... here.
24579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24580         Moved ...
24581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
24582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24583         Moved ...
24584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
24585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
24586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
24587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24588         Moved ...
24589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
24590         ... here.
24591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24592         Moved ...
24593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
24594         ... here.
24595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24596         Moved ...
24597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
24598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24599         Moved ...
24600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
24601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24602         Moved ...
24603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
24604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24605         Moved ...
24606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
24607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24608         Moved ...
24609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
24610         ... here.
24611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24612         Moved ...
24613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
24614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24615         Moved ...
24616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
24617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24618         Moved ...
24619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
24620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24621         Moved ...
24622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
24623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
24624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
24625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24626         Moved ...
24627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
24628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24629         Moved ...
24630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
24631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24632         Moved ...
24633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
24634         ... here.
24635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24636         Moved ...
24637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
24638         ... here.
24639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24640         Moved ...
24641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
24642         ... here.
24643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24644         Moved ...
24645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
24646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24647         Moved ...
24648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
24649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24650         Moved ...
24651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
24652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24653         Moved ...
24654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
24655         ... here.
24656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24657         Moved ...
24658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
24659         ... here.
24660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24661         Moved ...
24662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
24663         ... here.
24664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24665         Moved ...
24666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
24667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24668         Moved ...
24669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
24671 2014-06-23  Will Newton  <will.newton@linaro.org>
24672             Wilco  <wdijkstr@arm.com>
24674         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
24675         implementation.  Include get-rounding-mode.h.
24676         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
24677         [!libc_feholdsetround_noex_ctx]: Define
24678         libc_feholdsetround_noex_ctx.
24679         [!libc_feholdsetround_noexf_ctx]: Define
24680         libc_feholdsetround_noexf_ctx.
24681         [!libc_feholdsetround_noexl_ctx]: Define
24682         libc_feholdsetround_noexl_ctx.
24683         (libc_feholdsetround_ctx): New function.
24684         (libc_feresetround_ctx): New function.
24685         (libc_feholdsetround_noex_ctx): New function.
24686         (libc_feresetround_noex_ctx): New function.
24688 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24690         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
24691         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
24692         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
24693         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
24694         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
24695         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
24697         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
24698         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
24699         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
24700         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
24701         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
24702         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
24703         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
24704         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
24705         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
24706         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
24707         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
24708         Moved ...
24709         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
24710         ... here.
24711         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
24712         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
24713         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
24714         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
24715         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
24716         Moved ...
24717         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
24718         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
24719         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
24720         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
24721         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
24722         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
24723         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
24724         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
24725         Moved ...
24726         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
24727         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
24728         Moved ...
24729         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
24730         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
24731         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
24732         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
24733         Moved ...
24734         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
24735         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
24736         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
24737         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
24738         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
24739         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
24740         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
24741         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
24742         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
24743         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
24744         Moved ...
24745         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
24746         ... here.
24747         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
24748         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
24749         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
24750         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
24751         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
24752         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
24753         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
24754         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
24755         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
24756         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
24757         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
24758         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
24759         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
24760         Moved ...
24761         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
24762         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
24763         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
24764         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
24765         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
24766         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
24767         Moved ...
24768         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
24769         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
24770         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
24771         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
24772         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
24774         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
24775         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
24776         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
24777         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
24778         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
24779         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
24780         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
24781         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
24782         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
24783         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
24784         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
24785         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
24786         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
24787         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
24788         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
24789         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
24790         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
24791         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
24792         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
24793         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
24794         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
24795         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
24796         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
24797         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
24798         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
24799         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
24800         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
24801         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
24803 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24805         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
24806         (FALLOC_FL_COLLAPSE_RANGE): New macro.
24807         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
24808         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
24809         (IPV6_PMTUDISC_INTERFACE): Likewise.
24810         (IPV6_PMTUDISC_OMIT): Likewise.
24812 2014-06-23  Andreas Schwab  <schwab@suse.de>
24814         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
24815         Remove unused errout label.
24817 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24819         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
24820         macro: hardware supports Vector Crypto instructions.
24822 2014-06-23  Will Newton  <will.newton@linaro.org>
24824         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
24825         rather than __builtin_expect.
24827         * elf/dl-lookup.c (undefined_msg): Remove variable.
24828         (_dl_lookup_symbol_x): Replace undefined_msg with string
24829         literal.
24831         * elf/dl-lookup.c (do_lookup_unique): New function.
24832         (do_lookup_x): Move STB_GNU_UNIQUE handling code
24833         to a separate function.
24835 2014-06-23  Andreas Schwab  <schwab@suse.de>
24837         [BZ #17079]
24838         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
24839         before reading the next line.
24841 2014-06-23  Will Newton  <will.newton@linaro.org>
24843         * test-skeleton.c (signal_handler): Use printf and %m
24844         rather than perror.  Use printf rather than fprintf to
24845         stderr.  Use puts rather than fputs to stderr.
24846         (main): Likewise.
24848 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
24850         * nscd/nscd.c (thread_info_t): Remove typedef.
24851         (thread_info): Remove variable.
24853 2014-06-21  Allan McRae  <allan@archlinux.org>
24855         * NEWS: Mention CVE-2014-4043.
24857 2014-06-20  Roland McGrath  <roland@hack.frob.com>
24859         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
24860         * nptl/smp.h: ... here.
24862         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
24864         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
24865         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
24866         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
24867         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
24869         * nptl/allocatestack.c: Include <stack-aliasing.h>.
24870         * nptl/stack-aliasing.h: New file.
24871         * sysdeps/i386/i686/stack-aliasing.h: New file.
24872         * sysdeps/i386/i686/nptl/Makefile: File removed.
24873         * sysdeps/x86_64/stack-aliasing.h: New file.
24874         * sysdeps/x86_64/nptl/Makefile
24875         (CFLAGS-pthread_create.c): Variable removed.
24877         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
24878         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
24879         old file.
24880         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
24881         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
24882         old file.
24884 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
24886         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24887         (__ASSUME_SIGFRAME_V2): Remove macro.
24888         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
24889         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
24890         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
24891         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
24892         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
24893         Declare as function.  Remove conditional macro definitions.
24894         (__default_rt_sa_restorer): Likewise.
24895         (__default_sa_restorer_v1): Remove declaration.
24896         (__default_sa_restorer_v2): Likewise.
24897         (__default_rt_sa_restorer_v1): Likewise.
24898         (__default_rt_sa_restorer_v2): Likewise.
24899         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
24900         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
24901         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
24903 2014-06-20  Roland McGrath  <roland@hack.frob.com>
24905         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
24906         (libpthread-routines): Add sysdep.
24907         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
24908         * sysdeps/unix/sysv/linux/sparc/Versions
24909         (libpthread: GLIBC_2.3.3): New version set.
24910         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
24911         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
24912         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
24913         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
24914         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
24915         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
24916         Moved ...
24917         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
24918         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
24919         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
24920         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
24921         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
24922         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
24923         * sysdeps/sparc/nptl/sem_init.c: ... here.
24924         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
24925         * sysdeps/sparc/nptl/sem_post.c: ... here.
24926         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
24927         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
24928         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
24929         * sysdeps/sparc/nptl/sem_wait.c: ... here.
24930         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
24931         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
24932         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
24933         (libpthread-routines): Add cpu_relax.
24934         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
24935         File removed.
24936         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
24937         (librt: GLIBC_2.3.3): New version set.
24938         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
24939         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
24940         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
24941         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
24942         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
24943         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
24944         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
24945         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
24946         Moved ...
24947         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
24948         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
24949         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
24950         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
24951         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
24952         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
24953         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
24954         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
24955         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
24956         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
24957         Moved ...
24958         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
24959         Update #include.
24960         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
24961         Moved ...
24962         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
24963         Update #include.
24964         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
24965         Moved ...
24966         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
24967         Update #include.
24968         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
24969         Moved ...
24970         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
24971         Update #include.
24972         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
24973         Moved ...
24974         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
24975         Update #include.
24976         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
24977         Moved ...
24978         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
24979         Update #include.
24980         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
24981         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
24982         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
24983         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
24984         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
24985         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
24986         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
24987         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
24988         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
24989         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
24990         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
24991         Moved ...
24992         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
24993         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
24994         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
24995         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
24996         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
24998 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25000         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
25001         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
25002         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25003         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
25004         * nscd/nscd.c: Likewise.
25005         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
25006         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
25007         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
25008         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
25010         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
25011         <kernel-features.h>.
25012         (init_mq_netlink): Remove conditional have_sock_cloexec
25013         definitions.  Remove code conditional on have_sock_cloexec < 0.
25014         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
25015         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
25016         * sysdeps/unix/sysv/linux/opensock.c: Do not include
25017         <kernel-features.h>.
25018         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
25019         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
25021 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25023         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25024         Add tests for memset_chk and memset.
25026         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
25027         with AVX2_Usable.
25029 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25031         [BZ #16046]
25032         * elf/tst-dl-iter-static.c: New file.
25033         * elf/Makefile (tests-static): Add tst-dl-iter-static.
25035         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
25036         error.
25038 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25040         * sysdeps/unix/sysv/linux/kernel-features.h
25041         (__ASSUME_F_GETOWN_EX): Remove macro.
25042         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
25043         <kernel-features.h>.
25044         (miss_F_GETOWN_EX): Remove variable or macro.
25045         (do_fcntl): Do not check miss_F_GETOWN_EX.
25046         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
25048         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
25049         Remove macro.
25050         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
25051         [!__ASSUME_AT_RANDOM]: Remove conditional code.
25052         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
25054         * sysdeps/unix/sysv/linux/kernel-features.h
25055         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
25056         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
25057         [ADJ_OFFSET_SS_READ]: Make code unconditional.
25058         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
25060 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25062         [BZ #17075]
25063         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
25064         Fix calculation of the symbol's value.
25065         * sysdeps/arm/tst-armtlsdescloc.c: New file.
25066         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
25067         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
25068         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
25069         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
25070         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
25071         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
25072         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
25073         (modules-names): Add `tst-armtlsdescmod',
25074         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
25075         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
25076         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25077         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
25078         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
25079         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25080         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
25081         ($(objpfx)tst-armtlsdescloc): New dependency.
25082         ($(objpfx)tst-armtlsdescextnow): Likewise.
25083         ($(objpfx)tst-armtlsdescextlazy): Likewise.
25084         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
25085         TLS scheme support.
25086         * sysdeps/arm/configure: Regenerate.
25088 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25090         * include/fcntl.h (__atfct_seterrno): Remove prototype.
25091         (__atfct_seterrno_2): Likewise.
25092         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
25093         <kernel-features.h>.
25094         (__ASSUME_ATFCTS): Do not undefine and redefine.
25095         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
25096         (__have_atfcts): Remove conditional definition.
25097         (__fxstatat([__NR_fstatat64]: Make code unconditional.
25098         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
25099         unreachable if [__ASSUME_ATFCTS].
25100         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
25101         not undefine and redefine.
25102         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
25103         <kernel-features.h>.
25104         (faccessat) [__NR_faccessat]: Make code unconditional.
25105         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
25106         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
25107         <kernel-features.h>.
25108         (fchmodat) [__NR_fchmodat]: Make code unconditional.
25109         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25110         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
25111         <kernel-features.h>.
25112         (fchownat) [__NR_fchownat]: Make code unconditional.
25113         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
25114         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
25115         <kernel-features.h>.
25116         (futimesat) [__NR_futimesat]: Make code unconditional.
25117         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
25118         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25119         <kernel-features.h>.
25120         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25121         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25122         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25123         <kernel-features.h>.
25124         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
25125         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25126         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
25127         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25128         <kernel-features.h>.
25129         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
25130         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25131         * sysdeps/unix/sysv/linux/linkat.c: Do not include
25132         <kernel-features.h>.
25133         (linkat) [__NR_linkat]: Make code unconditional.
25134         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25135         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
25136         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
25137         <kernel-features.h>.
25138         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
25139         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25140         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
25141         <kernel-features.h>.
25142         (mkdirat) [__NR_mkdirat]: Make code unconditional.
25143         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
25144         * sysdeps/unix/sysv/linux/openat.c: Do not include
25145         <kernel-features.h>.
25146         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
25147         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
25148         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
25149         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
25150         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
25151         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
25152         <kernel-features.h>.
25153         (readlinkat) [__NR_readlinkat]: Make code unconditional.
25154         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
25155         result of INLINE_SYSCALL directly, not via int variable.
25156         * sysdeps/unix/sysv/linux/renameat.c: Do not include
25157         <kernel-features.h>.
25158         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
25159         (renameat) [__NR_renameat]: Make code unconditional.
25160         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
25161         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
25162         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
25163         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
25164         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
25165         (__ASSUME_ATFCTS): Do not undefine and redefine.
25166         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
25167         <kernel-features.h>.
25168         (symlinkat) [__NR_symlinkat]: Make code unconditional.
25169         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25170         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
25171         <kernel-features.h>.
25172         (unlinkat) [__NR_unlinkat]: Make code unconditional.
25173         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25174         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
25175         (__ASSUME_ATFCTS): Do not undefine and redefine.
25176         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25177         <kernel-features.h>.
25178         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25179         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25180         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25181         <kernel-features.h>.
25182         (__xmknodat) [__NR_mknodat]: Make code unconditional.
25183         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25185 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25187         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
25189 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
25191         [BZ #17069]
25192         * posix/regcomp.c (parse_reg_exp): Deallocate partially
25193         constructed tree before returning error.
25194         * posix/bug-regexp36.c: Expand test case.
25196 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25198         [BZ #6803]
25199         * math/libm-test.inc (scalbln_test_date):
25200         Add errno expectations.
25201         * math/w_scalblnf.c: New File.
25202         Add wrapper which checks for setting errno to ERANGE.
25203         Add weak_alias for corresponding scalbln function.
25204         * math/w_scalbln.c: Likewise.
25205         * math/w_scalblnl.c: Likewise.
25206         * math/Makefile (libm-calls): Add w_scalbln.
25207         * sysdeps/ieee754/flt-32/s_scalblnf.c:
25208         Remove weak_alias for corresponding scalbln function.
25209         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25210         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25211         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25212         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25213         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25214         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25215         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
25216         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25217         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
25218         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
25219         Remove long_double_symbol for scalblnl function in libm, libc.
25220         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
25221         Add wrapper which checks for setting errno to ERANGE.
25222         Add long_double_symbol for scalblnl function in libm, libc.
25223         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
25224         Remove long_double_symbol for scalblnl in libm.
25225         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
25226         Add wrapper which checks for setting errno to ERANGE.
25227         Add long_double_symbol for scalblnl function in libm.
25228         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
25229         Do not use wrapper because of own implementation.
25231 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
25233         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
25234         3 bytes for __pad1 for x32.
25235         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
25237 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
25238             H.J. Lu  <hongjiu.lu@intel.com>
25240         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
25241         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
25242         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25243         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25244         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25246 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
25248         [BZ #17069]
25249         * posix/regcomp.c (parse_expression): Deallocate partially
25250         constructed tree before returning error.
25251         * posix/Makefile.c (tests): Add bug-regex36.
25252         (generated): Add bug-regex36.mtrace.
25253         (tests-special): Add $(objpfx)bug-regex36-mem.out
25254         (bug-regex36-ENV): New variable.
25255         ($(objpfx)bug-regex36-mem.out): New rule.
25256         * posix/bug-regex36.c: New file.
25258 2014-06-19  Will Newton  <will.newton@linaro.org>
25260         * malloc/malloc.c (systrim): If extra is zero then return
25261         early.
25263 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25265         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
25267 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
25269         * sysdeps/aarch64/strchr.S: New file.
25271 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
25273         [BZ #17022]
25274         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
25275         from arguments -2 or below.
25276         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
25277         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
25279 2014-06-18  Andreas Schwab  <schwab@suse.de>
25281         [BZ #17062]
25282         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
25283         of a bracket expr not to run off the end of the string.
25284         * posix/Makefile (tests): Add tst-fnmatch3.
25285         * posix/tst-fnmatch3.c: New file.
25287 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
25289         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
25290         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25291         [$(cross-compiling) = no]: Likewise.
25292         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25293         [$(cross-compiling) = no]: Likewise.
25295 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25297         [BZ #17031]
25298         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
25299         double, adjusted for any remainder from the high double.
25300         * math/libm-test.inc (nearbyint): Add tests.
25301         (rint): Likewise.
25303 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25305         * nptl/sysdeps/powerpc/Makefile: Moved ...
25306         * sysdeps/powerpc/nptl/Makefile: ... here.
25307         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
25308         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
25309         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
25310         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
25311         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
25312         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
25313         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
25314         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
25315         * nptl/sysdeps/powerpc/tls.h: Moved ...
25316         * sysdeps/powerpc/nptl/tls.h: ... here.
25318 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
25320         [BZ #16681]
25321         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
25322         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
25323         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
25324         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
25325         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
25326         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
25327         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
25328         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
25329         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
25331 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
25333         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25335 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
25337         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
25338         defined operator.
25340         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
25341         $TIMEOUTFACTOR.
25343 2014-06-16  Florian Weimer  <fweimer@redhat.com>
25345         [BZ #17058]
25346         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
25347         non-executed part of the test.
25349 2014-06-16  Andreas Schwab  <schwab@suse.de>
25351         * string/bits/string2.h (strdup, strndup): Update feature guard.
25353 2014-06-14  David S. Miller  <davem@davemloft.net>
25355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25357 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
25359         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
25360         that was previously under [RESET_PID].
25361         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
25363         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
25364         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
25365         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
25366         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25367         (__libc_vfork): New strong alias.
25368         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
25370 2014-06-14 Andi Kleen  <ak@linux.intel.com>
25372         * sysdeps/generic/elide.h: New file.
25374 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25376         * Makefile (installed-headers): Adjust path of pthread.h header.
25378 2014-06-13  Roland McGrath  <roland@hack.frob.com>
25380         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
25381         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
25382         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
25383         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
25385         * nptl/sysdeps/s390/Makefile: Moved ...
25386         * sysdeps/s390/nptl/Makefile: ... here.
25387         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
25388         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
25389         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
25390         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
25391         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
25392         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
25393         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
25394         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
25395         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
25396         * sysdeps/s390/nptl/pthreaddef.h: ... here.
25397         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
25398         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
25399         * nptl/sysdeps/s390/tls.h: Moved ...
25400         * sysdeps/s390/nptl/tls.h: ... here.
25402         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
25403         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
25405 2014-06-13  David S. Miller  <davem@davemloft.net>
25407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
25408         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
25409         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
25410         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
25411         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
25412         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
25413         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
25414         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
25415         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
25416         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
25417         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
25418         Remove RESET_PID cpp guards.
25419         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
25420         Remove RESET_PID cpp guards.
25421         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
25423 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
25425         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
25426         __sp to uintptr_t.
25428 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25430         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
25431         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
25432         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
25433         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
25434         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
25435         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
25436         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
25437         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
25438         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
25439         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
25440         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
25441         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
25442         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
25443         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
25444         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
25445         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
25446         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
25447         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
25448         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
25449         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
25451         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
25452         (pthread_rwlock_rdlock): Add elision.
25453         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
25454         (pthread_rwlock_wrlock): Add elision.
25455         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
25456         (pthread_rwlock_trywrlock): Add elision.
25457         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
25458         (pthread_rwlock_tryrdlock): Add elision.
25459         * nptl/pthread_rwlock_unlock.c: Include elide.h.
25460         (pthread_rwlock_tryrdlock): Add elision unlock.
25461         * nptl/sysdeps/pthread/pthread.h:
25462         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
25463         (PTHREAD_RWLOCK_INITIALIZER,
25464         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
25465         Handle new elision field.
25466         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
25467         * sysdeps/arm/nptl/bits/pthreadtypes.h
25468         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25469         * sysdeps/sh/nptl/bits/pthreadtypes.h
25470         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25471         * sysdeps/tile/nptl/bits/pthreadtypes.h
25472         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25473         * sysdeps/a/nptl/bits/pthreadtypes.h
25474         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25475         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
25476         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25477         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
25478         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25479         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
25480         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25481         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
25482         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25483         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
25484         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25485         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
25486         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25487         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
25488         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25489         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
25490         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25491         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
25492         (elision_init): Set try_xbegin to zero when no RTM.
25493         * sysdeps/x86/nptl/bits/pthreadtypes.h
25494         (pthread_rwlock_t): Change __pad1 to __rwelision.
25495         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25497 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25499         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
25500         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
25501         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
25502         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
25504 2014-06-13  Meador Inge  <meadori@codesourcery.com>
25506         [BZ #16996]
25507         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
25508         that the cached result has been set before returning it.
25510 2014-06-12  Roland McGrath  <roland@hack.frob.com>
25512         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
25513         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
25514         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
25515         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
25516         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
25517         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
25519         * nptl/sysdeps/sparc/Makefile: Moved ...
25520         * sysdeps/sparc/nptl/Makefile: ... here.
25521         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
25522         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
25523         * nptl/sysdeps/sparc/tls.h: Moved ...
25524         * sysdeps/sparc/nptl/tls.h: ... here.
25525         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
25526         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
25527         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
25528         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
25529         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
25530         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
25531         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
25532         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
25533         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
25534         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
25535         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
25536         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
25537         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
25538         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
25539         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
25540         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
25541         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
25542         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
25543         Update #include.
25544         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
25545         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
25546         Update #include.
25547         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
25548         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
25549         Update #include.
25550         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
25551         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
25552         Update #include.
25554         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25556         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
25557         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
25559         * sysdeps/pthread/posix-timer.h: Include <list.h>.
25560         (struct list_links): Type removed.
25561         (struct thread_node, struct timer_node): Replace struct list_links
25562         with struct list_head.
25563         (list_unlink_ip): Likewise.
25564         * sysdeps/pthread/timer_routines.c
25565         (timer_free_list, thread_free_list, thread_active_list): Likewise.
25566         (list_append, list_insbefore): Likewise.
25567         (list_init): Function removed.
25568         (thread_init, init_module): Use INIT_LIST_HEAD instead.
25569         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
25570         * sysdeps/pthread/Makefile: ... here, new file.
25572         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
25573         * sysdeps/nptl/Implies: ... here.
25574         * sysdeps/unix/sysv/linux/Implies: Add nptl.
25575         * nptl/sysdeps/pthread/list.h: Moved ...
25576         * include/list.h: ... here.
25577         * nptl/sysdeps/pthread/createthread.c: Moved ...
25578         * nptl/createthread.c: ... here.
25579         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
25580         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
25581         * nptl/pt-longjmp.c: ... here.
25582         * nptl/sysdeps/pthread/Makefile: Moved ...
25583         * sysdeps/nptl/Makefile: ... here.
25584         * nptl/sysdeps/pthread/Subdirs: Moved ...
25585         * sysdeps/nptl/Subdirs: ... here.
25586         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
25587         * sysdeps/nptl/aio_misc.h: ... here.
25588         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
25589         * sysdeps/nptl/bits/libc-lock.h: ... here.
25590         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
25591         * sysdeps/nptl/bits/libc-lockP.h: ... here.
25592         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
25593         * sysdeps/nptl/bits/stdio-lock.h: ... here.
25594         * nptl/sysdeps/pthread/configure: Moved ...
25595         * sysdeps/nptl/configure: ... here.
25596         * nptl/sysdeps/pthread/configure.ac: Moved ...
25597         * sysdeps/nptl/configure.ac: ... here.
25598         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
25599         * sysdeps/nptl/gai_misc.h: ... here.
25600         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
25601         * sysdeps/nptl/librt-cancellation.c: ... here.
25602         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
25603         * sysdeps/nptl/malloc-machine.h: ... here.
25604         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
25605         * sysdeps/nptl/pthread-functions.h: ... here.
25606         * nptl/sysdeps/pthread/pthread.h: Moved ...
25607         * sysdeps/nptl/pthread.h: ... here.
25608         * nptl/sysdeps/pthread/setxid.h: Moved ...
25609         * sysdeps/nptl/setxid.h: ... here.
25610         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
25611         * sysdeps/nptl/sigfillset.c: ... here.
25612         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
25613         * sysdeps/nptl/tcb-offsets.h: ... here.
25614         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
25615         * sysdeps/nptl/tst-mqueue8x.c: ... here.
25616         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
25617         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
25618         * nptl/sysdeps/pthread/allocalim.h: Moved ...
25619         * sysdeps/pthread/allocalim.h: ... here.
25620         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
25621         * sysdeps/pthread/bits/sigthread.h: ... here.
25622         * nptl/sysdeps/pthread/flockfile.c: Moved ...
25623         * sysdeps/pthread/flockfile.c: ... here.
25624         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
25625         * sysdeps/pthread/ftrylockfile.c: ... here.
25626         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
25627         * sysdeps/pthread/funlockfile.c: ... here.
25628         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
25629         * sysdeps/pthread/posix-timer.h: ... here.
25630         * nptl/sysdeps/pthread/timer_create.c: Moved ...
25631         * sysdeps/pthread/timer_create.c: ... here.
25632         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
25633         * sysdeps/pthread/timer_delete.c: ... here.
25634         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
25635         * sysdeps/pthread/timer_getoverr.c: ... here.
25636         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
25637         * sysdeps/pthread/timer_gettime.c: ... here.
25638         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
25639         * sysdeps/pthread/timer_routines.c: ... here.
25640         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
25641         * sysdeps/pthread/timer_settime.c: ... here.
25642         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
25643         * sysdeps/pthread/tst-timer.c: ... here.
25644         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
25645         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
25647         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
25648         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
25650         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
25651         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
25652         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
25653         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
25654         Update #include target.
25655         * nptl/sysdeps/i386/i686/Makefile: Moved ...
25656         * sysdeps/i386/i686/nptl/Makefile: ... here.
25657         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
25658         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
25659         Update #include target.
25660         * nptl/sysdeps/i386/i686/tls.h: Moved ...
25661         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
25662         * nptl/sysdeps/i386/Makefile: Moved ...
25663         * sysdeps/i386/nptl/Makefile: ... here.
25664         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
25665         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
25666         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
25667         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
25668         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
25669         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
25670         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
25671         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
25672         * sysdeps/i386/nptl/pthreaddef.h: ... here.
25673         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
25674         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
25675         * nptl/sysdeps/i386/tls.h: Moved ...
25676         * sysdeps/i386/nptl/tls.h: ... here.
25678         * sysdeps/sh/Makefile [$(subdir) = csu]
25679         (gen-as-const-headers): Add tcb-offsets.sym.
25680         * nptl/sysdeps/sh/Makefile: File removed.
25681         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
25682         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
25683         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
25684         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
25685         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
25686         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
25687         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
25688         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
25689         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
25690         * sysdeps/sh/nptl/pthreaddef.h: ... here.
25691         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
25692         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
25693         * nptl/sysdeps/sh/tls.h: Moved ...
25694         * sysdeps/sh/nptl/tls.h: ... here.
25695         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
25696         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
25697         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
25698         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
25699         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
25700         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
25701         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
25702         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
25703         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
25704         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
25705         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
25706         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
25707         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
25708         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
25709         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
25710         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
25711         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
25712         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
25713         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
25714         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
25715         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
25716         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
25717         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
25718         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
25719         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
25720         Moved ...
25721         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
25722         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
25723         Moved ...
25724         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
25725         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
25726         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
25727         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
25728         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
25729         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
25730         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
25731         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
25732         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
25733         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
25734         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
25735         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
25736         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
25737         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
25738         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
25739         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
25740         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
25741         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
25742         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
25744 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25746         * posix/spawn_faction_addopen.c: Include string.h.
25748 2014-06-11  Roland McGrath  <roland@hack.frob.com>
25750         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
25751         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
25752         * nptl/sysdeps/x86_64/Makefile: Moved ...
25753         * sysdeps/x86_64/nptl/Makefile: ... here.
25754         * nptl/sysdeps/x86_64/configure: Moved ...
25755         * sysdeps/x86_64/nptl/configure: ... here.
25756         * nptl/sysdeps/x86_64/configure.ac: Moved ...
25757         * sysdeps/x86_64/nptl/configure.ac: ... here.
25758         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
25759         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
25760         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
25761         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
25762         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
25763         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
25764         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
25765         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
25766         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
25767         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
25768         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
25769         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
25770         * nptl/sysdeps/x86_64/tls.h: Moved ...
25771         * sysdeps/x86_64/nptl/tls.h: ... here.
25772         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
25773         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
25774         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
25775         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
25777         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
25779 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25783 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
25785         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
25786         type.
25787         [POSIX] (off_t): Likewise.
25788         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
25789         [POSIX] (S_ISBLK): Require macro.
25790         [POSIX] (S_ISCHR): Likewise.
25791         [POSIX] (S_ISDIR): Likewise.
25792         [POSIX] (S_ISFIFO): Likewise.
25793         [POSIX] (S_ISREG): Likewise.
25794         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
25795         optional-macro.
25796         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
25797         type.
25798         [POSIX] (time_t): Likewise.
25799         [POSIX] (timer_t): Likewise.
25801 2014-06-11  Florian Weimer  <fweimer@redhat.com>
25803         [BZ #17048]
25804         * posix/spawn_int.h (struct __spawn_action): Make the path string
25805         non-const to support deallocation.
25806         * posix/spawn_faction_addopen.c
25807         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
25808         * posix/spawn_faction_destroy.c
25809         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
25810         path in all spawn_do_open actions.
25811         * posix/tst-spawn.c (do_test): Exercise the copy operation in
25812         posix_spawn_file_actions_addopen.
25814 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
25816         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
25817         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
25818         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
25819         conditional code always true.
25820         (__libc_vfork): New alias.
25822 2014-06-11  Roland McGrath  <roland@hack.frob.com>
25824         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25825         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
25827         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
25829         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25830         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
25832         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25833         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
25835         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25836         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
25838 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25840         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
25841         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
25842         multiarch strcmp for PPC64.
25843         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
25844         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
25845         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
25846         multiarch optimizations.
25847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25848         (__libc_ifunc_impl_list): Likewise.
25850 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25852         * benchtests/scripts/validate_benchout.py: New script.
25853         * benchtests/Makefile (bench-func): Call it.
25854         * benchtests/scripts/benchout.schema.json: New file.
25856 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
25858         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
25859         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
25860         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
25861         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
25862         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
25863         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
25864         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
25865         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
25866         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
25867         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
25868         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
25869         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
25870         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
25871         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
25872         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
25873         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
25874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
25875         Moved ...
25876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
25877         ... here.
25878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
25879         Moved ...
25880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
25881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
25882         Moved ...
25883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
25884         ... here.
25885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
25886         Moved ...
25887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
25888         ... here.
25889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
25890         Moved ...
25891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
25892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
25893         Moved ...
25894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
25895         ... here.
25896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
25897         Moved ...
25898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
25899         ... here.
25900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
25901         Moved ...
25902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
25903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
25904         Moved ...
25905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
25906         ... here.
25907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
25908         Moved ...
25909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
25910         ... here.
25911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
25912         Moved ...
25913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
25914         ... here.
25915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
25916         Moved ...
25917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
25918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
25919         Moved ...
25920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
25921         ... here.
25922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
25923         Moved ...
25924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
25925         ... here.
25926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
25927         Moved ...
25928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
25929         ... here.
25930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
25931         Moved ...
25932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
25933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
25934         Moved ...
25935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
25936         ... here.
25937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
25938         Moved ...
25939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
25940         ... here.
25941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
25942         Moved ...
25943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
25944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
25945         Moved ...
25946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
25947         ... here.
25948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
25949         Moved ...
25950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
25951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
25952         Moved ...
25953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
25954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
25955         Moved ...
25956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
25957         ... here.
25958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
25959         Moved ...
25960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
25961         ... here.
25962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
25963         Moved ...
25964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
25965         ... here.
25966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
25967         Moved ...
25968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
25969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
25970         Moved ...
25971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
25972         ... here.
25973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
25974         Moved ...
25975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
25976         ... here.
25977         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
25978         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
25979         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
25980         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
25981         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
25982         Moved ...
25983         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
25984         ... here.
25985         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
25986         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
25987         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
25988         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
25989         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
25990         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
25991         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
25992         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
25993         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
25994         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
25995         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
25996         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
25997         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
25998         Moved ...
25999         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
26000         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
26001         Moved ...
26002         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
26003         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
26004         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
26005         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
26006         Moved ...
26007         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
26008         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
26009         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
26010         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
26011         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
26012         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
26013         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
26015 2014-06-10  Wilco  <wdijkstr@arm.com>
26017         * math/test-fenv-return.c: New file.
26018         * math/Makefile: Add new test test-fenv-return.
26020 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
26022         [BZ #17042]
26023         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
26024         when x - 1 is zero.
26025         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
26026         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
26027         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
26028         0.0L for an argument of 1.0L.
26029         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
26030         Likewise.
26031         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
26032         value when x - 1 is zero.
26033         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
26034         * sysdeps/i386/fpu/libm-test-ulps: Update.
26035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26037 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
26039         [BZ #15119]
26040         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
26042 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26044         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
26045         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
26047 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26049         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26050         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
26052         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26053         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
26055         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26056         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
26058         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26059         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
26061         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
26062         if not already defined.
26063         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
26064         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
26065         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
26066         (TLS_INIT_TP): Use it.
26067         (TLS_DEFINE_INIT_TP): New macro.
26068         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
26070 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
26072         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
26073         constant.
26074         [POSIX] (IXANY): Likewise.
26075         [POSIX] (OLCUC): Likewise.
26076         [POSIX || POSIX2008] (CBAUD): Do not allow.
26077         [POSIX || POSIX2008] (DEFECHO): Likewise.
26078         [POSIX || POSIX2008] (ECHOCTL): Likewise.
26079         [POSIX || POSIX2008] (ECHOKE): Likewise.
26080         [POSIX || POSIX2008] (ECHOPRT): Likewise.
26081         [POSIX || POSIX2008] (EXTA): Likewise.
26082         [POSIX || POSIX2008] (EXTB): Likewise.
26083         [POSIX || POSIX2008] (FLUSHO): Likewise.
26084         [POSIX || POSIX2008] (LOBLK): Likewise.
26085         [POSIX || POSIX2008] (PENDIN): Likewise.
26086         [POSIX || POSIX2008] (SWTCH): Likewise.
26087         [POSIX || POSIX2008] (VDISCARD): Likewise.
26088         [POSIX || POSIX2008] (VDSUSP): Likewise.
26089         [POSIX || POSIX2008] (VLNEXT): Likewise.
26090         [POSIX || POSIX2008] (VREPRINT): Likewise.
26091         [POSIX || POSIX2008] (VSTATUS): Likewise.
26092         [POSIX || POSIX2008] (VWERASE): Likewise.
26093         (B*): Change to B[0123456789]*.
26094         * conform/data/time.h-data [POSIX || UNIX98]
26095         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
26096         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26097         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
26098         [POSIX] (tm_*): Do not allow.
26100 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
26102         * Makefile (install): Don't set LANGUAGE.
26103         * Makefile.in (install): Likewise.
26104         * assert/Makefile (test-assert-ENV): Remove variable.
26105         (test-assert-perr-ENV): Likewise.
26106         * elf/Makefile (neededtest4-ENV): Likewise.
26107         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26108         [$(cross-compiling) = no]: Don't set LANGUAGE.
26109         * io/ftwtest-sh (LANG): Remove variable.
26110         * libio/Makefile (tst-widetext-ENV): Likewise.
26111         * manual/install.texi (Running make install): Don't refer to
26112         environment settings for make install.
26113         * INSTALL: Regenerated.
26114         * nptl/tst-tls6.sh: Don't set LANG.
26115         * posix/globtest.sh (LANG): Remove variable.
26116         * string/Makefile (tester-ENV): Likewise.
26117         (inl-tester-ENV): Likewise.
26118         (noinl-tester-ENV): Likewise.
26119         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26120         [$(cross-compiling) = no]: Don't set LANGUAGE.
26121         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
26122         without explicit environment settings.
26124 2014-06-06  Roland McGrath  <roland@hack.frob.com>
26126         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
26127         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
26128         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
26129         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
26131 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
26133         * crypt/crypt-private.h [DOS]: Add some includes taken from the
26134         other files in the crypt directory.
26135         * crypt/crypt.c: Remove duplicate includes.
26136         * crypt/crypt-entry.c: Likewise.
26137         * crypt/crypt_util.c: Likewise.
26139 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
26141         * Makeconfig (run-program-env): New variable.
26142         (run-program-prefix-before-env): Likewise.
26143         (run-program-prefix-after-env): Likewise.
26144         (run-program-prefix): Define in terms of new variables.
26145         (built-program-cmd-before-env): New variable.
26146         (built-program-cmd-after-env): Likewise.
26147         (built-program-cmd): Define in terms of new variables.
26148         (test-program-prefix-before-env): New variable.
26149         (test-program-prefix-after-env): Likewise.
26150         (test-program-prefix): Define in terms of new variables.
26151         (test-program-cmd-before-env): New variable.
26152         (test-program-cmd-after-env): Likewise.
26153         (test-program-cmd): Define in terms of new variables.
26154         * Rules (make-test-out): Use $(run-program-env).
26155         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
26156         (help): Do not mention environment variables.  Mention
26157         --timeoutfactor option.
26158         (timeoutfactor): New variable.
26159         (blacklist_exports): Remove function.
26160         (exports): Remove variable.
26161         (command): Do not include ${exports}.
26162         * manual/install.texi (Configuring and compiling): Do not mention
26163         test wrappers preserving environment variables.  Mention that last
26164         assignment to a variable must take precedence.
26165         * INSTALL: Regenerated.
26166         * benchtests/Makefile (run-bench): Use $(run-program-env).
26167         * catgets/Makefile ($(objpfx)test1.cat): Use
26168         $(built-program-cmd-before-env), $(run-program-env) and
26169         $(built-program-cmd-after-env).
26170         ($(objpfx)test2.cat): Do not specify environment variables
26171         explicitly.
26172         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
26173         $(run-program-env) and $(built-program-cmd-after-env).
26174         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
26175         $(run-program-env) and $(test-program-cmd-after-env).
26176         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
26177         explicitly.
26178         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
26179         run_program_env and test_program_cmd_after_env arguments.
26180         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
26181         * elf/tst-pathopt.sh: Use run_program_env argument.
26182         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
26183         $(test-wrapper-env) and $(run-program-env).
26184         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
26185         run_program_env arguments.
26186         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
26187         * intl/Makefile ($(objpfx)tst-gettext.out): Use
26188         $(test-program-prefix-before-env), $(run-program-env) and
26189         $(test-program-prefix-after-env).
26190         ($(objpfx)tst-gettext2.out): Likewise.
26191         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
26192         run_program_env and test_program_prefix_after_env arguments.
26193         * intl/tst-gettext2.sh: Likewise.
26194         * intl/tst-gettext4.sh: Do not set environment variables
26195         explicitly.
26196         * intl/tst-gettext6.sh: Likewise.
26197         * intl/tst-translit.sh: Likewise.
26198         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
26199         $(test-program-prefix-before-env), $(run-program-env) and
26200         $(test-program-prefix-after-env).
26201         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
26202         run_program_env and test_program_prefix_after_env arguments.
26203         * math/Makefile (run-regen-ulps): Use $(run-program-env).
26204         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
26205         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
26206         explicitly with each use of ${test_wrapper_env}.
26207         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
26208         $(test-program-prefix-before-env), $(run-program-env) and
26209         $(test-program-prefix-after-env).
26210         * posix/tst-getconf.sh: Do not set environment variables
26211         explicitly.
26212         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
26213         run_program_env and test_program_prefix_after_env arguments.
26214         * stdio-common/tst-printf.sh: Do not set environment variables
26215         explicitly.
26216         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
26217         $(test-program-prefix-before-env), $(run-program-env) and
26218         $(test-program-prefix-after-env).
26219         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
26220         run_program_env and test_program_prefix_after_env arguments.
26221         Split $test calls into $test_pre and $test.
26222         * timezone/Makefile (build-testdata): Use
26223         $(built-program-cmd-before-env), $(run-program-env) and
26224         $(built-program-cmd-after-env).
26226 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26228         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
26229         strlen for non SHARED builds.
26231 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26233         * nptl/allocatestack.c (check_list): Inlined function...
26234         (__reclaim_stacks): ... here.
26236 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26238         [BZ #15698]
26239         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26240         memory overrun.
26242 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
26244         * Rules (make-test-out): Include
26245         LOCPATH=$(common-objpfx)localedata in default environment.
26246         * debug/Makefile (tst-chk1-ENV): Remove variable.
26247         (tst-chk2-ENV): Likewise.
26248         (tst-chk3-ENV): Likewise.
26249         (tst-chk4-ENV): Likewise.
26250         (tst-chk5-ENV): Likewise.
26251         (tst-chk6-ENV): Likewise.
26252         (tst-lfschk1-ENV): Likewise.
26253         (tst-lfschk2-ENV): Likewise.
26254         (tst-lfschk3-ENV): Likewise.
26255         (tst-lfschk4-ENV): Likewise.
26256         (tst-lfschk5-ENV): Likewise.
26257         (tst-lfschk6-ENV): Likewise.
26258         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
26259         (tst-iconv7-ENV): Likewise.
26260         * intl/Makefile (LOCPATH-ENV): Likewise.
26261         (tst-codeset-ENV): Likewise.
26262         (tst-gettext3-ENV): Likewise.
26263         (tst-gettext5-ENV): Likewise.
26264         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
26265         (tst-fopenloc-ENV): Likewise.
26266         (tst-fgetws-ENV): Remove variable.
26267         (tst-ungetwc1-ENV): Likewise.
26268         (tst-ungetwc2-ENV): Likewise.
26269         (bug-ungetwc2-ENV): Likewise.
26270         (tst-swscanf-ENV): Likewise.
26271         (bug-ftell-ENV): Likewise.
26272         (tst-fgetwc-ENV): Likewise.
26273         (tst-fseek-ENV): Likewise.
26274         (tst-ftell-partial-wide-ENV): Likewise.
26275         (tst-ftell-active-handler-ENV): Likewise.
26276         (tst-ftell-append-ENV): Likewise.
26277         * posix/Makefile (tst-fnmatch-ENV): Likewise.
26278         (tst-regexloc-ENV): Likewise.
26279         (bug-regex1-ENV): Likewise.
26280         (tst-regex-ENV): Likewise.
26281         (tst-regex2-ENV): Likewise.
26282         (bug-regex5-ENV): Likewise.
26283         (bug-regex6-ENV): Likewise.
26284         (bug-regex17-ENV): Likewise.
26285         (bug-regex18-ENV): Likewise.
26286         (bug-regex19-ENV): Likewise.
26287         (bug-regex20-ENV): Likewise.
26288         (bug-regex22-ENV): Likewise.
26289         (bug-regex23-ENV): Likewise.
26290         (bug-regex25-ENV): Likewise.
26291         (bug-regex26-ENV): Likewise.
26292         (bug-regex30-ENV): Likewise.
26293         (bug-regex32-ENV): Likewise.
26294         (bug-regex33-ENV): Likewise.
26295         (bug-regex34-ENV): Likewise.
26296         (bug-regex35-ENV): Likewise.
26297         (tst-rxspencer-ENV): Likewise.
26298         (tst-rxspencer-no-utf8-ENV): Likewise.
26299         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
26300         (tst-sscanf-ENV): Likewise.
26301         (tst-swprintf-ENV): Likewise.
26302         (tst-swscanf-ENV): Likewise.
26303         (test-vfprintf-ENV): Likewise.
26304         (scanf13-ENV): Likewise.
26305         (bug14-ENV): Likewise.
26306         (tst-grouping-ENV): Likewise.
26307         * stdlib/Makefile (tst-strtod-ENV): Likewise.
26308         (tst-strtod3-ENV): Likewise.
26309         (tst-strtod4-ENV): Likewise.
26310         (tst-strtod5-ENV): Likewise.
26311         (testmb2-ENV): Likewise./
26312         * string/Makefile (tst-strxfrm-ENV): Likewise.
26313         (tst-strxfrm2-ENV): Likewise.
26314         (bug-strcoll1-ENV): Likewise.
26315         (test-strcasecmp-ENV): Likewise.
26316         (test-strncasecmp-ENV): Likewise.
26317         * time/Makefile (tst-strptime-ENV): Likewise.
26318         (tst-ftime_l-ENV): Likewise.
26319         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
26320         (tst-mbrtowc-ENV): Likewise.
26321         (tst-wcrtomb-ENV): Likewise.
26322         (tst-mbrtowc2-ENV): Likewise.
26323         (tst-c16c32-1-ENV): Likewise.
26324         (tst-mbsnrtowcs-ENV): Likewise.
26326 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26328         * manual/resource.texi (How to get information about the memory
26329         subsystem?): Fix typo.
26330         Reported by Peon de la Parra Ivan <peon@keba.com>
26332 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
26334         [BZ #16882]
26335         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
26336         (pthread_spin_lock): Branch out of spin loop to proper location.
26337         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
26338         (pthread_spin_lock): Likewise.
26340         * nptl/tst-spin4.c: New test.
26341         * nptl/Makefile (tests): Add tst-spin4.
26343 2014-06-03  Andreas Schwab  <schwab@suse.de>
26345         [BZ #15946]
26346         * resolv/res_send.c (send_dg): Reload file descriptor after
26347         calling reopen.
26349 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
26351         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26353 2014-06-03  Richard Henderson  <rth@redhat.com>
26355         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
26356         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
26357         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
26358         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
26359         in the SAVE_PID block.
26360         (__libc_vfork): New alias.
26361         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
26363         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
26364         child in registers, not on the stack.  Remove RESET_PID conditionals.
26365         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
26367 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26369         * sysdeps/aarch64/libm-test-ulps: Regenerate.
26371 2014-06-03  Wilco  <wdijkstr@arm.com>
26373         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
26374         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
26375         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26376         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
26377         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
26378         Likewise.
26380 2014-06-03  Wilco  <wdijkstr@arm.com>
26382         * sysdeps/aarch64/fpu/math_private.h
26383         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
26384         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
26385         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
26386         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26387         Fix declarations.
26389 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26391         * crypt/crypt-private.h: Include ufc-crypt.h.
26392         (__b64_from_24bit): Declare extern.
26393         * crypt/crypt_util.c(__b64_from_24bit): New function.
26394         (b64t): New static const variable.
26395         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
26396         (b64t): Remove variable.
26397         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
26398         * crypt/sha256-crypt.c: Include crypt-private.h.
26399         (b64t): Remove variable.
26400         (__sha256_crypt_r): Remove b64_from_24bit and replace
26401         with __b64_from_24bit.
26402         * crypt/sha512-crypt.c: Likewise.
26404 2014-06-02  Roland McGrath  <roland@hack.frob.com>
26406         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
26407         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
26408         Label the code __libc_vfork rather than __vfork.
26409         [!NOT_IN_libc] (vfork): Define as weak alias.
26410         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
26411         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
26412         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
26414 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26416         * malloc/malloc.c (malloc_info): Fix format specifier for
26417         n_mmaps.
26419 2014-06-02  Wilco  <wdijkstr@arm.com>
26421         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
26422         FPCR write.
26424 2014-06-02  Wilco  <wdijkstr@arm.com>
26426         [BZ #17009]
26427         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
26428         Rewrite to reduce FPCR/FPSR accesses.
26430 2014-06-01  David S. Miller  <davem@davemloft.net>
26432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26434 2014-05-31  David S. Miller  <davem@davemloft.net>
26436         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
26437         to occur in round to nearest mode when |x| >= 2.0
26439 2014-05-30  Richard Henderson  <rth@twiddle.net>
26441         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
26442         (PSEUDO_RET_NOERRNO): Remove.
26443         (ret): Don't redefine.
26444         (ret_NOERRNO): Define in terms of ret.
26445         (ret_ERRVAL): Likewise.
26447         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
26448         use of PSEUDO_RET; perform the error check directly.
26450 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
26452         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
26453         with __int128_t.
26455 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26457         * malloc/malloc (malloc_info): Fix formatting.
26459 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26460             Roland McGrath  <roland@hack.frob.com>
26462         * malloc/malloc (malloc_info): Also print mmapped statistics.
26464 2014-05-30  Roland McGrath  <roland@hack.frob.com>
26466         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
26467         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
26469 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
26471         * malloc/malloc.c (malloc_info): Inline mi_arena.
26473 2014-05-29  Richard Henderson  <rth@twiddle.net>
26475         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
26476         Remove comma before expanding ASM_ARGS_##nr.
26477         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
26478         Make _x0 a strict output; make _x8 a strict input; adjust expansion
26479         of ASM_ARGS_##nr.
26480         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
26481         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
26482         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
26483         (ASM_ARGS_1): Add leading comma.
26485         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
26486         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
26487         to __errno_location.
26488         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
26489         Remove the expected plt for __errno_location.
26491         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26492         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
26493         call to __read_tp.
26495         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26496         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
26497         it and break it down.
26498         (DOCARGS_0, DOCARGS_1): Do nothing.
26499         (DOCARGS_2): Update to store into the new stack frame.
26500         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
26501         (UNDOCARGS_1): Update to restore from the new stack frame.
26502         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
26503         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
26505         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26506         (SINGLE_THREAD_P): New parameter for result regno.
26507         (PSEUDO): Update to match; use cbz instead of beq.
26509         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26510         Use ENTRY to define the _nocancel entry point.  Share the syscall
26511         and syscall error check paths with the cancel path.
26512         (PSEUDO_END): New.
26514         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
26515         whitespace; tabs before and after asm mnemonics.
26517 2014-05-29  Eric Wong  <normalperson@yhbt.net>
26519         [BZ #15132]
26520         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26521         Call fstat64 or stat64 internally, depending on arguments passed.
26522         Replace stat buffer argument with file descriptor argument.
26523         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
26524         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26525         Pass fd to __internal_statvfs instead of calling fstat64.
26526         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
26527         Pass fd to __internal_statvfs64 instead of calling fstat64.
26528         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
26529         Pass -1 to __internal_statvfs instead of calling stat64.
26530         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
26531         Pass -1 to __internal_statvfs64 instead of calling stat64.
26533 2014-05-28  Roland McGrath  <roland@hack.frob.com>
26535         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
26536         that was previously under [RESET_PID].
26537         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
26539         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
26540         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
26542 2014-05-27  Roland McGrath  <roland@hack.frob.com>
26544         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
26546         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
26547         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
26549 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
26551         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
26553 2014-05-27  Andreas Schwab  <schwab@suse.de>
26555         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
26556         TLS_INIT_TP macro.
26557         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
26558         * elf/rtld.c (init_tls, dl_main): Likewise.
26559         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
26560         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
26561         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
26562         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
26563         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
26564         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
26565         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
26566         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
26567         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
26568         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
26569         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
26570         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
26571         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
26572         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
26573         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
26574         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
26575         * sysdeps/generic/tls.h: Update description.
26577 2014-05-27  Will Newton  <will.newton@linaro.org>
26579         [BZ #16990]
26580         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
26581         and restore r2 rather than just restoring.
26583 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26585         [BZ #16724]
26586         * libio/tst-ftell-append.c: New test case.
26587         * libio/Makefile (tests): Add test case.
26588         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
26589         append mode.
26590         * libio/wfileops.c (do_ftell_wide): Likewise.
26592 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26594         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26596         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
26597         ...
26598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
26599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26600         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
26601         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
26602         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
26603         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
26604         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
26605         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
26606         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26607         Moved ...
26608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
26609         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26610         Moved ...
26611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
26612         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
26613         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
26614         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
26615         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
26616         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
26617         ...
26618         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
26619         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
26620         Moved ...
26621         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
26622         here.
26623         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
26624         ...
26625         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
26626         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
26627         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
26629         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
26630         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
26631         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
26632         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
26634         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
26635         merge into ...
26636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
26637         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
26638         ...
26639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
26640         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
26641         ...
26642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
26643         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
26644         Moved ...
26645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
26646         here.
26647         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
26648         Moved ...
26649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
26650         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26651         Moved ...
26652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
26654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
26655         conditional [RESET_PID].
26656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
26657         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
26658         removed.
26659         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
26660         removed.
26662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
26663         <tcb-offsets.h>.
26664         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26665         (__libc_vfork): New strong alias.
26666         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
26667         removed.
26668         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
26669         Removed.
26671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
26672         <tcb-offsets.h>.
26673         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
26674         (__libc_vfork): New strong alias.
26675         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
26676         removed.
26677         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
26678         removed.
26680 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
26682         * malloc/malloc.c (mi_arena): New function.
26683         (malloc_info): Remove nested function mi_arena. Call non-nosted
26684         function mi_arena.
26686 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26688         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
26689         by insrwi.
26690         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
26691         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
26692         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
26693         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
26694         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
26695         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
26696         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
26698 2014-05-26  Andreas Schwab  <schwab@suse.de>
26700         [BZ #16984]
26701         * locale/programs/repertoire.c (repertoire_read): Add slash
26702         between I18NPATH element and file name.
26703         * locale/programs/locfile.c (locfile_read): Likewise.
26705 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26707         * nptl/pthread_mutexattr_settype.c
26708         (__pthread_mutexattr_settype):
26709         Disable lock elision for PTHREAD_MUTEX_NORMAL.
26711 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26713         * nptl/tst-mutex5 (do_test):
26714         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
26716 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26718         * benchtests/README: Document 'init' directive.
26719         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
26720         BENCH_INIT.
26721         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
26722         (parse_file): Recognize 'init' directive.
26724 2014-05-26  Kyle McMartin  <kyle@redhat.com>
26726         [BZ #16796]
26727         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
26728         alignment of struct pthread.
26730 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26732         [BZ #16878]
26733         * nscd/netgroupcache.c (addgetnetgrentX): Look for
26734         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
26735         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
26736         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
26738 2014-05-25  Richard Henderson  <rth@twiddle.net>
26740         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26741         (SINGLE_THREAD_P_PIC): Remove.
26742         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
26743         (SINGLE_THREAD_P_PIC): Remove.
26745         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
26746         branch to syscall error ...
26747         (PSEUDO): ... here.
26748         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
26749         from __local_syscall_error to .Lsyscall_error.
26750         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
26751         (SYSCALL_ERROR): Update label name.
26753         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26754         Do not use DOARGS/UNDOARGS.
26755         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
26756         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
26757         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
26758         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
26759         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
26761         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
26762         block comment.
26764         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
26765         define if !NOT_IN_libc.
26766         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
26767         define with non-default symbol versions.
26769 2014-05-23  Richard Henderson  <rth@twiddle.net>
26771         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
26772         (vfork, __vfork): Define via compat_symbol.
26774         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
26775         [!HAVE_IFUNC] (vfork_compat): Remove.
26776         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
26778 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
26780         [BZ #16978]
26781         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
26782         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
26783         variable.
26785 2014-05-23  Richard Henderson  <rth@twiddle.net>
26787         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
26788         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
26789         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
26790         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
26792         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
26793         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
26794         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
26795         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
26796         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
26797         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
26798         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
26799         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
26800         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
26801         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
26802         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
26803         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
26804         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
26805         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
26806         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
26807         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
26808         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
26809         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
26810         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
26811         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
26812         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
26813         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
26814         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
26815         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
26816         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
26817         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
26818         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
26819         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
26820         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
26821         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
26822         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
26823         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
26824         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
26825         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
26826         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
26827         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
26828         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
26829         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
26830         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
26831         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
26832         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
26833         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
26834         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
26835         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
26836         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
26837         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
26838         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
26839         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
26840         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
26841         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
26842         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
26843         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
26844         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
26845         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
26846         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
26847         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
26849         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
26850         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
26851         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
26852         before exiting on error.
26853         (__libc_vfork): New strong alias.
26854         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
26855         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
26857         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
26858         that was previously under [RESET_PID].
26859         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
26861         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
26863 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
26865         [BZ #16977]
26866         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
26867         value when x - 1 is zero.
26868         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
26869         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
26870         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
26871         0.0L for an argument of 1.0L.
26872         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
26873         Likewise.
26874         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
26875         value when x - 1 is zero.
26876         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
26877         * sysdeps/i386/fpu/libm-test-ulps: Update.
26878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26880 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26882         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
26883         alphasort and versionsort.
26885 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26887         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
26888         macro.
26889         [copysignf]: Likewise.
26891 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26893         * crypt/md5-crypt.c: Fix formatting.
26895 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26897         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
26898         (b64_from_24bit): New function.
26900 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26902         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
26903         libc_hidden_builtin_def to ifunc.
26904         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
26905         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
26907 2014-05-21  Roland McGrath  <roland@hack.frob.com>
26909         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
26910         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
26912 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
26914         * nscd/Depend (linuxthreads): Remove.
26915         (nptl): Add.
26916         * resolv/Depend (linuxthreads): Remove.
26917         * rt/Depend (linuxthreads): Remove.
26919         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
26920         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
26921         $(common-objpfx)elf/.
26922         (link-libc-before-gnulib): Likewise.
26923         (elfobjdir): Remove variable.
26924         * Makefile (install): Use $(elf-objpfx) instead of
26925         $(common-objpfx)elf/.
26926         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
26927         $(elfobjdir)/.
26928         (link-libc-deps): Likewise.
26929         ($(common-objpfx)libc.so): Likewise.
26930         ($(common-objpfx)linkobj/libc.so): Likewise.
26931         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
26932         instead of $(common-objpfx)elf/.
26933         (symbolic-link-list): Likewise.
26934         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26935         [$(cross-compiling) = no]: Likewise.
26936         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
26937         $(elfobjdir)/.
26938         (static-gnulib-arch): Likewise.
26939         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26940         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
26941         $(common-objpfx)elf/.
26943 2014-05-21  Richard Henderson  <rth@redhat.com>
26945         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26946         (SINGLE_THREAD_P): Use the correct width load.  Fold
26947         into the ldr offset.
26949         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
26950         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
26952 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
26954         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
26955         (libgcc_s_resume): Use __attribute_used__.
26956         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
26957         Likewise.
26959 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26961         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
26962         optimization when used with float constants.
26964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26966 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
26968         [BZ #16915]
26969         * locale/nl_langinfo_l.c: Make direct reference to every
26970         _nl_current_CATEGORY symbol.
26971         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
26972         (tests-static): Add tst-langinfo-static.
26973         (tests-special): Add tst-langinfo-static.out.
26974         ($(objpfx)tst-langinfo.out): Redirect output.
26975         ($(objpfx)tst-langinfo-static.out): New.
26976         * localedata/tst-langinfo.sh: Send output to stdout.
26977         * localedata/tst-langinfo-static.c: New file.
26979         [BZ #16965]
26980         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
26981         when the shift amount is modulo the limb size.
26983 2014-05-20  Richard Henderson  <rth@redhat.com>
26985         [BZ #16967]
26986         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
26987         Change type of sa_flags from unsigned int to int.
26989         [BZ #16966]
26990         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
26992         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
26994 2014-05-20  Will Newton  <will.newton@linaro.org>
26996         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26997         Test the return value of the system call in the nocancel case.
26999 2014-05-20  Will Newton  <will.newton@linaro.org>
27000             Yvan Roux  <yvan.roux@linaro.org>
27002         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
27003         #include of asm/ptrace.h.
27004         (PTRACE_GET_THREAD_AREA): Remove #undef.
27005         (PTRACE_GETHBPREGS): Likewise.
27006         (PTRACE_SETHBPREGS): Likewise.
27007         (struct user_regs_struct): New structure.
27008         (struct user_fpsimd_struct): New structure.
27009         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
27010         #include of asm/ptrace.h and second #include of sys/user.h.
27011         (PTRACE_GET_THREAD_AREA): Remove #undef.
27012         (PTRACE_GETHBPREGS): Likewise.
27013         (PTRACE_SETHBPREGS): Likewise.
27014         (ELF_NGREG): Use new struct user_regs_struct.
27015         (elf_fpregset_t): Use new struct user_fpsimd_struct.
27017 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27019         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
27020         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
27022 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
27024         [BZ #16958]
27025         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
27026         membar to avoid block loads/stores to overlap previous stores.
27028 2014-05-17  Richard Henderson  <rth@redhat.com>
27030         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
27031         Create the __##syscall_name##_nocancel entry point.
27032         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
27033         Remove; let the sysdep-cancel.h code create it.
27035 2014-05-17  David S. Miller  <davem@davemloft.net>
27037         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
27038         Protect with __USE_GNU.
27039         (TIOCSET_TEMPT): Likewise.
27040         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27041         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
27042         these are already provided in bits/ioctl-types.h
27044 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27046         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
27047         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
27049         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
27050         Use wait4 regardless of [__NR_waitpid].
27052 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
27054         PR libgcc/60166
27055         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
27056         (_FP_NANSIGN_Q): Set the quiet bit.
27058 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
27060         * benchtests/Makefile
27061         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
27062         not $(common-objpfx)math/libm.so.
27063         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
27064         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
27065         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
27066         $(common-objpfx)dlfcn/libdl.so.
27067         ($(objpfx)tst-audit8): Depend on $(libm), not
27068         $(common-objpfx)math/libm.so.
27069         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
27070         not $(common-objpfx)dlfcn/libdl.so.
27071         * math/Makefile
27072         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27073         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
27074         [$(build-shared) = yes].
27075         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
27076         $(common-objpfx)nptl/libpthread.so.
27077         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
27078         $(common-objpfx)math/libm.so$(libm.so-version) or
27079         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
27080         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
27081         $(common-objpfx)dlfcn/libdl.so.
27082         * setjmp/Makefile (link-libm): Remove variable.
27083         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
27084         * stdio-common/Makefile (link-libm): Remove variable.
27085         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
27086         * stdlib/Makefile (link-libm): Remove variable.
27087         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
27088         ($(objpfx)tst-strtod-round): Likewise.
27089         ($(objpfx)tst-tininess): Likewise.
27090         ($(objpfx)tst-strtod-underflow): Likewise.
27091         ($(objpfx)tst-strtod6): Likewise.
27092         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
27093         $(libdl), not $(common-objpfx)nptl/libpthread.so and
27094         $(common-objpfx)dlfcn/libdl.so.
27096 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27098         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
27099         BSD terminal modes definitions.
27101 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27103         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
27104         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
27106         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
27107         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
27108         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
27109         Don't do #include_next.
27110         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
27111         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
27112         Don't do #include_next.
27113         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
27114         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
27115         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
27116         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
27118 2014-05-16  Allan McRae  <allan@archlinux.org>
27120         * po/sv.po: Update Swedish translation from translation project.
27122         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
27123         in sed expression.
27125 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
27127         [BZ #16917]
27128         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
27129         errno if the TIOCGPTN ioctl fails with an error different than
27130         EINVAL.
27131         * login/tst-ptsname.c: New file.
27132         * login/Makefile (tests): Add tst-ptsname.
27134         [BZ #16943]
27135         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
27136         and prlimit64.
27138 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27140         [BZ #16849]
27141         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
27142         herrno to return EAI_AGAIN.
27144 2014-05-14  Roland McGrath  <roland@hack.frob.com>
27146         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
27147         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
27148         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
27149         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
27150         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
27151         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
27152         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
27153         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
27154         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
27155         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
27156         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
27157         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
27158         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
27159         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
27160         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
27161         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
27162         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
27163         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
27164         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
27165         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
27166         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
27167         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
27168         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
27169         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
27170         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
27171         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
27172         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
27173         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
27174         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
27175         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
27176         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
27177         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
27178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
27179         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
27180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27181         Moved ...
27182         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
27183         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
27184         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
27185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
27186         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
27187         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
27188         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
27189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
27190         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
27191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
27192         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
27193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
27194         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
27195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
27196         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
27197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
27198         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
27199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
27200         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
27201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
27202         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
27203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
27204         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
27205         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
27206         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
27207         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
27208         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
27209         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27210         Moved ...
27211         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
27212         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
27213         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
27214         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
27215         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
27216         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
27217         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
27218         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
27219         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
27220         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
27221         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
27222         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
27223         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
27224         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
27225         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
27226         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
27227         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
27228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
27229         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
27230         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27231         Moved ...
27232         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
27233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
27234         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
27236         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
27237         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
27238         (libpthread-sysdep_routines): Add elision-related stuff here instead.
27239         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
27240         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
27241         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
27242         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
27243         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
27244         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
27245         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
27246         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
27247         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
27248         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
27249         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
27250         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
27251         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
27252         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
27253         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
27254         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
27255         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
27256         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
27257         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
27258         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
27259         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
27260         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
27261         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
27262         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
27263         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
27264         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
27265         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
27266         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
27268         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
27269         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
27271         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
27272         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
27273         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
27274         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
27275         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
27276         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
27277         Moved ...
27278         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
27279         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
27280         Moved ...
27281         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
27282         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
27283         Moved ...
27284         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
27285         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
27286         Moved ...
27287         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
27288         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
27289         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
27290         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
27291         Moved ...
27292         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
27293         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
27294         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
27295         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
27296         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
27297         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
27298         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
27299         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
27300         Moved ...
27301         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
27302         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27303         Moved ...
27304         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27305         ... here.
27306         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
27307         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
27308         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
27309         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
27310         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27311         Moved ...
27312         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27313         ... here.
27314         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
27315         Moved ...
27316         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
27317         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
27318         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
27319         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
27320         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
27321         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
27322         Moved ...
27323         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
27324         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
27325         Moved ...
27326         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
27327         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
27328         Moved ...
27329         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
27330         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
27331         Moved ...
27332         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
27333         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
27334         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
27335         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
27336         Moved ...
27337         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
27338         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
27339         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
27340         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
27341         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
27342         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
27343         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
27344         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
27345         Moved ...
27346         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
27347         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27348         Moved ...
27349         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27350         ... here.
27351         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
27352         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
27353         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
27354         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
27355         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27356         Moved ...
27357         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27358         ... here.
27359         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
27360         Moved ...
27361         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
27362         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
27363         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
27364         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
27365         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
27366         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
27367         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
27368         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
27369         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
27370         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
27371         Moved ...
27372         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
27373         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
27374         Moved ...
27375         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
27376         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
27377         Moved ...
27378         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
27379         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
27380         Moved ...
27381         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
27382         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
27383         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
27384         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
27385         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
27386         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
27387         Moved ...
27388         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
27389         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
27390         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
27391         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
27392         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
27393         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
27394         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
27395         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
27396         Moved ...
27397         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
27398         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27399         Moved ...
27400         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27401         ... here.
27402         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
27403         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
27404         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
27405         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
27406         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27407         Moved ...
27408         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27409         ... here.
27410         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
27411         Moved ...
27412         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
27413         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
27414         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
27415         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
27416         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
27417         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
27418         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
27419         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
27420         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
27421         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
27422         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
27424         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
27425         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
27427         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
27428         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
27430         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
27431         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
27432         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
27433         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
27434         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
27435         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
27436         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
27437         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
27438         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
27439         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
27440         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
27441         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
27442         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
27443         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
27444         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
27445         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
27446         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
27447         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
27448         Moved ...
27449         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
27450         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
27451         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
27452         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
27453         Moved ...
27454         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
27455         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
27456         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
27457         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
27458         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
27459         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
27460         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
27461         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
27462         Moved ...
27463         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
27464         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
27465         Moved ...
27466         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
27467         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
27468         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
27469         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
27470         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
27471         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
27472         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
27473         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
27474         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
27475         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
27476         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
27477         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
27478         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
27479         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
27480         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
27481         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
27482         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
27484         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
27485         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
27486         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
27487         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
27488         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
27490         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
27491         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
27492         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
27493         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
27494         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
27495         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
27496         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
27497         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
27498         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
27499         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
27501         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
27502         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
27504         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
27505         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
27506         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
27507         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
27508         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
27509         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
27510         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
27511         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
27512         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
27513         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
27514         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
27515         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
27516         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
27517         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
27518         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
27519         Update #include.
27520         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
27521         Likewise.
27522         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27523         Likewise.
27524         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27525         Likewise.
27526         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27527         Likewise.
27528         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
27529         Likewise.
27530         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
27531         Likewise.
27532         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
27533         Likewise.
27534         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
27535         Likewise.
27536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
27537         Likewise.
27538         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
27539         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
27540         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
27541         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
27542         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
27543         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
27544         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
27545         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
27546         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
27547         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
27548         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
27549         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
27550         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
27551         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
27552         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
27554         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
27555         that was previously under [RESET_PID].
27556         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27557         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
27558         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
27560         * sysdeps/i386/nptl/Implies: New file.
27561         * sysdeps/x86_64/nptl/Implies: New file.
27562         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
27563         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
27564         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
27565         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
27567         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
27568         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27569         (__libc_vfork): New strong alias.
27570         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
27571         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
27573         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
27574         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27575         (__libc_vfork): New strong alias.
27576         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
27577         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
27579         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
27580         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27581         (__libc_vfork): New strong alias.
27582         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
27583         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
27584         * nptl/pt-vfork.c: New file.
27585         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
27586         (libpthread: GLIBC_2.20): New version set (empty).
27588 2014-05-14  Will Newton  <will.newton@linaro.org>
27590         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
27591         rather than #if.
27593 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
27595         [BZ #16564]
27596         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
27597         arguments with exponent 65 or above.
27598         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
27599         arguments 0x1p113L or above.
27600         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
27601         to arguments 0x1p107L or above.
27602         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
27603         positive arguments with exponent 65 or above.
27604         * math/auto-libm-test-in: Add more tests of log1p.
27605         * math/auto-libm-test-out: Regenerated.
27607         [BZ #16928]
27608         * math/s_cacos.c (__cacos): Ensure zero real part of result from
27609         non-finite arguments is +0.
27610         * math/s_cacosf.c (__cacosf): Likewise.
27611         * math/s_cacosl.c (__cacosl): Likewise.
27612         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
27613         * sysdeps/i386/fpu/libm-test-ulps: Update.
27614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27616         [BZ #16927]
27617         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
27618         value.
27619         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
27620         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
27621         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
27622         for explicit high bit of mantissa when testing for argument equal
27623         to 1.
27624         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
27625         * sysdeps/i386/fpu/libm-test-ulps: Update.
27626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27628         [BZ #16516]
27629         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
27630         (__erf): Scale by 16 instead of 8 in potentially underflowing
27631         case.  Ensure exception if result actually underflows.
27632         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
27633         (__erff): Scale by 16 instead of 8 in potentially underflowing
27634         case.  Ensure exception if result actually underflows.
27635         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
27636         (efx8): Remove variable.
27637         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27638         case.  Ensure exception if result actually underflows.
27639         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
27640         (efx8): Remove variable.
27641         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27642         case.  Ensure exception if result actually underflows.
27643         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
27644         (efx8): Remove variable.
27645         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27646         case.  Ensure exception if result actually underflows.
27647         * math/auto-libm-test-in: Add more tests of erf.
27648         * math/auto-libm-test-out: Regenerated.
27650 2014-05-14  Andreas Schwab  <schwab@suse.de>
27652         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
27653         Remove code conditionalized on USE___THREAD.
27655         * config.h.in (HAVE_PT_CHOWN): Define as 0.
27656         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
27657         not definedness.
27659 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
27661         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
27662         Define unconditionally.
27663         (__ASSUME_O_CLOEXEC): Likewise.
27664         (__ASSUME_SOCK_CLOEXEC): Likewise.
27665         (__ASSUME_IN_NONBLOCK): Likewise.
27666         (__ASSUME_PIPE2): Likewise.
27667         (__ASSUME_EVENTFD2): Likewise.
27668         (__ASSUME_SIGNALFD4): Likewise.
27669         (__ASSUME_DUP3): Likewise.
27670         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27671         (__ASSUME_DUP3): Do not define.
27672         (__ASSUME_EVENTFD2): Likewise.
27673         (__ASSUME_IN_NONBLOCK): Likewise.
27674         (__ASSUME_O_CLOEXEC): Likewise.
27675         (__ASSUME_PIPE2): Likewise.
27676         (__ASSUME_SIGNALFD4): Likewise.
27677         (__ASSUME_SOCK_CLOEXEC): Likewise.
27678         (__ASSUME_UTIMES): Undefine.
27679         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27680         (__ASSUME_UTIMES): Do not define.
27681         (__ASSUME_O_CLOEXEC): Likewise.
27682         (__ASSUME_SOCK_CLOEXEC): Likewise.
27683         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
27684         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
27685         0x020621].
27686         (__ASSUME_PIPE2): Likewise.
27687         (__ASSUME_EVENTFD2): Likewise.
27688         (__ASSUME_SIGNALFD4): Likewise.
27689         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
27690         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
27691         Do not define.
27692         (__ASSUME_EVENTFD2): Likewise.
27693         (__ASSUME_SIGNALFD4): Likewise.
27694         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27695         (__ASSUME_32BITUIDS): Likewise.
27696         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27697         (__ASSUME_IPC64): Likewise.
27698         (__ASSUME_ST_INO_64_BIT): Likewise.
27699         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
27700         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
27701         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27702         (__ASSUME_UTIMES): Do not define.
27703         (__ASSUME_PSELECT): Likewise.
27704         (__ASSUME_PPOLL): Likewise.
27705         (__ASSUME_O_CLOEXEC): Likewise.
27706         (__ASSUME_SOCK_CLOEXEC): Likewise.
27707         (__ASSUME_IN_NONBLOCK): Likewise.
27708         (__ASSUME_PIPE2): Likewise.
27709         (__ASSUME_EVENTFD2): Likewise.
27710         (__ASSUME_SIGNALFD4): Likewise.
27711         (__ASSUME_DUP3): Likewise.
27712         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27713         (__ASSUME_UTIMES): Likewise.
27714         (__ASSUME_O_CLOEXEC): Likewise.
27715         (__ASSUME_SOCK_CLOEXEC): Likewise.
27716         (__ASSUME_IN_NONBLOCK): Likewise.
27717         (__ASSUME_PIPE2): Likewise.
27718         (__ASSUME_EVENTFD2): Likewise.
27719         (__ASSUME_SIGNALFD4): Likewise.
27720         (__ASSUME_DUP3): Likewise.
27721         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27722         (__ASSUME_UTIMES): Likewise.
27723         (__ASSUME_O_CLOEXEC): Likewise.
27724         (__ASSUME_SOCK_CLOEXEC): Likewise.
27725         (__ASSUME_IN_NONBLOCK): Likewise.
27726         (__ASSUME_PIPE2): Likewise.
27727         (__ASSUME_EVENTFD2): Likewise.
27728         (__ASSUME_SIGNALFD4): Likewise.
27729         (__ASSUME_DUP3): Likewise.
27730         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
27731         Likewise.
27732         (__ASSUME_UTIMES): Likewise.
27733         (__ASSUME_EVENTFD2): Likewise.
27734         (__ASSUME_SIGNALFD4): Likewise.
27735         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27736         (__ASSUME_O_CLOEXEC): Likewise.
27737         (__ASSUME_SOCK_CLOEXEC): Likewise.
27738         (__ASSUME_IN_NONBLOCK): Likewise.
27739         (__ASSUME_PIPE2): Likewise.
27740         (__ASSUME_EVENTFD2): Likewise.
27741         (__ASSUME_SIGNALFD4): Likewise.
27742         (__ASSUME_DUP3): Likewise.
27743         (__ASSUME_UTIMES): Undefine.
27745         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
27746         feclearexcept.  Remove symbol versioning code.
27747         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
27748         symbol versioning code.
27749         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
27750         symbol versioning code.
27751         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
27752         feupdateenv.  Remove symbol versioning code.
27753         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
27754         fegetexceptflag.  Remove symbol versioning code.
27755         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
27756         fesetexceptflag.  Remove symbol versioning code.
27757         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
27758         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
27759         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
27760         (__posix_fadvise64_l32): Remove prototype.
27761         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
27762         code.
27764 2014-05-13  Roland McGrath  <roland@hack.frob.com>
27766         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
27767         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
27768         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
27769         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
27771 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
27773         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
27774         current working directory
27776 2014-05-13  Roland McGrath  <roland@hack.frob.com>
27778         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
27779         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
27780         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
27781         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
27782         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
27783         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
27784         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
27785         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
27786         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
27787         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
27788         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
27789         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
27790         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
27791         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
27792         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
27793         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
27794         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
27795         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
27796         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
27797         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
27798         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
27799         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
27800         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
27801         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
27802         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
27803         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
27804         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
27805         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
27806         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
27807         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
27808         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
27809         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
27810         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
27811         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
27812         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
27813         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
27814         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
27815         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
27816         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
27817         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
27818         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
27819         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
27821         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
27822         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
27824         * sysdeps/unix/sysv/linux/arm/Makefile
27825         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
27826         Add rt-aeabi_unwind_cpp_pr1.
27827         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
27828         Add nptl-aeabi_unwind_cpp_pr1.
27829         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
27830         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
27831         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
27832         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27833         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
27834         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27836         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
27837         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
27838         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
27839         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
27841         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
27842         Deconditionalize the code that was previously under [RESET_PID].
27843         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
27845         * sysdeps/generic/exit-thread.h: New file.
27846         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
27847         * include/unistd.h (__exit_thread): Remove declaration.
27848         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
27849         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
27850         * csu/libc-start.c: Include <exit-thread.h>.
27851         (LIBC_START_MAIN): Pass no argument to __exit_thread.
27852         * nptl/pthread_create.c: Include <exit-thread.h>.
27853         (start_thread): Call __exit_thread in place of __exit_thread_inline.
27854         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
27855         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
27856         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
27857         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
27858         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
27859         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
27860         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
27861         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
27862         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
27863         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
27864         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
27865         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
27866         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
27867         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
27868         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
27869         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
27871 2014-05-13  Andreas Schwab  <schwab@suse.de>
27873         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
27875 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
27877         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27878         (__ASSUME_UTIMES): Do not condition on kernel version.
27879         (__ASSUME_PSELECT): Define unconditionally.
27880         (__ASSUME_PPOLL): Likewise.
27881         (__ASSUME_ATFCTS): Likewise.
27882         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
27883         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
27884         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
27885         (__ASSUME_UTIMENSAT): Define unconditionally.
27886         (__ASSUME_PRIVATE_FUTEX): Likewise.
27887         (__ASSUME_FALLOCATE): Likewise.
27888         (__ASSUME_O_CLOEXEC): Likewise.
27889         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
27890         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
27891         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
27892         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
27893         (__ASSUME_IN_NONBLOCK): Likewise.
27894         (__ASSUME_PIPE2): Likewise.
27895         (__ASSUME_EVENTFD2): Likewise.
27896         (__ASSUME_SIGNALFD4): Likewise.
27897         (__ASSUME_DUP3): Likewise.
27898         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27899         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
27900         (__ASSUME_AT_RANDOM): Likewise.
27901         (__ASSUME_PREADV): Likewise.
27902         (__ASSUME_PWRITEV): Likewise.
27903         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
27904         (__ASSUME_F_GETOWN_EX): Define unconditionally.
27905         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
27906         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27907         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
27908         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27909         (__ASSUME_O_CLOEXEC): Define unconditionally.
27910         (__ASSUME_PSELECT): Do not undefine conditionally.
27911         (__ASSUME_PPOLL): Likewise.
27912         (__ASSUME_ATFCTS): Likewise.
27913         (__ASSUME_SET_ROBUST_LIST): Likewise.
27914         (__ASSUME_UTIMENSAT): Likewise.
27915         (__ASSUME_FDATASYNC): Define unconditionally.
27916         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27917         (__ASSUME_SIGFRAME_V2): Likewise.
27918         )__ASSUME_EVENTFD2): Likewise.
27919         (__ASSUME_SIGNALFD4): Likewise.
27920         (__ASSUME_PSELECT): Do not undefine conditionally.
27921         (__ASSUME_PPOLL): Likewise.
27922         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27923         (__ASSUME_PSELECT): Define unconditionally.
27924         (__ASSUME_PPOLL): Likewise.
27925         (__ASSUME_O_CLOEXEC): Likewise.
27926         (__ASSUME_SOCK_CLOEXEC): Likewise.
27927         (__ASSUME_IN_NONBLOCK): Likewise.
27928         (__ASSUME_PIPE2): Likewise.
27929         (__ASSUME_EVENTFD2): Likewise.
27930         (__ASSUME_SIGNALFD4): Likewise.
27931         (__ASSUME_DUP3): Likewise.
27932         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27933         (__ASSUME_O_CLOEXEC): Likewise.
27934         (__ASSUME_SOCK_CLOEXEC): Likewise.
27935         (__ASSUME_IN_NONBLOCK): Likewise.
27936         (__ASSUME_PIPE2): Likewise.
27937         (__ASSUME_EVENTFD2): Likewise.
27938         (__ASSUME_SIGNALFD4): Likewise.
27939         (__ASSUME_DUP3): Likewise.
27940         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27941         (__ASSUME_EVENTFD2): Likewise.
27942         (__ASSUME_SIGNALFD4): Likewise.
27943         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27945 2014-05-12  Andreas Schwab  <schwab@suse.de>
27947         [BZ #16932]
27948         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
27949         (_nss_nis_gethostbyname4_r): Return error if item length is larger
27950         than maximum RPC packet size.
27951         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
27952         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
27953         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
27954         (_nss_nis_getservbyport_r): Likewise.
27956 2014-05-12  Will Newton  <will.newton@linaro.org>
27958         * malloc/Makefile (tests): Add tst-mallopt.
27959         * malloc/tst-mallopt.c: New file.
27961 2014-05-09  Roland McGrath  <roland@hack.frob.com>
27963         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
27964         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
27966 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27968         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
27969         (tst-tlsmod6.so): Likewise.
27971 2014-05-09  Roland McGrath  <roland@hack.frob.com>
27973         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
27975 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
27977         [BZ #16064]
27978         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
27979         and <dl-procinfo.h>.
27980         (__fegetenv): Save SSE state in envp->__eip if supported.
27981         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
27982         envp->__eip if supported.
27983         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
27984         and <dl-procinfo.h>.
27985         (__fesetenv): Always set __eip, __cs_selector, __opcode,
27986         __data_offset and __data_selector in environment to 0.  Set SSE
27987         state if supported.
27988         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27989         test-fenv-sse.
27990         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
27991         -mfpmath=sse.
27992         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
27994 2014-05-09  Will Newton  <will.newton@linaro.org>
27996         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
27997         and libc_relro_required for ARM.
27998         * sysdeps/arm/preconfigure: Regenerate.
28000 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
28001             Stefan Liebler  <stli@linux.vnet.ibm.com>
28003         * config.make.in (enable-lock-elision): New Makefile variable.
28004         * configure.ac: Likewise.
28005         * configure: Regenerate.
28006         * sysdeps/s390/configure.ac:
28007         Add check for gcc transactions support.
28008         * sysdeps/s390/configure: Regenerate.
28009         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
28010         Build elision files if enabled.
28011         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
28012         Add lock elision support for s390.
28013         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
28014         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
28015         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
28016         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
28017         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
28018         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
28019         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28020         Likewise.
28021         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
28022         Likewise.
28023         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
28024         Likewise.
28025         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
28026         Likewise.
28027         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
28028         (__lll_timedlock_elision, __lll_lock_elision)
28029         (__lll_unlock_elision, __lll_trylock_elision)
28030         (lll_timedlock_elision, lll_lock_elision)
28031         (lll_unlock_elision, lll_trylock_elision): Add.
28032         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28033         (pthread_mutex_t): Add lock elision support for s390.
28035 2014-05-14  Wilco  <wdijkstr@arm.com>
28037         * sysdeps/arm/fclrexcpt.c: Cleanup.
28038         * sysdeps/arm/fedisblxcpt.c: Cleanup.
28039         * sysdeps/arm/feenablxcpt.c: Cleanup.
28040         * sysdeps/arm/fegetenv.c: Cleanup.
28041         * sysdeps/arm/fegetexcept.c: Cleanup.
28042         * sysdeps/arm/fegetround.c: Cleanup.
28043         * sysdeps/arm/feholdexcpt.c: Cleanup.
28044         * sysdeps/arm/fesetenv.c: Cleanup.
28045         * sysdeps/arm/fesetround.c: Cleanup.
28046         * sysdeps/arm/feupdateenv.c: Cleanup.
28047         * sysdeps/arm/fgetexcptflg.c: Cleanup.
28048         * sysdeps/arm/fraiseexcpt.c: Cleanup.
28049         * sysdeps/arm/fsetexcptflg.c: Cleanup.
28050         * sysdeps/arm/ftestexcept.c: Cleanup.
28051         * sysdeps/arm/get-rounding-mode.h: Cleanup.
28052         * sysdeps/arm/setfpucw.c: Cleanup.
28054 2014-05-09  Will Newton  <will.newton@linaro.org>
28056         * sysdeps/arm/armv7/strcmp.S: New file.
28057         * NEWS: Mention addition of ARMv7 optimized strcmp.
28059 2014-05-08  Roland McGrath  <roland@hack.frob.com>
28061         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
28062         look for %.ac rather than %.in.
28064         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
28065         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
28066         * sysdeps/mach/hurd/configure: Regenerated.
28067         * sysdeps/unix/sysv/linux/configure: Regenerated.
28069         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
28071 2014-05-07  Steve Ellcey  <sellcey@mips.com>
28073         [BZ# 16922]
28074         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
28075         (LONG_SUB): Ditto.
28076         (PTR_SUB): Ditto.
28078 2014-05-07  Andreas Schwab  <schwab@suse.de>
28080         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
28081         when skipping over non-matching result from nscd.
28083 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
28085         [BZ #16876]
28086         * nptl/sockperf.c (client): Check socket return value.
28088         [BZ #16877]
28089         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
28090         nscd security class.
28092 2014-05-06  Roland McGrath  <roland@hack.frob.com>
28094         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
28095         * sysdeps/arm/unwind.h: ... here.
28097 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
28099         [BZ# 16916]
28100         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
28101         Define.
28103 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28105         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
28106         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
28107         multiarch strncpy for PPC64.
28108         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
28109         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
28110         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
28111         multiarch optimizations.
28112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28113         (__libc_ifunc_impl_list): Likewise.
28114         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
28115         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
28116         multiarch stpncpy for PPC64.
28117         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
28118         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
28120 2014-05-06  Andreas Schwab  <schwab@suse.de>
28122         [BZ #16912]
28123         * gmon/mcount.c (_MCOUNT_DECL): Use
28124         atomic_compare_and_exchange_bool_acq instead of
28125         catomic_compare_and_exchange_bool_acq.
28127 2014-05-05  Roland McGrath  <roland@hack.frob.com>
28129         * elf/Makefile (others, install-bin): Remove pldd.
28130         (pldd-modules): Variable removed.
28131         ($(objpfx)pldd): Target removed.
28132         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
28133         (others, install-bin): Append pldd here.
28134         ($(objpfx)pldd): New target.
28136         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
28137         to 0, so the first #if test emitted later doesn't see it undefined.
28138         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
28139         * sysdeps/gnu/errlist.c: Regenerated.
28141 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28143         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28144         [libc_hidden_builtin_def]: Define to empty value.
28145         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
28146         [libc_hidden_builtin_def]: Likewise.
28147         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
28148         [libc_hidden_builtin_def]: Likewise.
28149         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
28150         [libc_hidden_builtin_def]: Likewise.
28151         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
28152         __redirect_memcpy and define ifunc as default hidden symbol.
28153         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
28154         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
28156 2014-05-04  Adam Conrad  <adconrad@0c3.net>
28158         * locale/iso-4217.def: Reintroduce XDR currency.
28160 2014-05-04  Allan McRae  <allan@archlinux.org>
28162         * po/eo.po: Update Esperanto translation from translation project.
28164 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
28166         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
28167         and FEATURE_INDEX_MAX to 1.
28168         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
28170 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28172         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
28173         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
28174         * iconvdata/big5.c (ONE_DIRECTION): Define.
28175         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
28176         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
28177         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
28178         * iconvdata/cp932.c (ONE_DIRECTION): Define.
28179         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
28180         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
28181         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
28182         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
28183         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
28184         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
28185         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
28186         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
28187         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
28188         * iconvdata/gbk.c (ONE_DIRECTION): Define.
28189         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
28190         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
28191         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
28192         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
28193         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
28194         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
28195         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
28196         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
28197         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
28198         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
28199         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
28200         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
28201         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
28202         * iconvdata/iso646.c (ONE_DIRECTION): Define.
28203         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
28204         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
28205         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
28206         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
28207         * iconvdata/johab.c (ONE_DIRECTION): Define.
28208         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
28209         * iconvdata/sjis.c (ONE_DIRECTION): Define.
28210         * iconvdata/t.61.c (ONE_DIRECTION): Define.
28211         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
28212         * iconvdata/tscii.c (ONE_DIRECTION): Define.
28213         * iconvdata/uhc.c (ONE_DIRECTION): Define.
28214         * iconvdata/unicode.c (ONE_DIRECTION): Define.
28215         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
28216         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
28217         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
28219 2014-05-01  Roland McGrath  <roland@hack.frob.com>
28221         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
28222         (_IO_JUMPS_OFFSET): Define to 0.
28224         * nptl/sysdeps/pthread/bits/libc-lock.h
28225         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28226         (__libc_lock_define_initialized_recursive): Always define using
28227         initializer.  Modern compilers treat uninitialized (implicit zero) and
28228         explicit zero initializers the same (i.e. put the datum in bss).
28230 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28232         * nscd/nscd-client.h: Include <string.h>.
28234 2014-05-01  David S. Miller  <davem@davemloft.net>
28236         [BZ #16885]
28237         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
28238         multiple zero bytes exist at the end of a string.
28239         Reported by Aurelien Jarno <aurelien@aurel32.net>
28241         * string/test-strcmp.c (check): Add explicit test for situations where
28242         there are multiple zero bytes after the first.
28244 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28246         [BZ #16890]
28247         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
28248         when compiling wprintf.
28249         * stdio-common/tstdiomisc.c (t3): New function.
28250         (main): Call it.
28252 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28254         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
28255         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
28256         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
28257         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
28259 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28261         * stdlib/longlong.h: Updated from GCC.
28263 2014-05-01  Will Newton  <will.newton@linaro.org>
28264             Bernard Ogden  <bernie.ogden@linaro.org>
28266         * NEWS: Update fixed bug list.
28268         [BZ #15119]
28269         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
28271 2014-04-30  David S. Miller  <davem@davemloft.net>
28273         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
28274         (libc_feholdexcept_setround_sparc_ctx): New function.
28275         (libc_fesetenv_sparc_ctx): Likewise.
28276         (libc_feupdateenv_sparc_ctx): Likewise.
28277         (libc_feholdsetround_sparc_ctx): Likewise.
28278         (libc_feholdexcept_setround_ctx): Define.
28279         (libc_feholdexcept_setroundf_ctx): Likewise.
28280         (libc_feholdexcept_setroundl_ctx): Likewise.
28281         (libc_fesetenv_ctx): Likewise.
28282         (libc_fesetenvf_ctx): Likewise.
28283         (libc_fesetenvl_ctx): Likewise.
28284         (libc_feupdateenv_ctx): Likewise.
28285         (libc_feupdateenvf_ctx): Likewise.
28286         (libc_feupdateenvl_ctx): Likewise.
28287         (libc_feresetround_ctx): Likewise.
28288         (libc_feresetroundf_ctx): Likewise.
28289         (libc_feresetroundl_ctx): Likewise.
28290         (libc_feholdsetround_ctx): Likewise.
28291         (libc_feholdsetroundf_ctx): Likewise.
28292         (libc_feholdsetroundl_ctx): Likewise.
28294         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28295         with __USE_GNU instead of XOPEN cpp guards.
28297         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
28298         0.
28300         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28301         with XOPEN cpp guards.
28303 2014-04-30  Julian Brown  <julian@codesourcery.com>
28305         [BZ #16888]
28306         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
28307         handling.
28309 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
28311         [BZ #9894]
28312         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
28313         Change to 2.6.32.
28314         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
28315         * sysdeps/unix/sysv/linux/configure: Regenerated.
28316         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
28317         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
28318         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
28319         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
28320         * README: Update reference to required Linux kernel version.
28321         * manual/install.texi (Linux): Update reference to required Linux
28322         kernel headers version.
28323         * INSTALL: Regenerated.
28325         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
28326         header inclusion.
28327         [POSIX] (limits.h): Likewise.
28328         [POSIX] (math.h): Likewise.
28329         [POSIX] (sys/wait.h): Likewise.
28330         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
28331         function.
28332         [POSIX] (stddef.h): Do not allow header inclusion.
28334 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28336         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
28338 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
28340         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28341         Return immediately after lll_futex_wake.
28343 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28345         [BZ #16791]
28346         * nscd/nscd-client.h (datahead_init_common): Initialize entire
28347         structure.
28348         (datahead_init_pos): Call datahead_init_common early.
28349         (datahead_init_neg): Likewise.
28351         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
28352         datahead_init_neg): New functions.
28353         * nscd/aicache.c (addhstaiX): Use them.
28354         * nscd/grpcache.c (cache_addgr): Likewise.
28355         * nscd/hstcache.c (cache_addhst): Likewise.
28356         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28357         * nscd/netgroupcache.c (do_notfound): Likewise.
28358         (addgetnetgrentX): Likewise.
28359         (addinnetgrX): Likewise.
28360         * nscd/pwdcache.c (cache_addpw): Likewise.
28361         * nscd/servicescache.c (cache_addserv): Likewise.
28363 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28364             Atsushi Onoe  <atsushi@onoe.org>
28366         [BZ #14308]
28367         [BZ #12994]
28368         [BZ #13651]
28369         * resolv/res_query.c (__libc_res_nsearch): Return if at least
28370         one response is valid.
28371         * resolv/res_send.c (send_dg): Check for validity of other
28372         response if the current response is a referral.
28374 2014-04-29  Steve Ellcey  <sellcey@mips.com>
28376         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
28378 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
28380         [BZ #16823]
28381         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
28382         Always divide by positive zero when computing -Inf result.
28383         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
28384         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
28386 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28388         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
28389         FPSCR if value do not change.
28390         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28391         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
28392         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28393         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28394         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
28395         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
28396         function.
28398 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
28400         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
28401         * sysdeps/unix/sysv/linux/hppa: Move directory from
28402         ports/systeps/unix/sysv/linux/hppa.
28403         * README: Update listing for hppa-*-linux-gnu.
28405 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
28407         [BZ #16754]
28408         * manual/stdio.texi (Hook functions): Fix types of stream hook
28409         functions.
28410         [BZ #16854]
28411         * socket/sys/socket.h: Fix typo in comment.
28413 2014-04-28  Wilco  <wdijkstr@arm.com>
28415         * sysdeps/arm/fenv_private.h: New file.
28416         * sysdeps/arm/math_private.h: New file.
28417         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
28419 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
28421         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
28422         with __int128_t.
28423         (La_x86_64_retval): Likewise.
28425 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
28427         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
28428         fpsr if value didn't change.
28429         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
28430         to fpcr if value didn't change.
28431         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
28432         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
28433         fpsr or fpcr if value didn't change.
28434         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
28435         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
28436         fpcr if value didn't change.
28437         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
28438         to fpsr if value didn't change.
28440 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28442         * nptl/tst-sem3.c: Use test-skeleton.c
28443         (main): Rename to do_test.  Use return instead of
28444         exit.
28445         * nptl/tst-sem4.c: Use test-skeleton.c
28446         (main): Rename to do_test.
28448 2014-04-22  David S. Miller  <davem@davemloft.net>
28450         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
28451         (struct sigaction): New struct member __glibc_reserved0, change
28452         type of sa_flags to int.
28454 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
28456         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
28457         (COUNT_LEADING_ZEROS_0): Define for AArch64.
28459 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28461         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
28462         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
28464 2014-04-22  Will Newton  <will.newton@linaro.org>
28465             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
28467         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
28468         (__longjmp): Add longjmp and longjmp_target SystemTap
28469         probes.
28470         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
28471         (__sigsetjmp): Add setjmp SystemTap probe.
28473 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
28475         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
28476         match manual order.
28478 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28480         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
28482         * sysdeps/powerpc/fpu/fenv_private.h
28483         (libc_feholdexcept_setroundl_ctx): Define to
28484         libc_feholdexcept_setround_ppc_ctx.
28485         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
28486         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
28487         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
28488         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
28490 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
28492         * sysdeps/aarch64/math-tests.h: New file.
28494 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
28496         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
28497         New.
28498         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28499         Check and set bit_AVX2_Usable.
28500         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
28501         macro.
28502         (bit_AVX2): Likewise.
28503         (index_AVX2_Usable): Likewise.
28504         (CPUID_AVX2): Likewise.
28505         (HAS_AVX2): Likewise.
28507 2014-04-17  Will Newton  <will.newton@linaro.org>
28509         * manual/setjmp.texi (System V contexts): Add note that
28510         calling setcontext on a context created by a call to a
28511         signal handler is undefined.  Update text to note that
28512         setcontext from a signal handler is possible but not
28513         recommended.
28515         [BZ #16629]
28516         * stdlib/tst-setcontext.c: Include signal.h.
28517         (main): Check that the signal stack before and
28518         after swapcontext is the same.
28520         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
28521         Re-implement to restore registers in user code and avoid
28522         rt_sigreturn system call.
28524 2014-04-17  Wilco  <wdijkstr@arm.com>
28526         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
28527         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
28528         * math/test-fenv.c: Skip exception trap tests on targets which only
28529         support non-stop mode.
28531 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
28532             Wilco Dijkstra  <wilco.dijkstra@arm.com>
28534         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
28535         (libc_feholdsetround_aarch64_ctx)
28536         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
28537         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
28538         (libc_feresetround_ctx, libc_feresetroundf_ctx)
28539         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
28540         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
28541         (libc_feresetround_noexl_ctx): Define.
28543 2014-04-16  Richard Henderson  <rth@redhat.com>
28545         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
28547         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
28548         unwind tables.
28550         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
28551         const from the non-libc, non-ldso copy.
28553         * sysdeps/alpha/libm-test-ulps: Regenerate.
28555 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
28556             Wilco Dijkstra  <wilco.dijkstra@arm.com>
28558         * sysdeps/aarch64/fpu/math_private.h: New file.
28560 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28562         * sysdeps/aarch64/libm-test-ulps: Regenerate.
28564 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
28566         [BZ #16275]
28567         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
28568         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
28569         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
28570         Intel MPX bound registers before _dl_profile_fixup.
28571         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
28572         registers after _dl_profile_fixup.  Save and restore bound
28573         registers bnd0/bnd1 when calling _dl_call_pltexit.
28574         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
28575         (LR_BND_OFFSET): Likewise.
28576         (LRV_BND0_OFFSET): Likewise.
28577         (LRV_BND1_OFFSET): Likewise.
28579 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28581         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
28582         to...
28583         * sysdeps/mach/hurd/i386/tls.h: ... here.
28584         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
28585         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
28586         fields.
28588 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28590         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
28592 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28594         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28596 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28598         [BZ #14770]
28599         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
28600         * sysdeps/s390/configure: Regenerate.
28602         [BZ #16824]
28603         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
28604         Set round-to-nearest internally to reduce error accumulation.
28606 2014-04-16  Alan Modra  <amodra@gmail.com>
28608         [BZ #16740]
28609         [BZ #16619]
28610         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
28611         * math/libm-test.inc (frexp_test_data): Add tests.
28612         * NEWS: Update fixed bug list.
28614 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28616         * benchtests/Makefile: Depend on libraries in build directory.
28617         (bench-math): Separate out math tests.
28618         (bench-pthread): Separate out pthread tests.
28619         (bench): Include math and pthread tests.
28621 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
28623         [BZ #16831]
28624         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
28625         _dl_debug_initialize.
28627         * configure.ac: Remove SELinux header check.
28628         * configure: Regenerate.
28629         * nscd/selinux.c (perms): Array of const char* to permission names.
28630         (nscd_request_avc_has_perm): Call security_deny_unknown to find
28631         default policy. Call string_to_security_class and string_to_av_perm to
28632         translate strings. Enforce default policy and call avs_has_perm with
28633         results of translated strings.
28635 2014-04-13  David S. Miller  <davem@davemloft.net>
28637         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28639 2014-04-12  Allan McRae  <allan@archlinux.org>
28641         [BZ #16838]
28642         * manual/string.texi (Collation Functions): Fix qsort argument
28643         order in example.
28644         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28646 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
28648         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
28649         Make the test a no-op if there are no exceptions defined.
28651 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
28653         * elf/Makefile (tests): make tst-dlopen-aout conditional on
28654         enable-hardcoded-path-in-tests
28656 2014-04-11  Will Newton  <will.newton@linaro.org>
28658         * benchtests/Makefile (extra-objs): Add json-lib.o.
28659         (bench-func): Tidy up JSON output.
28660         * benchtests/bench-skeleton.c: Include json-lib.h.
28661         (main): Use JSON library functions to do output of
28662         benchmark results.
28663         * benchtests/bench-timing-type.c (main): Output the
28664         timing type simply, leaving formatting to the user.
28665         * benchtests/json-lib.c: New file.
28666         * benchtests/json-lib.h: Likewise.
28668 2014-04-11  Torvald Riegel  <triegel@redhat.com>
28670         [BZ #15215]
28671         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
28672         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
28673         memory barriers.  Add comments.
28674         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
28675         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
28676         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
28677         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
28678         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
28679         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
28681 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28683         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
28684         * sysdeps/s390/s390-64/configure.ac: ... this ...
28685         * sysdeps/s390/configure.ac: ... to here.
28686         * sysdeps/s390/s390-32/configure: Delete file.
28687         * sysdeps/s390/s390-64/configure: Delete file.
28688         * sysdeps/s390/configure: Regenerate.
28690 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
28692         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
28694 2014-04-11  Will Newton  <will.newton@linaro.org>
28696         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
28697         to zero if it is not defined elsewhere.  (mtrim): Test
28698         the value of MALLOC_DEBUG with #if rather than #ifdef.
28700 2014-04-10 Torvald Riegel  <triegel@redhat.com>
28702         * benchtests/pthread_once-inputs: New file.
28703         * benchtests/pthread_once-source.c: New file.
28704         * benchtests/README: Update documentation.
28706 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28707             H.J. Lu  <hongjiu.lu@intel.com>
28709         [BZ #16275]
28710         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
28711         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
28712         * sysdeps/x86_64/configure: Regenerated.
28713         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
28714         macro.
28715         (REGISTER_SAVE_RAX): Likewise.
28716         (REGISTER_SAVE_RCX): Likewise.
28717         (REGISTER_SAVE_RDX): Likewise.
28718         (REGISTER_SAVE_RSI): Likewise.
28719         (REGISTER_SAVE_RDI): Likewise.
28720         (REGISTER_SAVE_R8): Likewise.
28721         (REGISTER_SAVE_R9): Likewise.
28722         (REGISTER_SAVE_BND0): Likewise.
28723         (REGISTER_SAVE_BND1): Likewise.
28724         (REGISTER_SAVE_BND2): Likewise.
28725         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
28726         bound registers when calling _dl_fixup.
28728 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28730         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
28731         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
28732         of its definition.
28733         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
28734         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
28735         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
28736         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
28737         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
28738         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
28739         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
28741 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
28743         [BZ #15514]
28744         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
28745         pathconf(_PC_NAME_MAX).
28747 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28749         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
28750         Remove macro usage.
28751         (__PTHREAD_SPINS): Move definition to ...
28752         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28753         (__PTHREAD_SPINS): ... here.
28754         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28755         (__PTHREAD_SPIN): Likewise.
28756         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
28757         (__PTHREAD_SPIN): Likewise.
28758         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
28759         (__PTHREAD_SPIN): Likewise.
28760         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
28761         (__PTHREAD_SPIN): Likewise.
28762         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
28763         (__PTHREAD_SPIN): Likewise.
28764         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
28765         (__PTHREAD_SPIN): Likewise.
28766         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
28767         (__PTHREAD_SPIN): Likewise.
28768         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
28769         (__PTHREAD_SPIN): Likewise.
28770         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
28771         (__PTHREAD_SPIN): Likewise.
28772         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
28773         (__PTHREAD_SPIN): Likewise.
28774         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
28775         (__PTHREAD_SPIN): Likewise.
28776         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
28777         (__PTHREAD_SPIN): Likewise.
28779         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
28780         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
28781         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
28782         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
28783         imply folder.
28784         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
28785         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
28786         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
28787         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
28788         correct imply path.
28789         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
28790         strlen symbol for non multi-arch builds.
28791         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
28792         missing hidden_def and weak_alias.
28794 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
28796         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
28798 2014-04-07  Will Newton  <will.newton@linaro.org>
28800         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
28801         and contents.  [!_LIBC] Remove #ifndef and contents.
28802         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
28803         * string/memccpy.c (__memccpy): Use ANSI prototype.
28804         * string/memfrob.c (memfrob): Likewise.
28805         * string/strcoll.c (STRCOLL): Likewise.
28806         * string/strlen.c (strlen): Likewise.
28807         * string/strtok.c (STRTOK): Likewise.
28808         * string/strcat.c: Remove unused #include of memcopy.h.
28809         (strcat): Use ANSI prototype.
28810         * string/strchr.c: Remove unused #include of memcopy.h.
28811         (strchr): Use ANSI prototype.
28812         * string/strcmp.c: Remove unused #include of memcopy.h.
28813         (strcmp): Use ANSI prototype.
28814         * string/strcpy.c: Remove unused #include of memcopy.h.
28815         (strcpy): Use ANSI prototype.
28817 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28819         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
28820         * config.make.in (config-extra-cppflags): Set it from
28821         libc_extra_cppflags.
28822         * configure.ac (libc_extra_cflags): Make it accumulate over
28823         configure fragments.
28824         (libc_extra_cppflags): New flag.
28825         * configure. Regenerate.
28826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28827         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
28828         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
28829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
28831         [BZ #16815]
28832         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
28833         result for FE_DOWNWARD rounding mode.
28834         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
28835         Likewise.
28836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28838 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
28840         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
28841         in function argument name.
28843 2014-04-03  David Svoboda  <svoboda@cert.org>
28845         [BZ #5666]
28846         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
28847         explicitly.
28849 2014-04-03  Roland McGrath  <roland@hack.frob.com>
28851         * elf/dl-unmap-segments.h: New file.
28852         * sysdeps/generic/ldsodefs.h
28853         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
28854         * elf/dl-close.c: Include <dl-unmap-segments.h>.
28855         * elf/dl-fptr.c: Likewise.
28856         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
28857         * sysdeps/aarch64/tlsdesc.c: Likewise.
28858         * sysdeps/arm/tlsdesc.c: Likewise.
28859         * sysdeps/i386/tlsdesc.c: Likewise.
28860         * sysdeps/tile/dl-runtime.c: Likewise.
28861         * sysdeps/x86_64/tlsdesc.c: Likewise.
28862         * elf/dl-load.h: New file.
28863         * elf/dl-load.c: Include it.
28864         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
28865         Macros moved to dl-load.h.
28866         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
28867         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
28868         Use _dl_unmap_segments in place of __munmap.
28869         Break out segment-mapping loop into ...
28870         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
28872 2014-04-03  Will Newton  <will.newton@linaro.org>
28874         * elf/dl-lookup.c (do_lookup_x): Remove comment
28875         referring to nested function and move variable
28876         declarations down to before first use.
28878 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
28880         [BZ #16799]
28881         [BZ #16800]
28882         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
28883         with 0 numerator.
28884         * math/s_catanf.c (__catanf): Likewise.
28885         * math/s_catanh.c (__catanh): Likewise.
28886         * math/s_catanhf.c (__catanhf): Likewise.
28887         * math/s_catanhl.c (__catanhl): Likewise.
28888         * math/s_catanl.c (__catanl): Likewise.
28889         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
28890         by positive zero when computing -Inf result.
28891         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
28892         (catanh_test): Likewise.
28893         * sysdeps/i386/fpu/libm-test-ulps: Update.
28894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28896         [BZ #16789]
28897         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
28898         instead of using underflowing value in computing result.
28899         * math/s_clog10.c (__clog10): Likewise.
28900         * math/s_clog10f.c (__clog10f): Likewise.
28901         * math/s_clog10l.c (__clog10l): Likewise.
28902         * math/s_clogf.c (__clogf): Likewise.
28903         * math/s_clogl.c (__clogl): Likewise.
28904         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
28905         (clog10_test): Likewise.
28906         * sysdeps/i386/fpu/libm-test-ulps: Update.
28907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28909 2014-04-02  Alan Modra  <amodra@gmail.com>
28911         [BZ #16739]
28912         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
28913         output when value is near a power of two.  Use int64_t for lx and
28914         remove casts.  Use decimal rather than hex exponent constants.
28915         Don't use long double multiplication when double will suffice.
28916         * math/libm-test.inc (nextafter_test_data): Add tests.
28917         * NEWS: Add 16739 and 16786 to bug list.
28919         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
28921         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
28923 2014-04-01  Will Newton  <will.newton@linaro.org>
28925         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
28926         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
28928 2014-04-01  Florian Weimer  <fweimer@redhat.com>
28930         [BZ #13347]
28931         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
28932         * nptl/tst-setuid2.c: New file.
28933         * nptl/Makefile (xtests): Add tst-setuid2.
28935 2014-04-01  Alan Modra  <amodra@gmail.com>
28937         [BZ #16786]
28938         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
28940 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
28942         [BZ #6803]
28943         [BZ #6804]
28944         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
28945         set errno as appropriate.
28946         * math/w_scalbf.c (__scalbf): Likewise.
28947         * math/w_scalbl.c (__scalbl): Likewise.
28948         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
28949         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
28950         * math/libm-test.inc (scalb_test_data): Add errno expectations.
28951         Add more NaN tests.
28953         [BZ #16349]
28954         * math/w_atan2.c: Include <errno.h>.
28955         (__atan2): Set errno for result underflowing to zero.
28956         * math/w_atan2f.c: Include <errno.h>.
28957         (__atan2f): Set errno for result underflowing to zero.
28958         * math/w_atan2l.c: Include <errno.h>.
28959         (__atan2l): Set errno for result underflowing to zero.
28960         * math/auto-libm-test-in: Don't allow missing errno for some atan2
28961         tests.
28962         * math/auto-libm-test-out: Regenerated.
28964 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28966         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28967         Encode instruction correctly in little endian.
28968         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28969         Likewise.
28970         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28971         Likewise.
28972         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28973         Likewise.
28974         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28975         Likewise.
28977 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
28979         [BZ #9894]
28980         * sysdeps/unix/sysv/linux/kernel-features.h
28981         [__sparc__ && !__arch64__ && !__sparc_v9__]
28982         (__ASSUME_SET_ROBUST_LIST): Do not define.
28983         [__sparc__ && !__arch64__ && !__sparc_v9__]
28984         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28985         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
28986         Likewise.
28987         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28988         (__ASSUME_FUTEX_LOCK_PI): Undefine.
28989         (__ASSUME_REQUEUE_PI): Likewise.
28990         (__ASSUME_SET_ROBUST_LIST): Likewise.
28991         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28992         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
28993         Undefine.
28994         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28995         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
28996         Likewise.
28997         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
28998         Likewise.
28999         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
29000         Likewise.
29001         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29002         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
29003         Undefine.
29004         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
29005         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
29006         Likewise.
29008         [BZ #16648]
29009         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29010         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
29011         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
29013 2014-03-31  Will Newton  <will.newton@linaro.org>
29015         * benchtests/Makefile (bench): Add ffs and ffsll to list
29016         of tests.
29017         * benchtests/ffs-inputs: New file.
29018         * benchtests/ffsll-inputs: Likewise.
29020 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
29022         [BZ #16770]
29023         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
29024         too large before casting to int.
29025         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
29026         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
29027         * math/libm-test.inc (scalb_test_data): Add more tests.
29029 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29031         * benchtests/Makefile (DETAILED_OPT): New make option.
29032         (bench-func): Run benchmark program with -d if DETAILED_OPT is
29033         set.
29034         * benchtests/bench-skeleton.c: Include stdbool.h.
29035         (main): Store and print timings per input.
29036         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
29037         member to each argument value.
29038         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
29039         (_print_arg_data): Initialize per-input timing to 0.
29041         * benchtests/Makefile (timing-type): New binary.
29042         (bench-clean): Also remove bench-timing-type.
29043         (bench): New target for timing-type.
29044         (bench-func): Print output in JSON format.
29045         * benchtests/bench-skeleton.c (main): Print output in JSON
29046         format.
29047         * benchtests/bench-timing-type.c: New file.
29048         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
29049         (TIMING_PRINT_STATS): Remove.
29050         * benchtests/scripts/bench.py (_print_arg_data): Store variant
29051         name separately.
29053         * benchtests/bench-modf.c: Remove.
29054         * benchtests/modf-inputs: New inputs file.
29056 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
29058         [BZ #16362]
29059         * math/s_clog10.c (M_PI_LOG10E): New macro.
29060         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
29061         imaginary parts are 0.
29062         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
29063         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
29064         imaginary parts are 0.
29065         * math/s_clog10l.c (M_PI_LOG10El): New macro.
29066         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
29067         imaginary parts are 0.
29068         * math/libm-test.inc (clog10_test_data): Update expected results
29069         for when real and imaginary parts are 0.
29071 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
29073         * elf/dl-load.c: Finish conversion of __builtin_expect into
29074         __glibc_{un}likely.
29076 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
29078         [BZ #16348]
29079         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
29080         1+x for argument with exponent below -67.
29081         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
29082         Likewise.
29083         * math/auto-libm-test-in: Add more tests of exp.
29084         * math/auto-libm-test-out: Regenerated.
29086 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29088         [BZ #16759]
29089         * inet/getnetgrent_r.c (get_nonempty_val): New function.
29090         (nscd_getnetgrent): Use it.
29092         [BZ #16760]
29093         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
29094         of stpcpy.
29096 2014-03-27  Andi Kleen  <ak@linux.intel.com>
29098         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
29099         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29100         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29101         (lll_robust_unlock): Remove out of line section. Use cfi
29102         intrinsics.
29103         (LLL_STUB_UNWIND_INFO*): Remove.
29104         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
29105         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29106         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29107         (lll_robust_unlock): Remove out of line section. Use cfi
29108         intrinsics.
29109         (LLL_STUB_UNWIND_INFO*): Remove.
29111 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29113         [BZ #16758]
29114         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
29115         blank values.
29117 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
29119         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
29121 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
29123         [BZ #16198]
29124         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
29125         fnstenv.
29126         * math/test-fenv-preserve.c: New file.
29127         * math/Makefile (tests): Add test-fenv-preserve.
29129 2014-03-26  Will Newton <will.newton@linaro.org>
29131         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
29133 2014-03-25  Roland McGrath  <roland@hack.frob.com>
29135         * scripts/versionlist.awk: Partition the version sets and emit all
29136         GLIBC_* (sorted) before all others (sorted).
29138 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29140         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
29141         GLIBC_2.2.5 version.
29143 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29145         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
29146         calls.
29148         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
29149         previous change.
29151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29153 2014-03-25  Andreas Schwab  <schwab@suse.de>
29155         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
29156         label to be used after in6ailist is initialized.
29158 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29160         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29161         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29163 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29165         [BZ #16357]
29166         [BZ #16599]
29167         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
29168         min_plus_half.
29169         (fp_formats): Update initializers.
29170         (init_fp_formats): Initialize new field.
29171         (output_for_one_input_case): Allow underflow for results up to
29172         min_plus_half.
29173         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
29174         * math/auto-libm-test-in: Don't mark some underflows from asin and
29175         atanh as spurious.
29176         * math/auto-libm-test-out: Regenerated.
29177         * sysdeps/i386/fpu/libm-test-ulps: Update.
29178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29180 2014-03-25  Andreas Schwab  <schwab@suse.de>
29182         * libio/Makefile (tst-ftell-partial-wide-ENV)
29183         (tst-ftell-active-handler-ENV): Define.
29185 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
29187         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
29189 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29191         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
29193 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29195         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
29196         * sysdeps/x86_64/fpu/multiarch/e_exp.c
29197         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29199 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29201         [BZ #16634]
29202         * elf/dl-load.c (open_verify): Add mode parameter.
29203         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
29204         (open_path): Change from boolean 'secure' to complete flag 'mode'
29205         (_dl_map_object): Adjust.
29206         * elf/Makefile (tests): Add tst-dlopen-aout.
29207         * elf/tst-dlopen-aout.c: New test.
29209 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
29211         [BZ #16714]
29212         * sysdeps/unix/sysv/linux/s390/bits/stat.h
29213         (struct stat): Rename member pad0 to __glibc_reserved0.
29215         [BZ #16712]
29216         * sysdeps/s390/s390-32/bits/wordsize.h
29217         (__WORDSIZE32_SIZE_ULONG): New define.
29218         * sysdeps/s390/s390-64/bits/wordsize.h
29219         (__WORDSIZE32_SIZE_ULONG): Likewise.
29220         * sysdeps/generic/stdint.h (SIZE_MAX):
29221         Define as UL if __WORDSIZE32_SIZE_ULONG.
29223         [BZ #16713]
29224         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
29225         (__glibc_reserved0): New variable.
29226         (sa_flags): Change type to int.
29228         * posix/Makefile (before-compile): Use += before-compile instead
29229         of a :=.
29231         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29232         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29234 2014-03-20  Andreas Schwab  <schwab@suse.de>
29236         [BZ #16743]
29237         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
29238         non-matching result from nscd.
29240 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29242         * scripts/bench.py: Moved to ...
29243         * benchtests/scripts/bench.py: ... here.
29244         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
29246 2014-03-24  Andreas Schwab  <schwab@suse.de>
29248         [BZ #16002]
29249         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
29250         alloca_account and account alloca use for struct in6ailist.
29252 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29254         [BZ #16284]
29255         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
29256         rounding mode to recompute results that overflow to infinity or
29257         underflow to zero.
29258         * math/auto-libm-test-in: Don't mark tests as expected to fail for
29259         bug 16284.
29260         * math/auto-libm-test-out: Regenerated.
29261         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
29262         (ccosh_test): Likewise.
29263         (csin_test_data): Use plus_oflow.
29264         (csin_test): Use ALL_RM_TEST.
29265         (csinh_test_data): Use plus_oflow.
29266         (csinh_test): Use ALL_RM_TEST.
29267         * sysdeps/i386/fpu/libm-test-ulps: Update.
29268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29270 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
29272         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
29273         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
29274         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
29276         [BZ #16731]
29277         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
29278         when x - 1 is zero.
29279         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
29280         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
29281         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29282         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
29283         argument is 1.
29284         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
29285         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
29286         zero.
29287         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
29288         * sysdeps/i386/fpu/libm-test-ulps: Update.
29289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29291 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29293         * scripts/bench.pl: Remove file.
29294         * scripts/bench.py: New benchmark script.
29295         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
29296         * benchtests/README: Mention python dependency.
29297         * scripts/pylintrc: New file.
29298         * scripts/pylint: New file.
29300         * bits/mathdef.h: Use #ifdef instead of #if.
29301         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
29302         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29303         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
29304         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29305         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
29306         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29308 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29309             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29311         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
29312         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
29313         and strpbrk-ppc64 objects.
29314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29315         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
29316         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
29317         multiarch strpbrk for POWER7.
29318         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
29319         multiarch strpbrk for PPC64.
29320         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
29321         ifunc selector.
29322         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
29323         strpbrk for POWER7.
29325 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29327         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
29328         (atan_test): Likewise.
29329         (atanh_test_data): Use NO_TEST_INLINE for two tests.
29330         (atanh_test): Use ALL_RM_TEST.
29331         (atan2_test_data): Likewise.
29332         (cabs_test): Likewise.
29333         (cacosh_test): Likewise.
29334         (carg_test): Likewise.
29335         (casin_test): Likewise.
29336         (casinh_test): Likewise.
29337         (cbrt_test): Likewise.
29338         (csqrt_test): Likewise.
29339         (erf_test): Likewise.
29340         (erfc_test): Likewise.
29341         (pow10_test): Likewise.
29342         (exp2_test): Likewise.
29343         (hypot_test): Likewise.
29344         (j0_test): Likewise.
29345         (j1_test): Likewise.
29346         (lgamma_test): Likewise.
29347         (gamma_test): Likewise.
29348         (sincos_test): Likewise.
29349         (tanh_test): Likewise.
29350         (y0_test): Likewise.
29351         (y1_test): Likewise.
29352         * sysdeps/i386/fpu/libm-test-ulps: Update.
29353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29355 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29357         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
29358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
29359         and strcspn-ppc64 objects.
29360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29361         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
29362         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
29363         multiarch strcspn for POWER7.
29364         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
29365         multiarch strcspn for PPC64.
29366         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
29367         ifunc selector.
29368         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
29369         strcspn for POWER7.
29371 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29373         * math/gen-libm-test.pl (generate_testfile): Expect only function
29374         name as argument to AUTO_TESTS_* and pass results for all rounding
29375         modes to parse_args.
29376         (parse_auto_input): Separate inputs of automatic tests from
29377         outputs before storing in %auto_tests.
29378         * math/libm-test.inc (acos_test_data): Update call to
29379         AUTO_TESTS_f_f.
29380         (acos_test): Use ALL_RM_TEST.
29381         (acos_tonearest_test_data): Remove.
29382         (acos_test_tonearest): Likewise.
29383         (acos_towardzero_test_data): Likewise.
29384         (acos_test_towardzero): Likewise.
29385         (acos_downward_test_data): Likewise.
29386         (acos_test_downward): Likewise.
29387         (acos_upward_test_data): Likewise.
29388         (acos_test_upward): Likewise.
29389         (acosh_test_data): Update call to AUTO_TESTS_f_f.
29390         (asin_test_data): Likewise.
29391         (asin_test): Use ALL_RM_TEST.
29392         (asin_tonearest_test_data): Remove.
29393         (asin_test_tonearest): Likewise.
29394         (asin_towardzero_test_data): Likewise.
29395         (asin_test_towardzero): Likewise.
29396         (asin_downward_test_data): Likewise.
29397         (asin_test_downward): Likewise.
29398         (asin_upward_test_data): Likewise.
29399         (asin_test_upward): Likewise.
29400         (asinh_test_data): Update call to AUTO_TESTS_f_f.
29401         (atan_test_data): Likewise.
29402         (atanh_test_data): Likewise.
29403         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
29404         (cabs_test_data): Update call to AUTO_TESTS_c_f.
29405         (carg_test_data): Likewise.
29406         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
29407         (ccos_test_data): Update call to AUTO_TESTS_c_c.
29408         (ccosh_test_data): Likewise.
29409         (cexp_test_data): Likewise.
29410         (clog_test_data): Likewise.
29411         (clog10_test_data): Likewise.
29412         (cos_test_data): Update call to AUTO_TESTS_f_f.
29413         (cos_test): Use ALL_RM_TEST.
29414         (cos_tonearest_test_data): Remove.
29415         (cos_test_tonearest): Likewise.
29416         (cos_towardzero_test_data): Likewise.
29417         (cos_test_towardzero): Likewise.
29418         (cos_downward_test_data): Likewise.
29419         (cos_test_downward): Likewise.
29420         (cos_upward_test_data): Likewise.
29421         (cos_test_upward): Likewise.
29422         (cosh_test_data): Update call to AUTO_TESTS_f_f.
29423         (cosh_test): Use ALL_RM_TEST.
29424         (cosh_tonearest_test_data): Remove.
29425         (cosh_test_tonearest): Likewise.
29426         (cosh_towardzero_test_data): Likewise.
29427         (cosh_test_towardzero): Likewise.
29428         (cosh_downward_test_data): Likewise.
29429         (cosh_test_downward): Likewise.
29430         (cosh_upward_test_data): Likewise.
29431         (cosh_test_upward): Likewise.
29432         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
29433         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
29434         (ctan_test_data): Likewise.
29435         (ctan_test): Use ALL_RM_TEST.
29436         (ctan_tonearest_test_data): Remove.
29437         (ctan_test_tonearest): Likewise.
29438         (ctan_towardzero_test_data): Likewise.
29439         (ctan_test_towardzero): Likewise.
29440         (ctan_downward_test_data): Likewise.
29441         (ctan_test_downward): Likewise.
29442         (ctan_upward_test_data): Likewise.
29443         (ctan_test_upward): Likewise.
29444         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
29445         (ctanh_test): Use ALL_RM_TEST.
29446         (ctanh_tonearest_test_data): Remove.
29447         (ctanh_test_tonearest): Likewise.
29448         (ctanh_towardzero_test_data): Likewise.
29449         (ctanh_test_towardzero): Likewise.
29450         (ctanh_downward_test_data): Likewise.
29451         (ctanh_test_downward): Likewise.
29452         (ctanh_upward_test_data): Likewise.
29453         (ctanh_test_upward): Likewise.
29454         (erf_test_data): Update call to AUTO_TESTS_f_f.
29455         (erfc_test_data): Likewise.
29456         (exp_test_data): Likewise.
29457         (exp_test): Use ALL_RM_TEST.
29458         (exp_tonearest_test_data): Remove.
29459         (exp_test_tonearest): Likewise.
29460         (exp_towardzero_test_data): Likewise.
29461         (exp_test_towardzero): Likewise.
29462         (exp_downward_test_data): Likewise.
29463         (exp_test_downward): Likewise.
29464         (exp_upward_test_data): Likewise.
29465         (exp_test_upward): Likewise.
29466         (exp10_test_data): Update call to AUTO_TESTS_f_f.
29467         (exp10_test): Use ALL_RM_TEST.
29468         (exp10_tonearest_test_data): Remove.
29469         (exp10_test_tonearest): Likewise.
29470         (exp10_towardzero_test_data): Likewise.
29471         (exp10_test_towardzero): Likewise.
29472         (exp10_downward_test_data): Likewise.
29473         (exp10_test_downward): Likewise.
29474         (exp10_upward_test_data): Likewise.
29475         (exp10_test_upward): Likewise.
29476         (exp2_test_data): Update call to AUTO_TESTS_f_f.
29477         (expm1_test_data): Likewise.
29478         (expm1_test): Use ALL_RM_TEST.
29479         (expm1_tonearest_test_data): Remove.
29480         (expm1_test_tonearest): Likewise.
29481         (expm1_towardzero_test_data): Likewise.
29482         (expm1_test_towardzero): Likewise.
29483         (expm1_downward_test_data): Likewise.
29484         (expm1_test_downward): Likewise.
29485         (expm1_upward_test_data): Likewise.
29486         (expm1_test_upward): Likewise.
29487         (fma_test_data): Update call to AUTO_TESTS_fff_f.
29488         (fma_test): Use ALL_RM_TEST.
29489         (fma_towardzero_test_data): Remove.
29490         (fma_test_towardzero): Likewise.
29491         (fma_downward_test_data): Likewise.
29492         (fma_test_downward): Likewise.
29493         (fma_upward_test_data): Likewise.
29494         (fma_test_upward): Likewise.
29495         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
29496         (j0_test_data): Update call to AUTO_TESTS_f_f.
29497         (j1_test_data): Likewise.
29498         (jn_test_data): Update call to AUTO_TESTS_if_f.
29499         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
29500         (log_test_data): Update call to AUTO_TESTS_f_f.
29501         (log10_test_data): Likewise.
29502         (log1p_test_data): Likewise.
29503         (log2_test_data): Likewise.
29504         (pow_test_data): Update call to AUTO_TESTS_ff_f.
29505         (pow_tonearest_test_data): Likewise.
29506         (sin_test_data): Update call to AUTO_TESTS_f_f.
29507         (sin_test): Use ALL_RM_TEST.
29508         (sin_tonearest_test_data): Remove.
29509         (sin_test_tonearest): Likewise.
29510         (sin_towardzero_test_data): Likewise.
29511         (sin_test_towardzero): Likewise.
29512         (sin_downward_test_data): Likewise.
29513         (sin_test_downward): Likewise.
29514         (sin_upward_test_data): Likewise.
29515         (sin_test_upward): Likewise.
29516         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
29517         (sinh_test_data): Update call to AUTO_TESTS_f_f.
29518         (sinh_test): Use ALL_RM_TEST.
29519         (sinh_tonearest_test_data): Remove.
29520         (sinh_test_tonearest): Likewise.
29521         (sinh_towardzero_test_data): Likewise.
29522         (sinh_test_towardzero): Likewise.
29523         (sinh_downward_test_data): Likewise.
29524         (sinh_test_downward): Likewise.
29525         (sinh_upward_test_data): Likewise.
29526         (sinh_test_upward): Likewise.
29527         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
29528         (sqrt_test): Use ALL_RM_TEST.
29529         (sqrt_tonearest_test_data): Remove.
29530         (sqrt_test_tonearest): Likewise.
29531         (sqrt_towardzero_test_data): Likewise.
29532         (sqrt_test_towardzero): Likewise.
29533         (sqrt_downward_test_data): Likewise.
29534         (sqrt_test_downward): Likewise.
29535         (sqrt_upward_test_data): Likewise.
29536         (sqrt_test_upward): Likewise.
29537         (tan_test_data): Update call to AUTO_TESTS_f_f.
29538         (tan_test): Use ALL_RM_TEST.
29539         (tan_tonearest_test_data): Remove.
29540         (tan_test_tonearest): Likewise.
29541         (tan_towardzero_test_data): Likewise.
29542         (tan_test_towardzero): Likewise.
29543         (tan_downward_test_data): Likewise.
29544         (tan_test_downward): Likewise.
29545         (tan_upward_test_data): Likewise.
29546         (tan_test_upward): Likewise.
29547         (tanh_test_data): Update call to AUTO_TESTS_f_f.
29548         (tgamma_test_data): Likewise.
29549         (y0_test_data): Likewise.
29550         (y1_test_data): Likewise.
29551         (yn_test_data): Update call to AUTO_TESTS_if_f.
29552         (main): Do not call removed functions.
29554 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
29556         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
29557         (ldexp_test_data): Remove.
29558         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
29559         scalbn_test_data.
29560         (scalb_test): Use ALL_RM_TEST.
29562 2014-03-19  Andreas Schwab  <schwab@suse.de>
29564         * nscd/nscd.service: Also invalidate netgroup cache on reload.
29566 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
29568         [BZ #16649]
29569         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29570         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
29571         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
29572         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29573         (__ASSUME_PREADV): Undefine.
29574         (__ASSUME_PWRITEV): Likewise.
29576 2014-03-18  Roland McGrath  <roland@hack.frob.com>
29578         * bits/mman-linux.h: Add comment about non-Linux use.
29579         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
29580         bits/mman-linux.h resting place.
29582         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
29583         * bits/mman-linux.h: ... here.
29585 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29587         * conform/conformtest.pl: Add standard definition when calling C
29588         preprocessor on data files.
29589         (checknamespace): Remove unused variable.
29591 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
29593         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
29594         minus_oflow, plus_uflow and minus_uflow in expected results.
29595         * math/libm-test.inc (scalbn_test_data): Add more tests of
29596         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
29597         minus_uflow.
29598         (scalbn_test): Use ALL_RM_TEST.
29599         (scalbln_test_data): Add more tests of negative arguments.  Use
29600         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
29601         (scalbln_test): Use ALL_RM_TEST.
29603 2014-03-18  Roland McGrath  <roland@hack.frob.com>
29605         * scripts/abilist.awk: Ignore symbols marked with .hidden.
29607 2014-03-18  Will Newton  <will.newton@linaro.org>
29609         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
29610         inaccurate comment.
29612 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
29614         * Makerules [!subdir] (check-abi): Exit with error status if a
29615         test failed.
29617 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
29619         * math/libm-test.inc (nearbyint_test_data): Include all tests used
29620         for rint.  Include results for all rounding modes.
29621         (nearbyint_test): Use ALL_RM_TEST.
29622         (rint_test_data): Include all tests used for nearbyint.
29624 2014-03-17  Will Newton  <will.newton@linaro.org>
29626         * nptl/sysdeps/pthread/pthread.h: Revert previous
29627         change.
29629         * sysdeps/generic/ldsodefs.h: Revert previous
29630         change.
29632         * libio/genops.c: Revert previous change.
29633         * libio/libioP.h: Likewise.
29634         * stdio-common/vfprintf.c: Likewise.
29636         * sysdeps/generic/math_private.h: Revert previous
29637         change.
29639         * sysdeps/generic/math_private.h: Check whether
29640         HAVE_RM_CTX is defined with #ifdef rather
29641         than #if.
29643         * argp/argp-fmtstream.h: Check whether
29644         __STRICT_ANSI__ is defined with #ifdef rather
29645         than #if.
29646         * argp/argp.h: Likewise.
29648         * libio/genops.c: Check whether
29649         _IO_JUMPS_OFFSET is defined with #ifdef rather
29650         than #if.
29651         * libio/libioP.h: Likewise.
29652         * stdio-common/vfprintf.c: Likewise.
29654         * sysdeps/generic/ldsodefs.h: Check whether
29655         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
29656         than #if.
29658         * nptl/sysdeps/pthread/pthread.h: Check
29659         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
29660         its value.
29662 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29664         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
29665         setting O_APPEND.
29666         * libio/tst-ftell-active-handler.c (do_append_test): Add a
29667         test case.
29669         [BZ #16680]
29670         * libio/fileops.c (_IO_file_open): Seek to end of file but
29671         don't cache the offset.
29672         (get_file_offset): Remove function.
29673         (do_ftell): Use cached offset when available.
29674         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
29675         don't cache the offset.
29676         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
29677         case.
29678         (do_one_test): Call it.
29679         (do_ftell_test): Fix up expected old offset for a+ mode.
29680         * libio/wfileops.c (do_ftell_wide): Used cached offset when
29681         available.
29683         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
29684         up test status with function return status.
29685         (do_write_test): Likewise.
29686         (do_append_test): Likewise.
29688         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
29689         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
29690         Remove.
29692 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
29694         * math/gen-libm-test.pl (parse_args): Handle results specified for
29695         each rounding mode separately.
29696         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
29697         tests and results from lrint_tonearest_test_data,
29698         lrint_towardzero_test_data, lrint_downward_test_data and
29699         lrint_upward_test_data.
29700         (lrint_test): Use ALL_RM_TEST.
29701         (lrint_tonearest_test_data): Remove.
29702         (lrint_test_tonearest): Likewise.
29703         (lrint_towardzero_test_data): Likewise.
29704         (lrint_test_towardzero): Likewise.
29705         (lrint_downward_test_data): Likewise.
29706         (lrint_test_downward): Likewise.
29707         (lrint_upward_test_data): Likewise.
29708         (lrint_test_upward): Likewise.
29709         (llrint_test_data): Merge in per-rounding-mode tests and results
29710         from llrint_tonearest_test_data, llrint_towardzero_test_data,
29711         llrint_downward_test_data and llrint_upward_test_data.
29712         (llrint_test): Use ALL_RM_TEST.
29713         (llrint_tonearest_test_data): Remove.
29714         (llrint_test_tonearest): Likewise.
29715         (llrint_towardzero_test_data): Likewise.
29716         (llrint_test_towardzero): Likewise.
29717         (llrint_downward_test_data): Likewise.
29718         (llrint_test_downward): Likewise.
29719         (llrint_upward_test_data): Likewise.
29720         (llrint_test_upward): Likewise.
29721         (rint_test_data): Merge in per-rounding-mode tests and results
29722         from rint_tonearest_test_data, rint_towardzero_test_data,
29723         rint_downward_test_data and rint_upward_test_data.  Add
29724         per-rounding-mode results for tests not in those arrays.
29725         (rint_test): Use ALL_RM_TEST.
29726         (rint_tonearest_test_data): Remove.
29727         (rint_test_tonearest): Likewise.
29728         (rint_towardzero_test_data): Likewise.
29729         (rint_test_towardzero): Likewise.
29730         (rint_downward_test_data): Likewise.
29731         (rint_test_downward): Likewise.
29732         (rint_upward_test_data): Likewise.
29733         (rint_test_upward): Likewise.
29734         (main): Don't call removed functions.
29736 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29738         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
29739         "Compiled on ..." crapola.  It is anti-useful.
29741 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
29743         * scripts/evaluate-test.sh: Handle fourth argument to determine
29744         whether test run should stop on failure.
29745         * Makeconfig (stop-on-test-failure): New variable.
29746         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
29747         $(stop-on-test-failure).
29748         * Makefile (tests): Give a summary of results from testing and
29749         exit with failure status if they include an ERROR or FAIL.
29750         (xtests): Likewise.
29751         * manual/install.texi (Configuring and compiling): Mention
29752         stop-on-test-failure=y.
29753         * INSTALL: Regenerated.
29755 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29757         * scripts/versionlist.awk: New file.
29758         * Makerules [$(build-shared) = yes]
29759         (postclean-generated): Add Versions.def, not Versions.def.v and
29760         Versions.def.v.i.
29761         ($(common-objpfx)Versions.def.v.i): Target removed.
29762         ($(common-objpfx)Versions.def): New target.
29763         ($(common-objpfx)Versions.all): Depend on that rather that
29764         $(common-objpfx)Versions.def.v.
29765         * Versions.def: File removed.
29767         * Makeconfig (+gccwarn): Add -Wundef.
29768         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
29769         a dl-sysdep.h breaking its contract.
29770         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
29771         * include/stackinfo.h: New file.
29772         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
29773         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
29774         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
29775         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
29776         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
29777         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
29778         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29779         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29780         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29781         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29782         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29783         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
29784         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29785         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29786         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29788 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29790         [BZ #16707]
29791         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
29792         implementation.
29793         * math/libm-test.inc (round_test_data): Add more tests.
29795         [BZ #16706]
29796         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
29797         implementation.
29798         * math/libm-test.inc (nearbyint_test_data): Add more tests.
29800         [BZ #16701]
29801         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
29802         implementation.
29803         * math/libm-test.inc (ceil_test_data): Add more tests.
29805         * math/libm-test.inc (trunc_test_data): Add more tests related to
29806         BZ#16414.
29808 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29810         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
29811         with #if rather than #ifdef.
29812         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
29814 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
29816         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
29817         first.  Disable AVX-512 GCC support if assembler doesn't support
29818         it.
29819         * sysdeps/x86_64/configure: Regenerated.
29821 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
29823         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
29824         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
29825         (__old_pthread_attr_setstack): Likewise.
29826         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
29827         [!_STACK_GROWS_DOWN]: Likewise.
29829 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
29831         * config.make.in (have-bash2): Delete.
29832         * configure.ac (libc_cv_have_bash2): Delete.
29833         * configure: Regenerate.
29834         * elf/Makefile (common-ldd-rewrite): Rename to ...
29835         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
29836         (sh-ldd-rewrite): Delete.
29837         (bash-ldd-rewrite): Delete.
29838         (have-bash2): Delete checks.
29839         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
29840         ldd-rewrite.
29842         * config.make.in (have-ksh): Delete.
29843         (KSH): Delete.
29844         * configure.ac (libc_cv_have_ksh): Delete.
29845         * configure: Regenerate.
29847         * elf/Makefile: Delete $(have-ksh) check.
29848         ($(objpfx)sotruss): Change KSH to BASH.
29849         * elf/sotruss.ksh: Rename to ...
29850         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
29851         function style to match POSIX.  Drop ksh vim mode setting.
29853         * manual/time.texi (Specifying the Time Zone with TZ): Change
29854         Tuesday to Thursday.
29856         * debug/tst-longjmp_chk2.c: Update header comment.
29857         (stackoverflow_handler): Add comment.  Call assert on pass value.
29859 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
29861         [BZ #16194]
29862         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
29863         (HAVE_AVX512_ASM_SUPPORT): Likewise.
29864         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
29865         (La_x86_64_vector): Add zmm.
29866         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
29867         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
29868         ($(objpfx)tst-audit10): New target.
29869         ($(objpfx)tst-audit10.out): Likewise.
29870         (tst-audit10-ENV): New.
29871         (AVX512-CFLAGS): Likewise.
29872         (CFLAGS-tst-audit10.c): Likewise.
29873         (CFLAGS-tst-auditmod10a.c): Likewise.
29874         (CFLAGS-tst-auditmod10b.c): Likewise.
29875         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
29876         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
29877         * sysdeps/x86_64/configure: Regenerated.
29878         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
29879         AVX-512 zmm register support.
29880         (_dl_x86_64_save_sse): Likewise.
29881         (_dl_x86_64_restore_sse): Likewise.
29882         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
29883         size vector registers.
29884         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
29885         (ZMM_SIZE): Likewise.
29886         * sysdeps/x86_64/tst-audit10.c: New file.
29887         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
29888         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
29890 2014-03-13  Roland McGrath  <roland@hack.frob.com>
29892         * configure.ac (HAVE_EHDR_START): New check.
29893         * configure: Regenerated.
29894         * config.h.in (HAVE_EHDR_START): New #undef.
29895         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
29896         assuming the lowest-addressed segment maps the start of the file.
29898 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
29900         * INSTALL: Regenerated.
29902 2014-03-13  Will Newton  <will.newton@linaro.org>
29904         * manual/setjmp.texi (System V contexts): Improve
29905         clarity and grammar of documentation.
29907 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29909         [BZ #16381]
29910         * elf/Makefile (tests): Add tst-pie2.
29911         (tests-pie): Add tst-pie2.
29912         * elf/tst-pie2.c: New file.
29913         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
29914         for ET_EXEC.
29915         * elf/rtld.c (map_doit): Load executable as lt_executable.
29916         (dl_main): Likewise.
29918 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
29920         [BZ #16642]
29921         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29922         (__ASSUME_PSELECT): Undefine.
29924 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29926         [BZ #16689]
29927         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
29928         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
29929         static build.
29930         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
29931         selector for static builds.
29933 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29935         [BZ #16695]
29936         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
29937         key in the buffer.
29939 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29941         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
29942         IFUNC selector for static builds.
29944 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
29946         * sysdeps/mips/math_private.h [__mips_hard_float]
29947         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
29948         libc_feresetround_mips_ctx.
29949         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
29950         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
29951         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
29953         [BZ #16677]
29954         * math/s_nextafter.c (__nextafter): Do not return value from
29955         overflowing computation.
29956         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
29957         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
29958         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
29959         Likewise.
29960         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
29961         Likewise.
29962         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
29963         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
29965 2014-03-11  Roland McGrath  <roland@hack.frob.com>
29967         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
29968         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
29969         Move sfi_sp use from the load-multiple (that no longer sets sp) to
29970         the new mov targetting sp.
29972 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29974         [BZ #16683]
29975         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
29976         Define it for static builds as well.
29977         (NO_BZERO_IMPL): Likewise.
29979 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29981         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
29982         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
29983         multiarch strspn for PPC64.
29984         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
29985         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
29986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29987         (__libc_ifunc_impl_list): Likewise.
29988         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
29989         multiarch optimizations
29990         * string/strspn.c (strspn): Using macro to redefine symbol name.
29992 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29993             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29995         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
29996         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
29997         multiarch strncat for PPC64.
29998         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
29999         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
30000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30001         (__libc_ifunc_impl_list): Likewise.
30002         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
30003         multiarch optimizations
30005 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30007         [BZ #16639]
30008         * nscd/nscd.service: Make service type forking.
30010 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30012         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
30013         sign in non default rounding modes.
30014         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
30016 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
30018         * math/libm-test.inc (ALL_RM_TEST): New macro.
30019         (ceil_test): Use ALL_RM_TEST.
30020         (cimag_test): Likewise.
30021         (conj_test): Likewise.
30022         (copysign_test): Likewise.
30023         (cproj_test): Likewise.
30024         (creal_test): Likewise.
30025         (fabs_test): Likewise.
30026         (floor_test): Likewise.
30027         (fmax_test): Likewise.
30028         (fmin_test): Likewise.
30029         (fmod_test): Likewise.
30030         (fpclassify_test): Likewise.
30031         (frexp_test): Likewise.
30032         (ilogb_test): Likewise.
30033         (isfinite_test): Likewise.
30034         (finite_test): Likewise.
30035         (isgreater_test): Likewise.
30036         (isgreaterequal_test): Likewise.
30037         (isinf_test): Likewise.
30038         (isless_test): Likewise.
30039         (islessequal_test): Likewise.
30040         (islessgreater_test): Likewise.
30041         (isnan_test): Likewise.
30042         (isnormal_test): Likewise.
30043         (issignaling_test): Likewise.
30044         (isunordered_test): Likewise.
30045         (logb_test): Likewise.
30046         (logb_downward_test_data): Remove.
30047         (logb_test_downward): Likewise.
30048         (lround_test): Use ALL_RM_TEST.
30049         (llround_test): Likewise.
30050         (modf_test): Likewise.
30051         (nexttoward_test): Likewise.
30052         (remainder_test): Likewise.
30053         (drem_test): Likewise.
30054         (remainder_tonearest_test_data): Likewise.
30055         (remainder_test_tonearest): Likewise.
30056         (drem_test_tonearest): Likewise.
30057         (remainder_towardzero_test_data): Likewise.
30058         (remainder_test_towardzero): Likewise.
30059         (drem_test_towardzero): Likewise.
30060         (remainder_downward_test_data): Likewise.
30061         (remainder_test_downward): Likewise.
30062         (drem_test_downward): Likewise.
30063         (remainder_upward_test_data): Likewise.
30064         (remainder_test_upward): Likewise.
30065         (drem_test_upward): Likewise.
30066         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
30067         (round_test): Use ALL_RM_TEST.
30068         (signbit_test): Likewise.
30069         (trunc_test): Likewise.
30070         (significand_test): Likewise.
30071         (main): Don't call removed functions.
30073 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30075         [BZ #16674]
30076         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
30077         || __USE_XOPEN2K8].
30078         (ILL_ILLOPN): Likewise.
30079         (ILL_ILLADR): Likewise.
30080         (ILL_ILLTRP): Likewise.
30081         (ILL_PRVOPC): Likewise.
30082         (ILL_PRVREG): Likewise.
30083         (ILL_COPROC): Likewise.
30084         (ILL_BADSTK): Likewise.
30085         (FPE_INTDIV): Likewise.
30086         (FPE_INTOVF): Likewise.
30087         (FPE_FLTDIV): Likewise.
30088         (FPE_FLTOVF): Likewise.
30089         (FPE_FLTUND): Likewise.
30090         (FPE_FLTRES): Likewise.
30091         (FPE_FLTINV): Likewise.
30092         (FPE_FLTSUB): Likewise.
30093         (SEGV_MAPERR): Likewise.
30094         (SEGV_ACCERR): Likewise.
30095         (BUS_ADRALN): Likewise.
30096         (BUS_ADRERR): Likewise.
30097         (BUS_OBJERR): Likewise.
30098         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30099         (TRAP_TRACE): Likewise.
30100         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30101         __USE_XOPEN2K8].
30102         (CLD_KILLED): Likewise.
30103         (CLD_DUMPED): Likewise.
30104         (CLD_TRAPPED): Likewise.
30105         (CLD_STOPPED): Likewise.
30106         (CLD_CONTINUED): Likewise.
30107         (POLL_IN): Likewise.
30108         (POLL_OUT): Likewise.
30109         (POLL_MSG): Likewise.
30110         (POLL_ERR): Likewise.
30111         (POLL_PRI): Likewise.
30112         (POLL_HUP): Likewise.
30113         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
30114         Likewise.
30115         (ILL_ILLOPN): Likewise.
30116         (ILL_ILLADR): Likewise.
30117         (ILL_ILLTRP): Likewise.
30118         (ILL_PRVOPC): Likewise.
30119         (ILL_PRVREG): Likewise.
30120         (ILL_COPROC): Likewise.
30121         (ILL_BADSTK): Likewise.
30122         (FPE_INTDIV): Likewise.
30123         (FPE_INTOVF): Likewise.
30124         (FPE_FLTDIV): Likewise.
30125         (FPE_FLTOVF): Likewise.
30126         (FPE_FLTUND): Likewise.
30127         (FPE_FLTRES): Likewise.
30128         (FPE_FLTINV): Likewise.
30129         (FPE_FLTSUB): Likewise.
30130         (SEGV_MAPERR): Likewise.
30131         (SEGV_ACCERR): Likewise.
30132         (BUS_ADRALN): Likewise.
30133         (BUS_ADRERR): Likewise.
30134         (BUS_OBJERR): Likewise.
30135         (BUS_MCEERR_AR): Likewise.
30136         (BUS_MCEERR_AO): Likewise.
30137         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30138         (TRAP_TRACE): Likewise.
30139         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30140         __USE_XOPEN2K8].
30141         (CLD_KILLED): Likewise.
30142         (CLD_DUMPED): Likewise.
30143         (CLD_TRAPPED): Likewise.
30144         (CLD_STOPPED): Likewise.
30145         (CLD_CONTINUED): Likewise.
30146         (POLL_IN): Likewise.
30147         (POLL_OUT): Likewise.
30148         (POLL_MSG): Likewise.
30149         (POLL_ERR): Likewise.
30150         (POLL_PRI): Likewise.
30151         (POLL_HUP): Likewise.
30152         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
30153         (ILL_ILLOPN): Likewise.
30154         (ILL_ILLADR): Likewise.
30155         (ILL_ILLTRP): Likewise.
30156         (ILL_PRVOPC): Likewise.
30157         (ILL_PRVREG): Likewise.
30158         (ILL_COPROC): Likewise.
30159         (ILL_BADSTK): Likewise.
30160         (FPE_INTDIV): Likewise.
30161         (FPE_INTOVF): Likewise.
30162         (FPE_FLTDIV): Likewise.
30163         (FPE_FLTOVF): Likewise.
30164         (FPE_FLTUND): Likewise.
30165         (FPE_FLTRES): Likewise.
30166         (FPE_FLTINV): Likewise.
30167         (FPE_FLTSUB): Likewise.
30168         (SEGV_MAPERR): Likewise.
30169         (SEGV_ACCERR): Likewise.
30170         (BUS_ADRALN): Likewise.
30171         (BUS_ADRERR): Likewise.
30172         (BUS_OBJERR): Likewise.
30173         (BUS_MCEERR_AR): Likewise.
30174         (BUS_MCEERR_AO): Likewise.
30175         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30176         (TRAP_TRACE): Likewise.
30177         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30178         __USE_XOPEN2K8].
30179         (CLD_KILLED): Likewise.
30180         (CLD_DUMPED): Likewise.
30181         (CLD_TRAPPED): Likewise.
30182         (CLD_STOPPED): Likewise.
30183         (CLD_CONTINUED): Likewise.
30184         (POLL_IN): Likewise.
30185         (POLL_OUT): Likewise.
30186         (POLL_MSG): Likewise.
30187         (POLL_ERR): Likewise.
30188         (POLL_PRI): Likewise.
30189         (POLL_HUP): Likewise.
30190         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
30191         Likewise.
30192         (ILL_ILLOPN): Likewise.
30193         (ILL_ILLADR): Likewise.
30194         (ILL_ILLTRP): Likewise.
30195         (ILL_PRVOPC): Likewise.
30196         (ILL_PRVREG): Likewise.
30197         (ILL_COPROC): Likewise.
30198         (ILL_BADSTK): Likewise.
30199         (ILL_BADIADDR): Likewise.
30200         (ILL_BREAK): Likewise.
30201         (FPE_INTDIV): Likewise.
30202         (FPE_INTOVF): Likewise.
30203         (FPE_FLTDIV): Likewise.
30204         (FPE_FLTOVF): Likewise.
30205         (FPE_FLTUND): Likewise.
30206         (FPE_FLTRES): Likewise.
30207         (FPE_FLTINV): Likewise.
30208         (FPE_FLTSUB): Likewise.
30209         (FPE_DECOVF): Likewise.
30210         (FPE_DECDIV): Likewise.
30211         (FPE_DECERR): Likewise.
30212         (FPE_INVASC): Likewise.
30213         (FPE_INVDEC): Likewise.
30214         (SEGV_MAPERR): Likewise.
30215         (SEGV_ACCERR): Likewise.
30216         (SEGV_PSTKOVF): Likewise.
30217         (BUS_ADRALN): Likewise.
30218         (BUS_ADRERR): Likewise.
30219         (BUS_OBJERR): Likewise.
30220         (BUS_MCEERR_AR): Likewise.
30221         (BUS_MCEERR_AO): Likewise.
30222         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30223         (TRAP_TRACE): Likewise.
30224         (TRAP_BRANCH): Likewise.
30225         (TRAP_HWBKPT): Likewise.
30226         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30227         __USE_XOPEN2K8].
30228         (CLD_KILLED): Likewise.
30229         (CLD_DUMPED): Likewise.
30230         (CLD_TRAPPED): Likewise.
30231         (CLD_STOPPED): Likewise.
30232         (CLD_CONTINUED): Likewise.
30233         (POLL_IN): Likewise.
30234         (POLL_OUT): Likewise.
30235         (POLL_MSG): Likewise.
30236         (POLL_ERR): Likewise.
30237         (POLL_PRI): Likewise.
30238         (POLL_HUP): Likewise.
30239         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
30240         (ILL_ILLOPN): Likewise.
30241         (ILL_ILLADR): Likewise.
30242         (ILL_ILLTRP): Likewise.
30243         (ILL_PRVOPC): Likewise.
30244         (ILL_PRVREG): Likewise.
30245         (ILL_COPROC): Likewise.
30246         (ILL_BADSTK): Likewise.
30247         (FPE_INTDIV): Likewise.
30248         (FPE_INTOVF): Likewise.
30249         (FPE_FLTDIV): Likewise.
30250         (FPE_FLTOVF): Likewise.
30251         (FPE_FLTUND): Likewise.
30252         (FPE_FLTRES): Likewise.
30253         (FPE_FLTINV): Likewise.
30254         (FPE_FLTSUB): Likewise.
30255         (SEGV_MAPERR): Likewise.
30256         (SEGV_ACCERR): Likewise.
30257         (BUS_ADRALN): Likewise.
30258         (BUS_ADRERR): Likewise.
30259         (BUS_OBJERR): Likewise.
30260         (BUS_MCEERR_AR): Likewise.
30261         (BUS_MCEERR_AO): Likewise.
30262         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30263         (TRAP_TRACE): Likewise.
30264         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30265         __USE_XOPEN2K8].
30266         (CLD_KILLED): Likewise.
30267         (CLD_DUMPED): Likewise.
30268         (CLD_TRAPPED): Likewise.
30269         (CLD_STOPPED): Likewise.
30270         (CLD_CONTINUED): Likewise.
30271         (POLL_IN): Likewise.
30272         (POLL_OUT): Likewise.
30273         (POLL_MSG): Likewise.
30274         (POLL_ERR): Likewise.
30275         (POLL_PRI): Likewise.
30276         (POLL_HUP): Likewise.
30277         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
30278         (ILL_ILLOPN): Likewise.
30279         (ILL_ILLADR): Likewise.
30280         (ILL_ILLTRP): Likewise.
30281         (ILL_PRVOPC): Likewise.
30282         (ILL_PRVREG): Likewise.
30283         (ILL_COPROC): Likewise.
30284         (ILL_BADSTK): Likewise.
30285         (FPE_INTDIV): Likewise.
30286         (FPE_INTOVF): Likewise.
30287         (FPE_FLTDIV): Likewise.
30288         (FPE_FLTOVF): Likewise.
30289         (FPE_FLTUND): Likewise.
30290         (FPE_FLTRES): Likewise.
30291         (FPE_FLTINV): Likewise.
30292         (FPE_FLTSUB): Likewise.
30293         (SEGV_MAPERR): Likewise.
30294         (SEGV_ACCERR): Likewise.
30295         (BUS_ADRALN): Likewise.
30296         (BUS_ADRERR): Likewise.
30297         (BUS_OBJERR): Likewise.
30298         (BUS_MCEERR_AR): Likewise.
30299         (BUS_MCEERR_AO): Likewise.
30300         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30301         (TRAP_TRACE): Likewise.
30302         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30303         __USE_XOPEN2K8].
30304         (CLD_KILLED): Likewise.
30305         (CLD_DUMPED): Likewise.
30306         (CLD_TRAPPED): Likewise.
30307         (CLD_STOPPED): Likewise.
30308         (CLD_CONTINUED): Likewise.
30309         (POLL_IN): Likewise.
30310         (POLL_OUT): Likewise.
30311         (POLL_MSG): Likewise.
30312         (POLL_ERR): Likewise.
30313         (POLL_PRI): Likewise.
30314         (POLL_HUP): Likewise.
30315         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
30316         (ILL_ILLOPN): Likewise.
30317         (ILL_ILLADR): Likewise.
30318         (ILL_ILLTRP): Likewise.
30319         (ILL_PRVOPC): Likewise.
30320         (ILL_PRVREG): Likewise.
30321         (ILL_COPROC): Likewise.
30322         (ILL_BADSTK): Likewise.
30323         (FPE_INTDIV): Likewise.
30324         (FPE_INTOVF): Likewise.
30325         (FPE_FLTDIV): Likewise.
30326         (FPE_FLTOVF): Likewise.
30327         (FPE_FLTUND): Likewise.
30328         (FPE_FLTRES): Likewise.
30329         (FPE_FLTINV): Likewise.
30330         (FPE_FLTSUB): Likewise.
30331         (SEGV_MAPERR): Likewise.
30332         (SEGV_ACCERR): Likewise.
30333         (BUS_ADRALN): Likewise.
30334         (BUS_ADRERR): Likewise.
30335         (BUS_OBJERR): Likewise.
30336         (BUS_MCEERR_AR): Likewise.
30337         (BUS_MCEERR_AO): Likewise.
30338         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30339         (TRAP_TRACE): Likewise.
30340         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30341         __USE_XOPEN2K8].
30342         (CLD_KILLED): Likewise.
30343         (CLD_DUMPED): Likewise.
30344         (CLD_TRAPPED): Likewise.
30345         (CLD_STOPPED): Likewise.
30346         (CLD_CONTINUED): Likewise.
30347         (POLL_IN): Likewise.
30348         (POLL_OUT): Likewise.
30349         (POLL_MSG): Likewise.
30350         (POLL_ERR): Likewise.
30351         (POLL_PRI): Likewise.
30352         (POLL_HUP): Likewise.
30353         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
30354         (ILL_ILLOPN): Likewise.
30355         (ILL_ILLADR): Likewise.
30356         (ILL_ILLTRP): Likewise.
30357         (ILL_PRVOPC): Likewise.
30358         (ILL_PRVREG): Likewise.
30359         (ILL_COPROC): Likewise.
30360         (ILL_BADSTK): Likewise.
30361         (ILL_DBLFLT): Likewise.
30362         (ILL_HARDWALL): Likewise.
30363         (FPE_INTDIV): Likewise.
30364         (FPE_INTOVF): Likewise.
30365         (FPE_FLTDIV): Likewise.
30366         (FPE_FLTOVF): Likewise.
30367         (FPE_FLTUND): Likewise.
30368         (FPE_FLTRES): Likewise.
30369         (FPE_FLTINV): Likewise.
30370         (FPE_FLTSUB): Likewise.
30371         (SEGV_MAPERR): Likewise.
30372         (SEGV_ACCERR): Likewise.
30373         (BUS_ADRALN): Likewise.
30374         (BUS_ADRERR): Likewise.
30375         (BUS_OBJERR): Likewise.
30376         (BUS_MCEERR_AR): Likewise.
30377         (BUS_MCEERR_AO): Likewise.
30378         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30379         (TRAP_TRACE): Likewise.
30380         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30381         __USE_XOPEN2K8].
30382         (CLD_KILLED): Likewise.
30383         (CLD_DUMPED): Likewise.
30384         (CLD_TRAPPED): Likewise.
30385         (CLD_STOPPED): Likewise.
30386         (CLD_CONTINUED): Likewise.
30387         (POLL_IN): Likewise.
30388         (POLL_OUT): Likewise.
30389         (POLL_MSG): Likewise.
30390         (POLL_ERR): Likewise.
30391         (POLL_PRI): Likewise.
30392         (POLL_HUP): Likewise.
30393         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
30394         (ILL_ILLOPN): Likewise.
30395         (ILL_ILLADR): Likewise.
30396         (ILL_ILLTRP): Likewise.
30397         (ILL_PRVOPC): Likewise.
30398         (ILL_PRVREG): Likewise.
30399         (ILL_COPROC): Likewise.
30400         (ILL_BADSTK): Likewise.
30401         (FPE_INTDIV): Likewise.
30402         (FPE_INTOVF): Likewise.
30403         (FPE_FLTDIV): Likewise.
30404         (FPE_FLTOVF): Likewise.
30405         (FPE_FLTUND): Likewise.
30406         (FPE_FLTRES): Likewise.
30407         (FPE_FLTINV): Likewise.
30408         (FPE_FLTSUB): Likewise.
30409         (SEGV_MAPERR): Likewise.
30410         (SEGV_ACCERR): Likewise.
30411         (BUS_ADRALN): Likewise.
30412         (BUS_ADRERR): Likewise.
30413         (BUS_OBJERR): Likewise.
30414         (BUS_MCEERR_AR): Likewise.
30415         (BUS_MCEERR_AO): Likewise.
30416         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30417         (TRAP_TRACE): Likewise.
30418         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30419         __USE_XOPEN2K8].
30420         (CLD_KILLED): Likewise.
30421         (CLD_DUMPED): Likewise.
30422         (CLD_TRAPPED): Likewise.
30423         (CLD_STOPPED): Likewise.
30424         (CLD_CONTINUED): Likewise.
30425         (POLL_IN): Likewise.
30426         (POLL_OUT): Likewise.
30427         (POLL_MSG): Likewise.
30428         (POLL_ERR): Likewise.
30429         (POLL_PRI): Likewise.
30430         (POLL_HUP): Likewise.
30431         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
30432         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30434         [BZ #16670]
30435         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
30436         before #include of <time.h>.
30437         [!__USE_XOPEN2K] (__need_timespec): Likewise.
30438         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
30439         (test-xfail-UNIX98/sched.h/conform): Likewise.
30441 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30443         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
30444         error absence of trapping exception support.
30445         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30447 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30449         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
30450         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
30451         * timezone/Makefile (testdata): Move definition above include of
30452         Rules.
30453         (test-zones): New variable.
30454         (tests-special): Add zone files.
30455         (build-testdata): Use $(evaluate-test).
30457         * elf/Makefile (tests-special): Rename tests to end with .out.
30458         ($(objpfx)noload-mem): Likewise.
30459         ($(objpfx)tst-leaks1-mem): Likewise.
30460         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
30461         * iconv/Makefile (xtests-special): Change test-iconvconfig to
30462         $(objpfx)test-iconvconfig.out.
30463         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
30464         set -e inside subshell and redirect output to file.
30465         * iconvdata/Makefile (generated): Rename tests to end with .out.
30466         Correct type.
30467         (tests-special): Rename tests to end with .out.
30468         ($(objpfx)mtrace-tst-loading): Likewise.
30469         * intl/Makefile (generated): Likewise.
30470         (tests-special): Likewise.
30471         ($(objpfx)mtrace-tst-gettext): Likewise.
30472         * misc/Makefile (generated): Likewise.
30473         (tests-special): Likewise.
30474         ($(objpfx)tst-error1-mem): Likewise.
30475         * nptl/Makefile (tests-special): Likewise.
30476         ($(objpfx)tst-stack3-mem): Likewise.
30477         (generated): Likewise.
30478         * posix/Makefile (generated): Likewise.
30479         (tests-special): Likewise.
30480         (xtests-special): Likewise.
30481         ($(objpfx)tst-fnmatch-mem): Likewise.
30482         ($(objpfx)bug-regex2-mem): Likewise.
30483         ($(objpfx)bug-regex14-mem): Likewise.
30484         ($(objpfx)bug-regex21-mem): Likewise.
30485         ($(objpfx)bug-regex31-mem): Likewise.
30486         ($(objpfx)tst-vfork3-mem): Likewise.
30487         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30488         ($(objpfx)tst-pcre-mem): Likewise.
30489         ($(objpfx)tst-boost-mem): Likewise.
30490         ($(objpfx)bug-ga2-mem): Likewise.
30491         ($(objpfx)bug-glob2-mem): Likewise.
30492         * resolv/Makefile (generate): Likewise.
30493         (tests-special): Likewise.
30494         (xtests-special): Likewise.
30495         (generated): Likewise.
30496         ($(objpfx)mtrace-tst-leaks): Likewise.
30497         ($(objpfx)mtrace-tst-leaks2): Likewise.
30499         * scripts/merge-test-results.sh: New file.
30500         * Makefile (tests-special-notdir): New variable.
30501         (tests): Run merge-test-results.sh.
30502         (xtests): Likewise.
30503         * Rules (tests-special-notdir): New variable.
30504         (xtests-special-notdir): Likewise.
30505         (tests): Run merge-test-results.sh
30506         (xtests): Likewise.
30508         * Makeconfig (test-xfail-name): New variable.
30509         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
30510         compute variable name for expected failures.
30511         * conform/Makefile (conformtest-headers-data): New variable.
30512         (conformtest-standards): Likewise.
30513         (conformtest-headers-ISO): Likewise.
30514         (conformtest-headers-ISO99): Likewise.
30515         (conformtest-headers-ISO11): Likewise.
30516         (conformtest-headers-POSIX): Likewise.
30517         (conformtest-headers-XPG3): Likewise.
30518         (conformtest-headers-XPG4): Likewise.
30519         (conformtest-headers-UNIX98): Likewise.
30520         (conformtest-headers-XOPEN2K): Likewise.
30521         (conformtest-headers-POSIX2008): Likewise.
30522         (conformtest-headers-XOPEN2K8): Likewise.
30523         (conformtest-header-list-base): Likewise.
30524         (conformtest-header-list-tests): Likewise.
30525         (conformtest-header-base): Likewise.
30526         (conformtest-header-tests): Likewise.
30527         (tests-special): Add $(conformtest-header-list-tests).  If
30528         [$(fast-check) && !$(cross-compiling)], add
30529         $(conformtest-header-tests) instead of
30530         $(objpfx)run-conformtest.out.
30531         (generated): Add $(conformtest-header-list-base).  If
30532         [$(fast-check) && !$(cross-compiling)], add
30533         $(conformtest-header-base).  Remove previous setting.
30534         ($(conformtest-header-list-tests)): New target.
30535         (test-xfail-run-conformtest): Remove variable.
30536         ($(objpfx)run-conformtest.out): Remove target.
30537         (test-xfail-ISO11/complex.h/conform): New variable.
30538         (test-xfail-ISO11/stdalign.h/conform): Likewise.
30539         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
30540         (test-xfail-XPG3/varargs.h/conform): Likewise.
30541         (test-xfail-XPG4/varargs.h/conform): Likewise.
30542         (test-xfail-UNIX98/varargs.h/conform): Likewise.
30543         (test-xfail-XPG4/ndbm.h/conform): Likewise.
30544         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
30545         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
30546         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
30547         (test-xfail-XPG3/fcntl.h/conform): Likewise.
30548         (test-xfail-XPG3/ftw.h/conform): Likewise.
30549         (test-xfail-XPG3/grp.h/conform): Likewise.
30550         (test-xfail-XPG3/langinfo.h/conform): Likewise.
30551         (test-xfail-XPG3/limits.h/conform): Likewise.
30552         (test-xfail-XPG3/pwd.h/conform): Likewise.
30553         (test-xfail-XPG3/search.h/conform): Likewise.
30554         (test-xfail-XPG3/signal.h/conform): Likewise.
30555         (test-xfail-XPG3/stdio.h/conform): Likewise.
30556         (test-xfail-XPG3/stdlib.h/conform): Likewise.
30557         (test-xfail-XPG3/string.h/conform): Likewise.
30558         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
30559         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
30560         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
30561         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
30562         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
30563         (test-xfail-XPG3/sys/types.h/conform): Likewise.
30564         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
30565         (test-xfail-XPG3/termios.h/conform): Likewise.
30566         (test-xfail-XPG3/time.h/conform): Likewise.
30567         (test-xfail-XPG3/unistd.h/conform): Likewise.
30568         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
30569         (test-xfail-XPG4/fcntl.h/conform): Likewise.
30570         (test-xfail-XPG4/langinfo.h/conform): Likewise.
30571         (test-xfail-XPG4/netdb.h/conform): Likewise.
30572         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
30573         (test-xfail-XPG4/signal.h/conform): Likewise.
30574         (test-xfail-XPG4/stdio.h/conform): Likewise.
30575         (test-xfail-XPG4/stdlib.h/conform): Likewise.
30576         (test-xfail-XPG4/stropts.h/conform): Likewise.
30577         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
30578         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
30579         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
30580         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
30581         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
30582         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
30583         (test-xfail-XPG4/sys/time.h/conform): Likewise.
30584         (test-xfail-XPG4/sys/types.h/conform): Likewise.
30585         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
30586         (test-xfail-XPG4/termios.h/conform): Likewise.
30587         (test-xfail-XPG4/ucontext.h/conform): Likewise.
30588         (test-xfail-XPG4/unistd.h/conform): Likewise.
30589         (test-xfail-XPG4/utmpx.h/conform): Likewise.
30590         (test-xfail-POSIX/sched.h/conform): Likewise.
30591         (test-xfail-POSIX/signal.h/conform): Likewise.
30592         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30593         (test-xfail-POSIX/tar.h/conform): Likewise.
30594         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
30595         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
30596         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
30597         (test-xfail-UNIX98/netdb.h/conform): Likewise.
30598         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
30599         (test-xfail-UNIX98/sched.h/conform): Likewise.
30600         (test-xfail-UNIX98/signal.h/conform): Likewise.
30601         (test-xfail-UNIX98/stdio.h/conform): Likewise.
30602         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
30603         (test-xfail-UNIX98/stropts.h/conform): Likewise.
30604         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
30605         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
30606         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
30607         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
30608         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
30609         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
30610         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30611         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30612         (test-xfail-UNIX98/unistd.h/conform): Likewise.
30613         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
30614         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
30615         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
30616         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
30617         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
30618         (test-xfail-XOPEN2K/math.h/conform): Likewise.
30619         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
30620         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
30621         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
30622         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
30623         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30624         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
30625         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
30626         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
30627         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
30628         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
30629         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
30630         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
30631         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
30632         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30633         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
30634         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
30635         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30636         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
30637         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
30638         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
30639         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
30640         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
30641         (test-xfail-POSIX2008/signal.h/conform): Likewise.
30642         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
30643         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
30644         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30645         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
30646         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
30647         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
30648         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
30649         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
30650         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
30651         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30652         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
30653         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
30654         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
30655         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
30656         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
30657         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
30658         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
30659         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
30660         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
30661         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30662         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
30663         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
30664         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
30665         (conformtest-cc-flags): Likewise.
30666         ($(conformtest-header-tests): New target.
30667         * conform/check-header-lists.sh: New file.
30668         * conform/run-conformtest.sh: Remove.
30670         * conform/conformtest.pl: Allow ' and \ in values given for
30671         constants.
30672         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
30673         inclusion.
30674         [POSIX] (sys/types.h): Likewise.
30675         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
30676         inclusion.
30677         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
30678         inclusion.
30679         * conform/data/signal.h-data (SIGIO): Remove expectation.
30680         [XPG3] (SIGBUS): Do not expect.
30681         [POSIX || XPG3] (SIGPOLL): Likewise.
30682         [POSIX || XPG3] (SIGPROF): Likewise.
30683         [POSIX || XPG3] (SIGSYS): Likewise.
30684         [XPG3] (SIGTRAP): Likewise.
30685         [POSIX || XPG3] (SIGURG): Likewise.
30686         [POSIX || XPG3] (SIGVTALRM): Likewise.
30687         [POSIX || XPG3] (SIGXCPU): Likewise.
30688         [POSIX || XPG3] (SIGXFSZ): Likewise.
30689         [POSIX] (SA_SIGINFO): Expect.
30690         [XPG3] (siginfo_t): Do not expect type or contents.
30691         [POSIX] (si_pid): Do not expect element.
30692         [POSIX] (si_uid): Likewise.
30693         [POSIX] (si_addr): Likewise.
30694         [POSIX] (si_status): Likewise.
30695         [POSIX] (si_band): Likewise.
30696         [XPG4] (si_value): Likewise.
30697         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
30698         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
30699         [POSIX || XPG3] (ILL_ILLADR): Likewise.
30700         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
30701         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
30702         [POSIX || XPG3] (ILL_PRVREG): Likewise.
30703         [POSIX || XPG3] (ILL_COPROC): Likewise.
30704         [POSIX || XPG3] (ILL_BADSTK): Likewise.
30705         [POSIX || XPG3] (FPE_INTDIV): Likewise.
30706         [POSIX || XPG3] (FPE_INTOVF): Likewise.
30707         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
30708         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
30709         [POSIX || XPG3] (FPE_FLTUND): Likewise.
30710         [POSIX || XPG3] (FPE_FLTRES): Likewise.
30711         [POSIX || XPG3] (FPE_FLTINV): Likewise.
30712         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
30713         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
30714         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
30715         [POSIX || XPG3] (BUS_ADRALN): Likewise.
30716         [POSIX || XPG3] (BUS_ADRERR): Likewise.
30717         [POSIX || XPG3] (BUS_OBJERR): Likewise.
30718         [POSIX || XPG3] (CLD_EXITED): Likewise.
30719         [POSIX || XPG3] (CLD_KILLED): Likewise.
30720         [POSIX || XPG3] (CLD_DUMPED): Likewise.
30721         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
30722         [POSIX || XPG3] (CLD_STOPPED): Likewise.
30723         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
30724         [POSIX || XPG3] (POLL_IN): Likewise.
30725         [POSIX || XPG3] (POLL_OUT): Likewise.
30726         [POSIX || XPG3] (POLL_MSG): Likewise.
30727         [POSIX || XPG3] (POLL_ERR): Likewise.
30728         [POSIX || XPG3] (POLL_PRI): Likewise.
30729         [POSIX || XPG3] (POLL_HUP): Likewise.
30730         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
30731         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
30732         (SIG*): Do not allow.
30733         [XPG3] (si_*): Likewise.
30734         [XPG3] (SI_*): Likewise.
30735         [XPG3 || XPG4] (sigev_*): Likewise.
30736         [XPG3 || XPG4] (SIGEV_*): Likewise.
30737         [XPG3 || XPG4] (sival_*): Likewise.
30738         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
30739         [POSIX || XPG3] (BUS_*): Likewise.
30740         [POSIX || XPG3] (CLD_*): Likewise.
30741         [POSIX || XPG3] (FPE_*): Likewise.
30742         [POSIX || XPG3] (ILL_*): Likewise.
30743         [POSIX || XPG3] (POLL_*): Likewise.
30744         [POSIX || XPG3] (SEGV_*): Likewise.
30745         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
30746         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
30747         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
30748         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
30749         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
30750         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
30751         Specify type and value.
30752         (TVERSLEN): Likewise.
30753         (REGTYPE): Likewise.
30754         (AREGTYPE): Likewise.
30755         (LNKTYPE): Likewise.
30756         (SYMTYPE): Likewise.
30757         (CHRTYPE): Likewise.
30758         (BLKTYPE): Likewise.
30759         (DIRTYPE): Likewise.
30760         (FIFOTYPE): Likewise.
30761         (CONTTYPE): Likewise.
30762         (TSUID): Likewise.
30763         (TSGID): Likewise.
30764         (TSVTX): Likewise.
30765         (TUREAD): Likewise.
30766         (TUWRITE): Likewise.
30767         (TUEXEC): Likewise.
30768         (TGREAD): Likewise.
30769         (TGWRITE): Likewise.
30770         (TGEXEC): Likewise.
30771         (TOREAD): Likewise.
30772         (TOWRITE): Likewise.
30773         (TOEXEC): Likewise.
30774         [POSIX] (TSVTX): Expect constant.
30776 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
30778         * Makefile (tests): Change dependencies to ....
30779         (tests-special): ... additions to this variable.
30780         (tests): Depend on $(tests-special).
30781         * Makerules (check-abi-list): New variable.
30782         (check-abi): Depend on $(check-abi-list).
30783         [$(subdir) = elf] (tests-special): Add
30784         $(objpfx)check-abi-libc.out.
30785         [$(build-shared) = yes && subdir] (tests-special): Add
30786         $(check-abi-list).
30787         [$(build-shared) = yes && subdir] (tests): Do not depend on
30788         check-abi.
30789         * Rules (tests): Depend on $(tests-special).
30790         (xtests): Depend on $(xtests-special).
30791         * catgets/Makefile (tests): Change dependencies to ....
30792         (tests-special): ... additions to this variable.
30793         * conform/Makefile (tests): Change dependencies to ....
30794         (tests-special): ... additions to this variable.
30795         * elf/Makefile (tests): Change dependencies to ....
30796         (tests-special): ... additions to this variable.
30797         * grp/Makefile (tests): Change dependencies to ....
30798         (tests-special): ... additions to this variable.
30799         * iconv/Makefile (xtests): Change dependencies to ....
30800         (xtests-special): ... additions to this variable.
30801         * iconvdata/Makefile (tests): Change dependencies to ....
30802         (tests-special): ... additions to this variable.
30803         * intl/Makefile (tests): Change dependencies to ....
30804         (tests-special): ... additions to this variable.  Also add
30805         $(objpfx)tst-gettext.out.
30806         * io/Makefile (tests): Change dependencies to ....
30807         (tests-special): ... additions to this variable.
30808         * libio/Makefile (tests): Change dependencies to ....
30809         (tests-special): ... additions to this variable.
30810         * malloc/Makefile (tests): Change dependencies to ....
30811         (tests-special): ... additions to this variable.
30812         * misc/Makefile (tests): Change dependencies to ....
30813         (tests-special): ... additions to this variable.
30814         * nptl/Makefile (tests): Change dependencies to ....
30815         (tests-special): ... additions to this variable.
30816         * nptl_db/Makefile (tests): Change dependencies to ....
30817         (tests-special): ... additions to this variable.
30818         * posix/Makefile (tests): Change dependencies to ....
30819         (tests-special): ... additions to this variable.
30820         (xtests): Change dependencies to ....
30821         (xtests-special): ... additions to this variable.
30822         * resolv/Makefile (tests): Change dependencies to ....
30823         (tests-special): ... additions to this variable.
30824         (xtests): Change dependencies to ....
30825         (xtests-special): ... additions to this variable.
30826         * stdio-common/Makefile (tests): Change dependencies to ....
30827         (tests-special): ... additions to this variable.
30828         (do-tst-unbputc): Remove target.
30829         (do-tst-printf): Likewise.
30830         * stdlib/Makefile (tests): Change dependencies to ....
30831         (tests-special): ... additions to this variable.
30832         * string/Makefile (tests): Change dependencies to ....
30833         (tests-special): ... additions to this variable.
30834         * sysdeps/x86/Makefile (tests): Change dependencies to ....
30835         (tests-special): ... additions to this variable.
30837         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
30838         whole file.
30839         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
30840         whole file.
30841         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
30842         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
30844         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
30845         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
30846         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
30847         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
30848         * conform/data/libgen.h-data [XPG3]: Likewise.
30849         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
30850         * conform/data/ndbm.h-data [XPG3]: Likewise.
30851         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
30852         * conform/data/netdb.h-data [XPG3]: Likewise.
30853         * conform/data/netinet/in.h-data [XPG3]: Likewise.
30854         * conform/data/poll.h-data [XPG3]: Likewise.
30855         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
30856         * conform/data/strings.h-data [XPG3]: Likewise.
30857         * conform/data/stropts.h-data [XPG3]: Likewise.
30858         * conform/data/sys/mman.h-data [XPG3]: Likewise.
30859         * conform/data/sys/resource.h-data [XPG3]: Likewise.
30860         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
30861         Likewise.
30862         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
30863         * conform/data/sys/time.h-data [XPG3]: Likewise.
30864         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
30865         * conform/data/sys/uio.h-data [XPG3]: Likewise.
30866         * conform/data/sys/un.h-data [XPG3]: Likewise.
30867         * conform/data/syslog.h-data [XPG3]: Likewise.
30868         * conform/data/ucontext.h-data [XPG3]: Likewise.
30869         * conform/data/utmpx.h-data [XPG3]: Likewise.
30870         * conform/data/varargs.h-data [UNIX98]: Enable file.
30872         * manual/Makefile (INSTALL_INFO): Remove variable setting.
30874         * math/libm-test.inc (struct test_f_f_data): Move expected results
30875         into structure for each rounding mode.
30876         (struct test_ff_f_data): Likewise.
30877         (struct test_ff_f_data_nexttoward): Likewise.
30878         (struct test_fi_f_data): Likewise.
30879         (struct test_fl_f_data): Likewise.
30880         (struct test_if_f_data): Likewise.
30881         (struct test_fff_f_data): Likewise.
30882         (struct test_c_f_data): Likewise.
30883         (struct test_f_f1_data): Likewise.
30884         (struct test_fF_f1_data): Likewise.
30885         (struct test_ffI_f1_data): Likewise.
30886         (struct test_c_c_data): Likewise.
30887         (struct test_cc_c_data): Likewise.
30888         (struct test_f_i_data): Likewise.
30889         (struct test_ff_i_data): Likewise.
30890         (struct test_f_l_data): Likewise.
30891         (struct test_f_L_data): Likewise.
30892         (struct test_fFF_11_data): Likewise.
30893         (RM_): New macro.
30894         (RM_FE_DOWNWARD): Likewise.
30895         (RM_FE_TONEAREST): Likewise.
30896         (RM_FE_TOWARDZERO): Likewise.
30897         (RM_FE_UPWARD): Likewise.
30898         (RUN_TEST_LOOP_f_f): Update references to expected results.
30899         (RUN_TEST_LOOP_2_f): Likewise.
30900         (RUN_TEST_LOOP_fff_f): Likewise.
30901         (RUN_TEST_LOOP_c_f): Likewise.
30902         (RUN_TEST_LOOP_f_f1): Likewise.
30903         (RUN_TEST_LOOP_fF_f1): Likewise.
30904         (RUN_TEST_LOOP_fI_f1): Likewise.
30905         (RUN_TEST_LOOP_ffI_f1): Likewise.
30906         (RUN_TEST_LOOP_c_c): Likewise.
30907         (RUN_TEST_LOOP_cc_c): Likewise.
30908         (RUN_TEST_LOOP_f_i): Likewise.
30909         (RUN_TEST_LOOP_f_i_tg): Likewise.
30910         (RUN_TEST_LOOP_ff_i_tg): Likewise.
30911         (RUN_TEST_LOOP_f_b): Likewise.
30912         (RUN_TEST_LOOP_f_b_tg): Likewise.
30913         (RUN_TEST_LOOP_f_l): Likewise.
30914         (RUN_TEST_LOOP_f_L): Likewise.
30915         (RUN_TEST_LOOP_fFF_11): Likewise.
30916         * math/gen-libm-test.pl (parse_args): Output four copies of
30917         expected results for each test.
30919         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30920         (__ASSUME_UTIMES): Remove.
30921         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30922         (__ASSUME_UTIMES): Likewise.
30924         * math/gen-auto-libm-tests.c: Update comment on output format.
30925         (output_for_one_input_case): Generate before-rounding and
30926         after-rounding information as conditions on output flags not
30927         floating-point format.
30928         * math/auto-libm-test-out: Regenerated.
30929         * math/gen-libm-test.pl (cond_value): New function.
30930         (or_cond_value): Use cond_value.
30931         (generate_testfile): Handle conditional exceptions.
30933 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
30935         * math/libm-test.inc (max_valid_error): New variable.
30936         (init_max_error): Take new argument specifying whether function
30937         results are exactly determined.  Set max_valid_error and bound
30938         other variables for errors based on this argument.
30939         (set_max_error): Do not record results above max_valid_error.
30940         (check_float_internal): Only accept errors of up to 0.5ulps if
30941         also at most max_valid_error.
30942         (START): Take new argument EXACT and pass it to init_max_error.
30943         (acos_test): Update call to START.
30944         (acos_test_tonearest): Likewise.
30945         (acos_test_towardzero): Likewise.
30946         (acos_test_downward): Likewise.
30947         (acos_test_upward): Likewise.
30948         (acosh_test): Likewise.
30949         (asin_test): Likewise.
30950         (asin_test_tonearest): Likewise.
30951         (asin_test_towardzero): Likewise.
30952         (asin_test_downward): Likewise.
30953         (asin_test_upward): Likewise.
30954         (asinh_test): Likewise.
30955         (atan_test): Likewise.
30956         (atanh_test): Likewise.
30957         (atan2_test): Likewise.
30958         (cabs_test): Likewise.
30959         (cacos_test): Likewise.
30960         (cacosh_test): Likewise.
30961         (carg_test): Likewise.
30962         (casin_test): Likewise.
30963         (casinh_test): Likewise.
30964         (catan_test): Likewise.
30965         (catanh_test): Likewise.
30966         (cbrt_test): Likewise.
30967         (ccos_test): Likewise.
30968         (ccosh_test): Likewise.
30969         (ceil_test): Likewise.
30970         (cexp_test): Likewise.
30971         (cimag_test): Likewise.
30972         (clog_test): Likewise.
30973         (clog10_test): Likewise.
30974         (conj_test): Likewise.
30975         (copysign_test): Likewise.
30976         (cos_test): Likewise.
30977         (cos_test_tonearest): Likewise.
30978         (cos_test_towardzero): Likewise.
30979         (cos_test_downward): Likewise.
30980         (cos_test_upward): Likewise.
30981         (cosh_test): Likewise.
30982         (cosh_test_tonearest): Likewise.
30983         (cosh_test_towardzero): Likewise.
30984         (cosh_test_downward): Likewise.
30985         (cosh_test_upward): Likewise.
30986         (cpow_test): Likewise.
30987         (cproj_test): Likewise.
30988         (creal_test): Likewise.
30989         (csin_test): Likewise.
30990         (csinh_test): Likewise.
30991         (csqrt_test): Likewise.
30992         (ctan_test): Likewise.
30993         (ctan_test_tonearest): Likewise.
30994         (ctan_test_towardzero): Likewise.
30995         (ctan_test_downward): Likewise.
30996         (ctan_test_upward): Likewise.
30997         (ctanh_test): Likewise.
30998         (ctanh_test_tonearest): Likewise.
30999         (ctanh_test_towardzero): Likewise.
31000         (ctanh_test_downward): Likewise.
31001         (ctanh_test_upward): Likewise.
31002         (erf_test): Likewise.
31003         (erfc_test): Likewise.
31004         (exp_test): Likewise.
31005         (exp_test_tonearest): Likewise.
31006         (exp_test_towardzero): Likewise.
31007         (exp_test_downward): Likewise.
31008         (exp_test_upward): Likewise.
31009         (exp10_test): Likewise.
31010         (exp10_test_tonearest): Likewise.
31011         (exp10_test_towardzero): Likewise.
31012         (exp10_test_downward): Likewise.
31013         (exp10_test_upward): Likewise.
31014         (pow10_test): Likewise.
31015         (exp2_test): Likewise.
31016         (expm1_test): Likewise.
31017         (expm1_test_tonearest): Likewise.
31018         (expm1_test_towardzero): Likewise.
31019         (expm1_test_downward): Likewise.
31020         (expm1_test_upward): Likewise.
31021         (fabs_test): Likewise.
31022         (fdim_test): Likewise.
31023         (floor_test): Likewise.
31024         (fma_test): Likewise.
31025         (fma_test_towardzero): Likewise.
31026         (fma_test_downward): Likewise.
31027         (fma_test_upward): Likewise.
31028         (fmax_test): Likewise.
31029         (fmin_test): Likewise.
31030         (fmod_test): Likewise.
31031         (fpclassify_test): Likewise.
31032         (frexp_test): Likewise.
31033         (hypot_test): Likewise.
31034         (ilogb_test): Likewise.
31035         (isfinite_test): Likewise.
31036         (finite_test): Likewise.
31037         (isgreater_test): Likewise.
31038         (isgreaterequal_test): Likewise.
31039         (isinf_test): Likewise.
31040         (isless_test): Likewise.
31041         (islessequal_test): Likewise.
31042         (islessgreater_test): Likewise.
31043         (isnan_test): Likewise.
31044         (isnormal_test): Likewise.
31045         (issignaling_test): Likewise.
31046         (isunordered_test): Likewise.
31047         (j0_test): Likewise.
31048         (j1_test): Likewise.
31049         (jn_test): Likewise.
31050         (ldexp_test): Likewise.
31051         (lgamma_test): Likewise.
31052         (gamma_test): Likewise.
31053         (lrint_test): Likewise.
31054         (lrint_test_tonearest): Likewise.
31055         (lrint_test_towardzero): Likewise.
31056         (lrint_test_downward): Likewise.
31057         (lrint_test_upward): Likewise.
31058         (llrint_test): Likewise.
31059         (llrint_test_tonearest): Likewise.
31060         (llrint_test_towardzero): Likewise.
31061         (llrint_test_downward): Likewise.
31062         (llrint_test_upward): Likewise.
31063         (log_test): Likewise.
31064         (log10_test): Likewise.
31065         (log1p_test): Likewise.
31066         (log2_test): Likewise.
31067         (logb_test): Likewise.
31068         (logb_test_downward): Likewise.
31069         (lround_test): Likewise.
31070         (llround_test): Likewise.
31071         (modf_test): Likewise.
31072         (nearbyint_test): Likewise.
31073         (nextafter_test): Likewise.
31074         (nexttoward_test): Likewise.
31075         (pow_test): Likewise.
31076         (pow_test_tonearest): Likewise.
31077         (pow_test_towardzero): Likewise.
31078         (pow_test_downward): Likewise.
31079         (pow_test_upward): Likewise.
31080         (remainder_test): Likewise.
31081         (drem_test): Likewise.
31082         (remainder_test_tonearest): Likewise.
31083         (drem_test_tonearest): Likewise.
31084         (remainder_test_towardzero): Likewise.
31085         (drem_test_towardzero): Likewise.
31086         (remainder_test_downward): Likewise.
31087         (drem_test_downward): Likewise.
31088         (remainder_test_upward): Likewise.
31089         (drem_test_upward): Likewise.
31090         (remquo_test): Likewise.
31091         (rint_test): Likewise.
31092         (rint_test_tonearest): Likewise.
31093         (rint_test_towardzero): Likewise.
31094         (rint_test_downward): Likewise.
31095         (rint_test_upward): Likewise.
31096         (round_test): Likewise.
31097         (scalb_test): Likewise.
31098         (scalbn_test): Likewise.
31099         (scalbln_test): Likewise.
31100         (signbit_test): Likewise.
31101         (sin_test): Likewise.
31102         (sin_test_tonearest): Likewise.
31103         (sin_test_towardzero): Likewise.
31104         (sin_test_downward): Likewise.
31105         (sin_test_upward): Likewise.
31106         (sincos_test): Likewise.
31107         (sinh_test): Likewise.
31108         (sinh_test_tonearest): Likewise.
31109         (sinh_test_towardzero): Likewise.
31110         (sinh_test_downward): Likewise.
31111         (sinh_test_upward): Likewise.
31112         (sqrt_test): Likewise.
31113         (sqrt_test_tonearest): Likewise.
31114         (sqrt_test_towardzero): Likewise.
31115         (sqrt_test_downward): Likewise.
31116         (sqrt_test_upward): Likewise.
31117         (tan_test): Likewise.
31118         (tan_test_tonearest): Likewise.
31119         (tan_test_towardzero): Likewise.
31120         (tan_test_downward): Likewise.
31121         (tan_test_upward): Likewise.
31122         (tanh_test): Likewise.
31123         (tgamma_test): Likewise.
31124         (trunc_test): Likewise.
31125         (y0_test): Likewise.
31126         (y1_test): Likewise.
31127         (yn_test): Likewise.
31128         (significand_test): Likewise.
31130         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
31131         individual tests in comment.
31132         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
31133         (prev_max_error): New variable.
31134         (prev_real_max_error): Likewise.
31135         (prev_imag_max_error): Likewise.
31136         (compare_ulp_data): Don't refer to test names in comment.
31137         (find_test_ulps): Remove function.
31138         (find_function_ulps): Likewise.
31139         (find_complex_function_ulps): Likewise.
31140         (init_max_error): Take function name as argument.  Look up ulps
31141         for that function.
31142         (print_ulps): Remove function.
31143         (print_max_error): Use prev_max_error instead of calling
31144         find_function_ulps.
31145         (print_complex_max_error): Use prev_real_max_error and
31146         prev_imag_max_error instead of calling find_complex_function_ulps.
31147         (check_float_internal): Take max_ulp parameter instead of calling
31148         find_test_ulps.  Don't call print_ulps.
31149         (check_float): Update call to check_float_internal.
31150         (check_complex): Update calls to check_float_internal.
31151         (START): Pass argument to init_max_error.
31152         * math/gen-libm-test.pl (%results): Don't include "kind"
31153         information.
31154         (parse_ulps): Don't handle ulps of individual tests.
31155         (print_ulps_file): Likewise.
31156         (output_ulps): Likewise.
31157         * math/README.libm-test: Update.
31158         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
31159         individual tests.
31160         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
31161         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31162         * sysdeps/arm/libm-test-ulps: Likewise.
31163         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31164         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
31165         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
31166         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
31167         * sysdeps/microblaze/libm-test-ulps: Likewise.
31168         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31169         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31170         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31171         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31172         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31173         * sysdeps/sh/libm-test-ulps: Likewise.
31174         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31175         * sysdeps/tile/libm-test-ulps: Likewise.
31176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31178 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
31180         * math/libm-test.inc (print_complex_max_error): Check separately
31181         whether real and imaginary errors are within allowed range and
31182         pass 0 to print_complex_function_ulps instead of value within
31183         allowed range.
31185 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31187         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
31188         formatting.
31189         (get_handles_fopen): Likewise.
31190         (do_write_test): Likewise.
31192         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
31194         * libio/fileops.c (do_ftell): Use cached offset when
31195         available.
31196         * libio/iofwide.c (do_ftell_wide): Likewise.
31197         * libio/iofdopen.c (_IO_new_fdopen): Don't use
31198         _IO_file_attach.
31199         * libio/wfileops.c (_IO_fwide): Don't cache offset.
31201         [BZ #16532]
31202         * libio/libioP.h (get_file_offset): New function.
31203         * libio/fileops.c (get_file_offset): Likewise.
31204         (do_ftell): Likewise.
31205         (_IO_new_file_seekoff): Split out ftell logic.
31206         * libio/wfileops.c (do_ftell_wide): Likewise.
31207         (_IO_wfile_seekoff): Split out ftell logic.
31208         * libio/tst-ftell-active-handler.c: New test case.
31209         * libio/Makefile (tests): Add it.
31211 2014-03-03  Roland McGrath  <roland@hack.frob.com>
31213         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
31214         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
31216 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31218         [BZ #16639]
31219         * nscd/connections.c (nscd_init): Call do_exit.
31220         (start_threads): Call do_exit and notify_parent.
31221         (begin_drop_privileges): Call do_exit.
31222         (finish_drop_privileges): Likewise.
31223         * nscd/selinux.c (preserve_capabilities): Likewise.
31224         (install_real_capabilities): Likewise.
31225         (nscd_selinux_enabled): Likewise.
31226         (avc_create_thread): Likewise.
31227         (avc_alloc_lock): Likewise.
31228         (nscd_avc_init): Likewise.
31229         * nscd/nscd.c (parent_fd): New static variable.
31230         (main): Create a pipe between parent and child processes.
31231         Skip closing parent_fd.
31232         (monitor_child): New function.
31233         (do_exit): Likewise.
31234         (notify_parent): Likewise.
31235         * nscd/nscd.h (notify_parent): Likewise.
31236         (do_exit): Likewise.
31238 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
31240         * malloc/malloc.c (__libc_calloc): Revert last change.
31242 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31246 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31248         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
31249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
31250         implementation.
31251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31252         (__libc_ifunc_impl_list): Likewise.
31253         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
31254         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
31255         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
31256         * string/strrchr.c: Define STRRCHR.
31258 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
31260         * benchtest/bench-strtok.c (simple_strtok): Delete.
31261         (strtok_string): Use as benchmark.
31262         * string/strtok (STRTOK): New macro.
31264 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
31266         * manual/threads.texi: Add header and standard comments to all
31267         functions.
31269         * elf/dl-lookup.c (check_match): New function.
31270         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
31271         (do_lookup_x): Remove nested function check_match. Use non-nested
31272         function check_match.
31274 2014-02-28  Roland McGrath  <roland@hack.frob.com>
31276         * csu/Makefile (generated, before-compile): Use += rather than =.
31277         * catgets/Makefile (generated, generated-dirs): Likewise.
31278         * debug/Makefile (generated): Likewise.
31279         * dlfcn/Makefile (generated): Likewise.
31280         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
31281         * iconvdata/Makefile (before-compile, generated): Likewise.
31282         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
31283         * libio/Makefile (generated): Likewise.
31284         * malloc/Makefile (generated): Likewise.
31285         * manual/Makefile (generated, generated-dirs): Likewise.
31286         * misc/Makefile (generated): Likewise.
31287         * posix/Makefile (generated): Likewise.
31288         * resolv/Makefile (generated): Likewise.
31289         * sunrpc/Makefile (generated, generated-dirs): Likewise.
31290         * timezone/Makefile (generated, generated-dirs): Likewise.
31292         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
31294 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31296         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
31297         power8 implementation.
31298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
31299         file: POWER8 llround ifunc implementation.
31300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
31301         (__lllround): Add POWER8 implementation.
31302         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
31303         POWER8 llround implementation.
31305         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
31306         power8 implementation.
31307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
31308         file: POWER8 llrint ifunc implementation.
31309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
31310         Add POWER8 implementation.
31311         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
31312         POWER8 llrint implementation.
31314         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
31315         power8 implementation.
31316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
31317         file: POWER8 finite ifunc implementation.
31318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
31319         Add POWER8 implementation.
31320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
31321         Likewise.
31322         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
31323         POWER8 finite implementation.
31324         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
31326         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
31327         power8 implementation.
31328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
31329         file: POWER8 isinf ifunc implementation.
31330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
31331         POWER8 implementation.
31332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
31333         Likewise.
31334         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
31335         isinf implementation.
31336         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
31338         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
31339         (INIT_ARCH): Add hwcap2 initialization.
31340         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
31341         power8 implementation.
31342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
31343         file: POWER8 isnan ifunc implementation.
31344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
31345         POWER8 implementation.
31346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
31347         Likewise.
31348         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
31349         isnan implementation.
31350         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
31352 2014-02-27  Joey Ye  <joey.ye@arm.com>
31354         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31355         (_FP_NANFRAC_Q): Set to zero.
31357 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31359         [BZ #16623]
31360         * math/auto-libm-test-in: New test inputs.
31361         * math/auto-libm-test-out: Regenerate.
31362         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
31363         and DA.
31364         (__cos): Likewise.
31365         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31367 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
31369         * scripts/evaluate-test.sh: Take new argument indicating whether
31370         failure is expected.
31371         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
31372         indicating whether failure is expected.
31373         * conform/Makefile (test-xfail-run-conformtest): New variable.
31374         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
31375         level.
31376         * posix/Makefile (test-xfail-annexc): New variable.
31377         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
31379 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
31381         * argp/Makefile: Include Makeconfig immediately after defining
31382         subdir.
31383         * assert/Makefile: Likewise.
31384         * benchtests/Makefile: Likewise.
31385         * catgets/Makefile: Likewise.
31386         * conform/Makefile: Likewise.
31387         * crypt/Makefile: Likewise.
31388         * csu/Makefile: Likewise.
31389         (all): Remove target.
31390         * ctype/Makefile: Include Makeconfig immediately after defining
31391         subdir.
31392         * debug/Makefile: Likewise.
31393         * dirent/Makefile: Likewise.
31394         * dlfcn/Makefile: Likewise.
31395         * gmon/Makefile: Likewise.
31396         * gnulib/Makefile: Likewise.
31397         * grp/Makefile: Likewise.
31398         * gshadow/Makefile: Likewise.
31399         * hesiod/Makefile: Likewise.
31400         * hurd/Makefile: Likewise.
31401         (all): Remove target.
31402         * iconvdata/Makefile: Include Makeconfig immediately after
31403         defining subdir.
31404         * inet/Makefile: Likewise.
31405         * intl/Makefile: Likewise.
31406         * io/Makefile: Likewise.
31407         * libio/Makefile: Likewise.
31408         (all): Remove target.
31409         * locale/Makefile: Include Makeconfig immediately after defining
31410         subdir.
31411         * login/Makefile: Likewise.
31412         * mach/Makefile: Likewise.
31413         (all): Remove target.
31414         * malloc/Makefile: Include Makeconfig immediately after defining
31415         subdir.
31416         (all): Remove target.
31417         * manual/Makefile: Include Makeconfig immediately after defining
31418         subdir.
31419         * math/Makefile: Likewise.
31420         * misc/Makefile: Likewise.
31421         * nis/Makefile: Likewise.
31422         * nss/Makefile: Likewise.
31423         * po/Makefile: Likewise.
31424         (all): Remove target.
31425         * posix/Makefile: Include Makeconfig immediately after defining
31426         subdir.
31427         * pwd/Makefile: Likewise.
31428         * resolv/Makefile: Likewise.
31429         * resource/Makefile: Likewise.
31430         * rt/Makefile: Likewise.
31431         * setjmp/Makefile: Likewise.
31432         * shadow/Makefile: Likewise.
31433         * signal/Makefile: Likewise.
31434         * socket/Makefile: Likewise.
31435         * soft-fp/Makefile: Likewise.
31436         * stdio-common/Makefile: Likewise.
31437         * stdlib/Makefile: Likewise.
31438         * streams/Makefile: Likewise.
31439         * string/Makefile: Likewise.
31440         * sunrpc/Makefile: Likewise.
31441         (all): Remove target.
31442         * sysvipc/Makefile: Include Makeconfig immediately after defining
31443         subdir.
31444         * termios/Makefile: Likewise.
31445         * time/Makefile: Likewise.
31446         * timezone/Makefile: Likewise.
31447         (all): Remove target.
31448         * wcsmbs/Makefile: Include Makeconfig immediately after defining
31449         subdir.
31450         * wctype/Makefile: Likewise.
31452 2014-02-26  Steve Ellcey  <sellcey@mips.com>
31454         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
31455         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
31456         (libc_feholdexcept_setround_mips): Ditto.
31457         (libc_feholdsetround): New.
31458         (libc_feholdsetroundf): New.
31459         (libc_feholdsetroundl): New.
31460         (libc_feupdateenv_test_mips): New.
31461         (libc_feupdateenv_test): New.
31462         (libc_feupdateenv_testf): New.
31463         (libc_feupdateenv_testl): New.
31464         (libc_feresetround): New.
31465         (libc_feresetroundf): New.
31466         (libc_feresetroundl): New.
31467         (libc_fetestexcept_mips): New.
31468         (libc_fetestexcept): New.
31469         (libc_fetestexceptf): New.
31470         (libc_fetestexceptl): New.
31471         (HAVE_RM_CTX): New.
31472         (libc_feholdexcept_setround_mips_ctx): New.
31473         (libc_feholdexcept_setround_ctx): New.
31474         (libc_feholdexcept_setroundf_ctx): New.
31475         (libc_feholdexcept_setroundl_ctx): New.
31476         (libc_fesetenv_mips_ctx): New.
31477         (libc_fesetenv_ctx): New.
31478         (libc_fesetenv_ctxf): New.
31479         (libc_fesetenv_ctxl): New.
31480         (libc_feupdateenv_mips_ctx): New.
31481         (libc_feupdateenv_ctx): New.
31482         (libc_feupdateenvf_ctx): New.
31483         (libc_feupdateenvl_ctx): New.
31484         (libc_feholdsetround_mips_ctx): New.
31485         (libc_feholdsetround_ctx): New.
31486         (libc_feholdsetroundf_ctx): New.
31487         (libc_feholdsetroundl_ctx): New.
31488         (libc_feresetround_mips_ctx): New.
31489         (libc_feresetround_ctx): New.
31490         (libc_feresetroundf_ctx): New.
31491         (libc_feresetroundl_ctx): New.
31493 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
31495         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
31497         * manual/ipc.texi: New file.
31498         * manual/Makefile (chapters): Add ipc.
31499         * manual/job.texi: Add "Inter-Process Communication" to next.
31500         * manual/process.texi: Add "Inter-Process Communication" to prev.
31502 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31504         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31506 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
31508         * malloc/malloc.c (__libc_calloc): Simplify implementation.
31510         * manual/arith.texi: Fix spaces after sentences.
31511         * manual/charset.texi: Likewise.
31512         * manual/errno.texi: Likewise.
31513         * manual/install.texi: Likewise.
31514         * manual/llio.texi: Likewise.
31515         * manual/locale.texi: Likewise.
31516         * manual/maint.texi: Likewise.
31517         * manual/math.texi: Likewise.
31518         * manual/memory.texi: Likewise.
31519         * manual/message.texi: Likewise.
31520         * manual/probes.texi: Likewise.
31521         * manual/resource.texi: Likewise.
31522         * manual/signal.texi: Likewise.
31523         * manual/socket.texi: Likewise.
31524         * manual/stdio.texi: Likewise.
31525         * manual/string.texi: Likewise.
31526         * manual/time.texi: Likewise.
31527         * manual/users.texi: Likewise.
31529 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
31531         [BZ #16632]
31532         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
31533         _DEFAULT_SOURCE is defined.
31535 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
31536             Carlos O'Donell  <carlos@redhat.com>
31538         [BZ #16613]
31539         * elf/dl-tls.c (_dl_count_modids): New function.
31540         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
31541         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
31542         audit library and increment generation counter.
31543         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
31544         * elf/tst-audit9.c: New file.
31545         * elf/tst-auditmod9a.c: New file.
31546         * elf/tst-auditmod9b.c: New file.
31547         * elf/Makefile: Add rules to build and run tst-audit9.
31549 2014-02-25  Florian Weimer  <fweimer@redhat.com>
31551         [BZ #15347]
31552         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
31554 2014-02-25  Will Newton  <will.newton@linaro.org>
31556         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
31557         (__longjmp): Restore sp and lr before restoring callee
31558         saved registers.  Add longjmp and longjmp_target
31559         SystemTap probe point.
31560         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
31561         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
31562         Define to zero to match jmpbuf layout.
31563         * sysdeps/arm/setjmp.S: Include stap-probe.h.
31564         (__sigsetjmp): Save sp and lr before saving callee
31565         saved registers.  Add setjmp SystemTap probe point.
31567 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31569         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31571 2014-02-24  Andreas Schwab  <schwab@suse.de>
31573         [BZ #15804]
31574         * elf/pldd.c (wait_for_ptrace_stop): New function.
31575         (main): Call it after attaching.
31577 2014-02-22  Roland McGrath  <roland@hack.frob.com>
31579         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
31580         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
31581         Versions files is now verboten.
31582         * hurd/Versions (libc: GLIBC_2.0):
31583         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
31584         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
31585         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
31586         * mach/Versions: Likewise.
31588         * csu/Versions: Remove unused %include.
31589         * resolv/Versions: Likewise.
31591 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
31593         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
31594         ($(objpfx)check-local-headers.out): Likewise.
31595         ($(objpfx)begin-end-check.out): Likewise.
31596         * Makerules (check-abi-%.out): Likewise.
31597         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
31598         ($(objpfx)test2.cat): Likewise.
31599         ($(objpfx)de/libc.cat): Likewise.
31600         ($(objpfx)test-gencat.out): Likewise.
31601         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
31602         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
31603         ($(objpfx)noload-mem): Likewise.
31604         ($(objpfx)tst-pathopt.out): Likewise.
31605         ($(objpfx)tst-rtld-load-self.out): Likewise.
31606         ($(objpfx)tst-array1-cmp.out): Likewise.
31607         ($(objpfx)tst-array1-static-cmp.out): Likewise.
31608         ($(objpfx)tst-array2-cmp.out): Likewise.
31609         ($(objpfx)tst-array3-cmp.out): Likewise.
31610         ($(objpfx)tst-array4-cmp.out): Likewise.
31611         ($(objpfx)tst-array5-cmp.out): Likewise.
31612         ($(objpfx)tst-array5-static-cmp.out): Likewise.
31613         ($(objpfx)check-textrel.out): Likewise.
31614         ($(objpfx)check-execstack.out): Likewise.
31615         ($(objpfx)check-localplt.out): Likewise.
31616         ($(objpfx)order2-cmp.out): Likewise.
31617         ($(objpfx)tst-leaks1-mem): Likewise.
31618         ($(objpfx)tst-leaks1-static-mem): Likewise.
31619         ($(objpfx)tst-initorder-cmp.out): Likewise.
31620         ($(objpfx)tst-initorder2-cmp.out): Likewise.
31621         ($(objpfx)tst-unused-dep.out): Likewise.
31622         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
31623         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31624         * iconv/Makefile (test-iconvconfig): Likewise.
31625         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
31626         ($(objpfx)iconv-test.out): Likewise.
31627         ($(objpfx)tst-tables.out): Likewise.
31628         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
31629         ($(objpfx)tst-gettext.out): Likewise.
31630         ($(objpfx)tst-translit.out): Likewise.
31631         ($(objpfx)tst-gettext2.out): Likewise.
31632         ($(objpfx)tst-gettext4.out): Likewise.
31633         ($(objpfx)tst-gettext6.out): Likewise.
31634         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
31635         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31636         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
31637         ($(objpfx)tst-fopenloc-mem.out): Likewise.
31638         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31639         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
31640         * posix/Makefile ($(objpfx)globtest.out): Likewise.
31641         ($(objpfx)wordexp-tst.out): Likewise.
31642         ($(objpfx)annexc.out): Likewise.
31643         ($(objpfx)tst-fnmatch-mem): Likewise.
31644         ($(objpfx)bug-regex2-mem): Likewise.
31645         ($(objpfx)bug-regex14-mem): Likewise.
31646         ($(objpfx)bug-regex21-mem): Likewise.
31647         ($(objpfx)bug-regex31-mem): Likewise.
31648         ($(objpfx)tst-vfork3-mem): Likewise.
31649         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31650         ($(objpfx)tst-pcre-mem): Likewise.
31651         ($(objpfx)tst-boost-mem): Likewise.
31652         ($(objpfx)tst-getconf.out): Likewise.
31653         ($(objpfx)bug-ga2-mem): Likewise.
31654         ($(objpfx)bug-glob2-mem): Likewise.
31655         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
31656         ($(objpfx)mtrace-tst-leaks2): Likewise.
31657         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
31658         ($(objpfx)tst-printf.out): Likewise.
31659         ($(objpfx)tst-setvbuf1.out): Likewise.
31660         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
31661         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
31662         ($(objpfx)tst-fmtmsg.out): Likewise.
31663         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
31664         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
31666         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
31667         * bits/sigaction.h [__USE_MISC]: Likewise.
31668         * bits/waitstatus.h: Update #endif comments.
31669         * ctype/ctype.h: Likewise.
31670         * dirent/dirent.h: Likewise.
31671         [__USE_MISC]: Remove redundant conditionals.
31672         * grp/grp.h: Update #endif comments.
31673         [__USE_GNU]: Remove redundant conditionals.
31674         [__USE_MISC]: Likewise.
31675         * inet/netinet/in.h [__USE_GNU]: Likewise.
31676         * io/sys/stat.h [__USE_MISC]: Likewise.
31677         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
31678         * libio/bits/stdio.h: Update #endif comments.
31679         [__USE_MISC]: Remove redundant conditionals.
31680         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
31681         * libio/stdio.h: Update #endif comments.
31682         [__USE_MISC]: Remove redundant conditionals.
31683         * math/bits/math-finite.h [__USE_MISC]: Likewise.
31684         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
31685         * math/math.h: Update #else and #endif comments.
31686         [__USE_MISC]: Remove redundant conditionals.
31687         * misc/sys/uio.h: Update #endif comments.
31688         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
31689         * posix/glob.h [__USE_MISC]: Likewise.
31690         * posix/sys/types.h: Update #endif comments.
31691         [__USE_MISC]: Remove redundant conditionals.
31692         * posix/sys/wait.h: Update #endif comments.
31693         [__USE_MISC]: Remove redundant conditionals.
31694         * posix/unistd.h: Update #endif comments.
31695         [__USE_MISC]: Remove redundant conditionals.
31696         * pwd/pwd.h [__USE_GNU]: Likewise.
31697         [__USE_MISC]: Likewise.
31698         * resolv/netdb.h [__USE_GNU]: Likewise.
31699         * signal/signal.h: Update #endif comments.
31700         [__USE_MISC]: Remove redundant conditionals.
31701         * stdlib/stdlib.h: Update #else and #endif comments.
31702         [__USE_MISC]: Remove redundant conditionals.
31703         [__USE_GNU]: Likewise.
31704         * string/bits/string2.h [__USE_MISC]: Likewise.
31705         * string/string.h: Update #endif comments.
31706         [__USE_MISC]: Remove redundant conditionals.
31707         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
31708         Likewise.
31709         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
31710         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
31711         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
31712         Likewise.
31713         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
31714         Likewise.
31715         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
31716         comments.
31717         [__USE_MISC]: Remove redundant conditionals.
31718         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
31719         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
31720         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
31721         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
31722         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
31723         Likewise.
31724         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
31725         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
31726         Likewise.
31727         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
31728         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
31729         Likewise.
31730         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
31731         Likewise.
31732         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
31733         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
31734         Likewise.
31735         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
31736         Likewise.
31737         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
31738         * sysdeps/x86/bits/string.h: Update #endif comments.
31739         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
31740         conditionals.
31741         * time/sys/time.h: Update #endif comments.
31742         * time/time.h: Likewise.
31743         [__USE_MISC]: Remove redundant conditionals.
31745 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
31747         [BZ #16600]
31748         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
31750 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
31752         * Versions.def (librt): Add GLIBC_2.17.
31754 2014-02-21  Adam Conrad  <adconrad@0c3.net>
31756         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
31757         synonym for _SYS_AUXV_H to allow direct inclusion.
31758         * sysdeps/sparc/bits/hwcap.h: Likewise.
31759         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
31760         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
31761         * sysdeps/sparc/sysdep.h: Likewise.
31763 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31765         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
31767 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31769         * benchtests/bench-strrchr.c: Print length instead of position.
31771 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
31773         [BZ #16611]
31774         * sysdeps/unix/sysv/linux/kernel-features.h
31775         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
31776         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
31777         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
31778         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
31779         Likewise.
31780         [__i386__ || __powerpc__ || __sh__ || __sparc__]
31781         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31782         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
31783         (__ASSUME_SENDMMSG): Define instead of using previous
31784         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
31785         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31786         (__ASSUME_SENDMMSG_SYSCALL): Define.
31787         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31788         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
31789         Likewise.
31790         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31791         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31792         Likewise.
31793         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31794         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31795         Likewise.
31796         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
31797         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
31798         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
31799         [__ASSUME_SENDMMSG]: Change conditionals to
31800         [__ASSUME_SENDMMSG_SOCKETCALL].
31801         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31802         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
31803         Define.
31804         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31805         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
31806         Likewise.
31807         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
31808         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
31809         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
31810         [!__ASSUME_SENDMMSG]: Change conditional to
31811         [!__ASSUME_SENDMMSG_SOCKETCALL].
31812         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31813         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31814         Define.
31816         [BZ #16610]
31817         * sysdeps/unix/sysv/linux/kernel-features.h
31818         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
31819         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
31820         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
31821         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
31822         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31823         [__i386__ || __sparc__]
31824         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31825         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
31826         (__ASSUME_RECVMMSG): Define instead of using previous
31827         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
31828         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31829         (__ASSUME_RECVMMSG_SYSCALL): Define.
31830         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31831         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31832         Likewise.
31833         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31834         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31835         Likewise.
31836         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31837         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31838         Likewise.
31839         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
31840         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
31841         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
31842         [__ASSUME_RECVMMSG]: Change condition to
31843         [__ASSUME_RECVMMSG_SOCKETCALL].
31844         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31845         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31846         Define.
31847         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31848         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31849         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31850         Likewise.
31851         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
31852         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
31853         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
31854         [!__ASSUME_RECVMMSG]: Change condition to
31855         [!__ASSUME_RECVMMSG_SOCKETCALL].
31856         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31857         (__ASSUME_RECVMMSG_SYSCALL): Define.
31859         [BZ #16609]
31860         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
31861         __powerpc__ || __s390__ || __sh__ || __sparc__]
31862         (__ASSUME_SOCKETCALL): Define.
31863         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
31864         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
31865         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
31866         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
31867         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31868         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31869         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
31870         (__ASSUME_ACCEPT4): Define instead of using previous
31871         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
31872         __powerpc__ || __sparc__ || __s390__)] condition.
31873         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31874         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
31875         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
31876         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
31877         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
31878         [!__ASSUME_ACCEPT4]: Change condition to
31879         [!__ASSUME_ACCEPT4_SOCKETCALL].
31880         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31881         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
31882         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
31883         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31884         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
31885         __ASSUME_ACCEPT4_SYSCALL.
31886         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
31887         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
31888         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31889         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
31890         __ASSUME_ACCEPT4_SYSCALL.
31891         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
31892         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
31893         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
31894         [__ASSUME_ACCEPT4]: Change condition to
31895         [__ASSUME_ACCEPT4_SOCKETCALL].
31896         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31897         (__ASSUME_SOCKETCALL): Define.
31898         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
31899         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31900         (__ASSUME_SOCKETCALL): Define.
31901         (__ASSUME_ACCEPT4): Remove.
31902         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
31903         Define.
31904         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31905         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
31906         Likewise.
31907         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31908         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
31910         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
31911         macro.
31912         (HWCAP_ARM_LPAE): Likewise.
31913         (HWCAP_ARM_EVTSTRM): Likewise.
31914         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
31915         Add vpfd32, lpae and evtstrm.
31916         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
31917         Increase to 22.
31919 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
31921         * math/auto-libm-test-in: Add tests of clog10.
31922         * math/auto-libm-test-out: Regenerated.
31923         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
31924         * sysdeps/i386/fpu/libm-test-ulps: Update.
31925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31927 2014-02-18  Andreas Schwab  <schwab@suse.de>
31929         [BZ #16574]
31930         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
31931         Store non-zero if the second buffer was newly allocated.
31932         (send_dg): Likewise.
31933         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
31934         to send_vc and send_dg.
31935         (res_nsend): Pass NULL for ansp2_malloced.
31936         * resolv/res_query.c (__libc_res_nquery): Add parameter
31937         answerp2_malloced and pass it down to __libc_res_nsend.
31938         (res_nquery): Pass additional NULL to __libc_res_nquery.
31939         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
31940         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
31941         second answer buffer if answerp2_malloced was set.
31942         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
31943         (__libc_res_nquerydomain): Add parameter
31944         answerp2_malloced and pass it down to __libc_res_nquery.
31945         (res_nquerydomain): Pass additional NULL to
31946         __libc_res_nquerydomain.
31947         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
31948         additional NULL to __libc_res_nsend and __libc_res_nquery.
31949         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
31950         additional NULL to __libc_res_nsearch.
31951         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
31952         parameter of __libc_res_nsearch to check for separately allocated
31953         second buffer.
31954         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
31955         __libc_res_nquery.
31956         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
31957         additional NULL to __libc_res_nquery.
31958         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
31959         __libc_res_nsearch.
31960         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
31961         * include/resolv.h: Update prototypes of __libc_res_nquery,
31962         __libc_res_nsearch, __libc_res_nsend.
31964 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
31966         * math/auto-libm-test-in: Add tests of fma.
31967         * math/auto-libm-test-out: Regenerated.
31968         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
31969         (fma_towardzero_test_data): Likewise.
31970         (fma_downward_test_data): Likewise.
31971         (fma_upward_test_data): Likewise.
31972         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
31973         mpc_mode.
31974         (rounding_modes): Add values for new field.
31975         (func_calc_method): Add value mpfr_fff_f.
31976         (func_calc_desc): Add mpfr_fff_f union field.
31977         (test_function): Add field exact_args.
31978         (FUNC): Add macro argument EXACT_ARGS.
31979         (FUNC_mpfr_f_f): Update call to FUNC.
31980         (FUNC_mpfr_f_f): Likewise.
31981         (FUNC_mpfr_ff_f): Likewise.
31982         (FUNC_mpfr_if_f): Likewise.
31983         (FUNC_mpc_c_f): Likewise.
31984         (FUNC_mpc_c_c): Likewise.
31985         (test_functions): Add fma.  Update calls to FUNC.
31986         (handle_input_arg): Add argument exact_args.
31987         (add_test): Update call to handle_input_arg.
31988         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
31989         (output_for_one_input_case): Update call to calc_generic_results.
31990         Recalculate exact zero results in each rounding mode.
31992         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
31993         non-negative before setting low bit.
31994         * math/auto-libm-test-in: Mark one asin test possibly having
31995         spurious underflow.
31996         * math/auto-libm-test-out: Regenerated.
31997         * sysdeps/i386/fpu/libm-test-ulps: Update.
31998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32000 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
32002         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
32003         * sysdeps/unix/sysv/linux/microblaze: Move directory from
32004         ports/sysdeps/unix/sysv/linux/microblaze.
32005         * README: Add missing listing for microblaze*-*-linux-gnu.
32007 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
32009         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
32010         duplicate code
32012 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
32014         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
32015         * sysdeps/unix/sysv/linux/ia64: Move directory from
32016         ports/sysdeps/unix/sysv/linux/ia64.
32017         * README: Update listing for ia64-*-linux-gnu.
32019 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
32020             Joseph Myers  <joseph@codesourcery.com>
32022         * Makeconfig (test-name): New variable.
32023         (evaluate-test): Likewise.
32024         * Makerules (do-test-clean): Remove .test-result files.
32025         (common-mostlyclean): Likewise.
32026         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
32027         * scripts/evaluate-test.sh: New file.
32029 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
32031         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
32032         separate $(objpfx)tst-fopenloc-cmp.out and
32033         $(objpfx)tst-fopenloc-mem.out targets.
32034         (tests): Update dependencies.
32035         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
32036         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
32037         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
32038         (tst-rxspencer-no-utf8-ARGS): New variable.
32039         (tst-rxspencer-no-utf8-ENV): Likewise.
32040         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
32041         instead of $(objpfx)tst-rxspencer-mem.
32042         ($(objpfx)tst-rxspencer-mem): Change target to
32043         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
32044         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
32045         * posix/tst-rxspencer-no-utf8.c: New file.
32047         * elf/Makefile ($(objpfx)order.out): Remove rule.
32048         [$(run-built-tests) = yes] (tests): Depend on
32049         $(objpfx)order-cmp.out.
32050         ($(objpfx)order-cmp.out): New rule.
32051         [$(run-built-tests) = yes] (tests): Depend on
32052         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
32053         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
32054         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
32055         $(objpfx)tst-array5-static-cmp.out.
32056         ($(objpfx)tst-array1.out): Remove rule.
32057         ($(objpfx)tst-array1-cmp.out): New rule.
32058         ($(objpfx)tst-array1-static.out): Remove rule.
32059         ($(objpfx)tst-array1-static-cmp.out): New rule.
32060         ($(objpfx)tst-array2.out): Remove rule.
32061         ($(objpfx)tst-array2-cmp.out): New rule.
32062         ($(objpfx)tst-array3.out): Remove rule.
32063         ($(objpfx)tst-array3-cmp.out): New rule.
32064         ($(objpfx)tst-array4.out): Remove rule.
32065         ($(objpfx)tst-array4-cmp.out): New rule.
32066         ($(objpfx)tst-array5.out): Remove rule.
32067         ($(objpfx)tst-array5-cmp.out): New rule.
32068         ($(objpfx)tst-array5-static.out): Remove rule.
32069         ($(objpfx)tst-array5-static-cmp.out): New rule.
32070         [$(run-built-tests) = yes] (tests): Depend on
32071         $(objpfx)order2-cmp.out.
32072         ($(objpfx)order2.out): Remove rule.
32073         ($(objpfx)order2-cmp.out): New rule.
32074         ($(objpfx)tst-initorder.out): Remove rule.
32075         [$(run-built-tests) = yes] (tests): Depend on
32076         $(objpfx)tst-initorder-cmp.out.
32077         ($(objpfx)tst-initorder-cmp.out): New rule.
32078         ($(objpfx)tst-initorder2.out): Remove rule.
32079         [$(run-built-tests) = yes] (tests): Depend on
32080         $(objpfx)tst-initorder2-cmp.out.
32081         ($(objpfx)tst-initorder2-cmp.out): New rule.
32082         [$(run-built-tests) = yes] (tests): Depend on
32083         $(objpfx)tst-unused-dep-cmp.out.
32084         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
32085         ($(objpfx)tst-unused-dep-cmp.out): New rule.
32086         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
32087         on $(objpfx)tst-setvbuf1-cmp.out.
32088         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
32089         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
32090         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
32091         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
32092         ($(objpfx)tst-svc.out): Remove rule.
32093         ($(objpfx)tst-svc-cmp.out): New rule.
32095 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
32097         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
32098         * ctype/ctype.h [__USE_MISC]: Likewise.
32099         * dirent/dirent.h [__USE_MISC]: Likewise.
32100         * grp/grp.h [__USE_MISC]: Likewise.
32101         * io/fcntl.h [__USE_MISC]: Likewise.
32102         * io/sys/stat.h [__USE_MISC]: Likewise.
32103         * libio/stdio.h [__USE_MISC]: Likewise.
32104         * posix/unistd.h [__USE_MISC]: Likewise.
32105         * pwd/pwd.h [__USE_MISC]: Likewise.
32106         * stdlib.h [__USE_MISC]: Likewise.
32107         * string/bits/string2.h [__USE_MISC]: Likewise.
32108         * string/string.h [__USE_MISC]: Likewise.
32109         * time/time.h [__USE_MISC]: Likewise.
32111 2014-02-13  Andreas Schwab  <schwab@suse.de>
32113         [BZ #16574]
32114         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
32115         second answer buffer if it was separately allocated.
32117 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
32119         * sysdeps/mips/math-tests.h: Include <features.h>.
32120         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32121         (ROUNDING_TESTS_long_double): Do not define.
32122         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32123         (EXCEPTION_TESTS_long_double): Likewise.
32124         * sysdeps/mips/mips64/libm-test-ulps: Update.
32126         * include/features.h (__USE_BSD): Remove macro definitions.
32127         (__USE_SVID): Likewise.
32128         (_BSD_SOURCE): Likewise.
32129         (_SVID_SOURCE): Likewise.
32130         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
32131         from definition of _DEFAULT_SOURCE.
32132         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
32133         [_DEFAULT_SOURCE].
32134         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
32135         * bits/mman.h [__USE_BSD]: Likewise.
32136         * bits/termios.h [__USE_BSD]: Likewise.
32137         * bits/waitstatus.h [__USE_BSD]: Likewise.
32138         * ctype/ctype.h [__USE_SVID]: Likewise.
32139         * dirent/dirent.h [__USE_BSD]: Likewise.
32140         * grp/grp.h [__USE_SVID]: Likewise.
32141         [__USE_BSD]: Likewise.
32142         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
32143         * io/fcntl.h [__USE_BSD]: Likewise.
32144         * io/ftw.h [__USE_BSD]: Likewise.
32145         * io/sys/stat.h [__USE_BSD]: Likewise.
32146         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
32147         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
32148         * libio/stdio.h [__USE_SVID]: Likewise.
32149         [__USE_BSD]: Likewise.
32150         * math/math.h [__USE_SVID]: Likewise.
32151         [__USE_BSD]: Likewise.
32152         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
32153         * misc/bits/syslog.h [__USE_BSD]: Likewise.
32154         * misc/search.h [__USE_SVID]: Likewise.
32155         * misc/sys/mman.h [__USE_BSD]: Likewise.
32156         * misc/sys/syslog.h [__USE_BSD]: Likewise.
32157         * misc/sys/uio.h [__USE_BSD]: Likewise.
32158         * posix/bits/unistd.h [__USE_BSD]: Likewise.
32159         * posix/glob.h [__USE_BSD]: Likewise.
32160         * posix/regex.h [__USE_BSD]: Likewise.
32161         * posix/sys/types.h [__USE_BSD]: Likewise.
32162         [__USE_SVID]: Likewise.
32163         * posix/sys/utsname.h [__USE_SVID]: Likewise.
32164         * posix/sys/wait.h [__USE_BSD]: Likewise.
32165         [__USE_SVID]: Likewise.
32166         * posix/unistd.h [__USE_BSD]: Likewise.
32167         [__USE_SVID]: Likewise.
32168         * pwd/pwd.h [__USE_SVID]: Likewise.
32169         * resolv/netdb.h [__USE_BSD]: Likewise.
32170         * setjmp/setjmp.h [__USE_BSD]: Likewise.
32171         * signal/signal.h [__USE_BSD]: Likewise.
32172         [__USE_SVID]: Likewise.
32173         * socket/sys/socket.h [__USE_BSD]: Likewise.
32174         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
32175         * stdlib/stdlib.h [__USE_BSD]: Likewise.
32176         [__USE_SVID]: Likewise.
32177         * string/bits/string2.h [__USE_BSD]: Likewise.
32178         [__USE_SVID]: Likewise.
32179         * string/bits/string3.h [__USE_BSD]: Likewise.
32180         * string/endian.h [__USE_BSD]: Likewise.
32181         * string/string.h [__USE_SVID]: Likewise.
32182         [__USE_BSD]: Likewise.
32183         * string/strings.h [__USE_BSD]: Likewise.
32184         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
32185         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
32186         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
32187         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
32188         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
32189         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
32190         Likewise.
32191         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
32192         Likewise.
32193         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
32194         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
32195         Likewise.
32196         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
32197         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
32198         Likewise.
32199         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
32200         Likewise.
32201         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
32202         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
32203         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
32204         Likewise.
32205         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
32206         Likewise.
32207         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
32208         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
32209         * termios/termios.h [__USE_BSD]: Likewise.
32210         * time/sys/time.h [__USE_BSD]: Likewise.
32211         * time/time.h [__USE_BSD]: Likewise.
32212         [__USE_SVID]: Likewise.
32214         * Makefile (subdir_targets): Remove subdir_lint.out.
32216         * stdio-common/Makefile (do-tst-unbputc): Remove target.
32217         (do-tst-printf): Likewise.
32218         (tests): Depend directly on $(objpfx)tst-unbputc.out and
32219         $(objpfx)tst-printf.out.
32221         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
32223         * Makerules (check-abi-%): Change target to
32224         $(objpfx)check-abi-%.out.
32225         (check-abi target): Update dependencies.
32226         (check-abi-pattern variable): Redirect output of diff to $@.
32227         (check-abi variable): Likewise.
32228         * elf/Makefile (check-abi): Update dependencies.
32230         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
32231         unused.
32232         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
32233         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
32234         subnormal range.
32235         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
32236         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
32237         value has largest subnormal exponent.
32238         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
32239         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
32240         * sysdeps/aarch64/soft-fp/sfp-machine.h
32241         (_FP_TININESS_AFTER_ROUNDING): New macro.
32242         * sysdeps/alpha/soft-fp/sfp-machine.h
32243         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32244         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32245         Likewise.
32246         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
32247         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32248         * sysdeps/mips/soft-fp/sfp-machine.h
32249         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32250         * sysdeps/powerpc/soft-fp/sfp-machine.h
32251         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32252         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32253         Likewise.
32254         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32255         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32256         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32257         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32258         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32259         Likewise.
32261 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
32263         [BZ #16545]
32264         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
32265         model 1.
32267 2014-02-12  Richard Henderson  <rth@redhat.com>
32269         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
32270         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
32271         * sysdeps/unix/sysv/linux/alpha: Move directory from
32272         ports/sysdeps/unix/sysv/linux/alpha.
32273         * README: Update listing for alpha-*-linux-gnu.
32275 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
32277         * include/features.h: Update comment documenting feature test
32278         macros.
32279         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
32280         _DEFAULT_SOURCE.
32281         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
32282         (_SVID_SOURCE): Likewise.
32283         (_DEFAULT_SOURCE): Update description of default features.
32284         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
32285         with _GNU_SOURCE.
32286         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
32287         (S_ISVTX): Likewise.
32288         * manual/math.texi (Mathematical Constants): Likewise.
32289         * manual/signal.texi (Interrupted Primitives): Likewise.
32290         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
32291         * math/test-matherr.c (_SVID_SOURCE): Do not define.
32292         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
32293         Don't refer to _SVID_SOURCE in warning text.
32295         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32297         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
32298         already defined.
32299         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
32300         * sysdeps/mips/dl-lookup.c: Remove.
32301         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
32303 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32305         [BZ #16447]
32306         * math/auto-libm-test-in: Add testcase for expl.
32307         * math/auto-libm-test-out: Regenerate.
32308         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
32309         calculation of unsafe.
32310         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
32312 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32314         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
32315         * sysdeps/unix/sysv/linux/aarch64: Move directory from
32316         ports/sysdeps/unix/sysv/linux/aarch64.
32317         * README: Update listing for aarch64*-*-linux-gnu.
32319 2014-02-11  Will Newton  <will.newton@linaro.org>
32321         * manual/probes.texi (Mathematical Function Probes): Use
32322         "triggered" instead of "hit".
32324         * manual/probes.texi (Internal Probes): Add documentation
32325         of setjmp, longjmp and longjmp_target probes.
32327         * include/stap-probe.h: Add comment about probe argument
32328         format.
32330         * malloc/mtrace.c (attribute_hidden): Remove unused macro
32331         definition.  (tr_where, tr_freehook, tr_mallochook,
32332         tr_reallochook, tr_memalignhook): Use ANSI protoype.
32334 2014-02-11  David S. Miller  <davem@davemloft.net>
32336         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
32337         processing int_tests.
32339 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
32341         * sysdeps/mips: Move directory from ports/sysdeps/mips.
32342         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
32343         * sysdeps/unix/sysv/linux/mips: Move directory from
32344         ports/sysdeps/unix/sysv/linux/mips.
32345         * README: Update listing for mips-*-linux-gnu and
32346         mips64-*-linux-gnu.
32348 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
32350         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
32351         * sysdeps/unix/sysv/linux/m68k: Move directory from
32352         ports/sysdeps/unix/sysv/linux/m68k.
32353         * README: Update listing for m68k-*-linux-gnu.
32355 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
32357         * sysdeps/tile: Move directory from ports/sysdeps/tile.
32358         * sysdeps/unix/sysv/linux/generic: Move directory from
32359         ports/sysdeps/unix/sysv/linux/generic.
32360         * sysdeps/unix/sysv/linux/tile: Move directory from
32361         ports/sysdeps/unix/sysv/linux/tile.
32362         * README: Update listing for tile*-*-linux-gnu.
32364 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
32366         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
32367         __builtin_expect.
32368         * benchtests/bench-memmem.c (simple_memmem): Likewise.
32369         * catgets/open_catalog.c (__open_catalog): Likewise.
32370         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
32371         * debug/confstr_chk.c: Likewise.
32372         * debug/fread_chk.c (__fread_chk): Likewise.
32373         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
32374         * debug/getgroups_chk.c: Likewise.
32375         * debug/mbsnrtowcs_chk.c: Likewise.
32376         * debug/mbsrtowcs_chk.c: Likewise.
32377         * debug/mbstowcs_chk.c: Likewise.
32378         * debug/memcpy_chk.c: Likewise.
32379         * debug/memmove_chk.c: Likewise.
32380         * debug/mempcpy_chk.c: Likewise.
32381         * debug/memset_chk.c: Likewise.
32382         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32383         * debug/strcat_chk.c (__strcat_chk): Likewise.
32384         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
32385         * debug/strncat_chk.c (__strncat_chk): Likewise.
32386         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
32387         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
32388         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
32389         * debug/wcpncpy_chk.c: Likewise.
32390         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32391         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
32392         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
32393         * debug/wcsncpy_chk.c: Likewise.
32394         * debug/wcsnrtombs_chk.c: Likewise.
32395         * debug/wcsrtombs_chk.c: Likewise.
32396         * debug/wcstombs_chk.c: Likewise.
32397         * debug/wmemcpy_chk.c: Likewise.
32398         * debug/wmemmove_chk.c: Likewise.
32399         * debug/wmempcpy_chk.c: Likewise.
32400         * debug/wmemset_chk.c: Likewise.
32401         * dirent/scandirat.c (SCANDIRAT): Likewise.
32402         * dlfcn/dladdr1.c (dladdr1): Likewise.
32403         * dlfcn/dladdr.c (dladdr): Likewise.
32404         * dlfcn/dlclose.c (dlclose_doit): Likewise.
32405         * dlfcn/dlerror.c (__dlerror): Likewise.
32406         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
32407         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
32408         * dlfcn/dlopen.c (dlopen_doit): Likewise.
32409         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
32410         * dlfcn/dlsym.c (dlsym_doit): Likewise.
32411         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
32412         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
32413         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
32414         Likewise.
32415         * elf/dl-conflict.c: Likewise.
32416         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32417         * elf/dl-dst.h: Likewise.
32418         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
32419         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
32420         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32421         * elf/dl-init.c (call_init, _dl_init): Likewise.
32422         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
32423         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
32424         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
32425         Likewise.
32426         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
32427         Likewise.
32428         * elf/dl-minimal.c (__libc_memalign): Likewise.
32429         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
32430         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32431         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
32432         * elf/dl-sym.c (do_sym): Likewise.
32433         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
32434         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
32435         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
32436         * elf/dl-writev.h (_dl_writev): Likewise.
32437         * elf/ldconfig.c (search_dir): Likewise.
32438         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
32439         (dl_main): Likewise.
32440         * elf/setup-vdso.h (setup_vdso): Likewise.
32441         * grp/compat-initgroups.c (compat_call): Likewise.
32442         * grp/fgetgrent.c (fgetgrent): Likewise.
32443         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
32444         * grp/putgrent.c (putgrent): Likewise.
32445         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32446         Likewise.
32447         * hurd/hurdinit.c: Likewise.
32448         * iconvdata/8bit-gap.c (struct): Likewise.
32449         * iconvdata/ansi_x3.110.c : Likewise.
32450         * iconvdata/big5.c : Likewise.
32451         * iconvdata/big5hkscs.c : Likewise.
32452         * iconvdata/cp1255.c: Likewise.
32453         * iconvdata/cp1258.c : Likewise.
32454         * iconvdata/cp932.c : Likewise.
32455         * iconvdata/euc-cn.c: Likewise.
32456         * iconvdata/euc-jisx0213.c : Likewise.
32457         * iconvdata/euc-jp.c: Likewise.
32458         * iconvdata/euc-jp-ms.c : Likewise.
32459         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
32460         * iconvdata/gb18030.c : Likewise.
32461         * iconvdata/gbbig5.c (const): Likewise.
32462         * iconvdata/gbgbk.c: Likewise.
32463         * iconvdata/gbk.c : Likewise.
32464         * iconvdata/ibm1364.c : Likewise.
32465         * iconvdata/ibm930.c : Likewise.
32466         * iconvdata/ibm932.c: Likewise.
32467         * iconvdata/ibm933.c : Likewise.
32468         * iconvdata/ibm935.c : Likewise.
32469         * iconvdata/ibm937.c : Likewise.
32470         * iconvdata/ibm939.c : Likewise.
32471         * iconvdata/ibm943.c: Likewise.
32472         * iconvdata/iso_11548-1.c: Likewise.
32473         * iconvdata/iso-2022-cn.c : Likewise.
32474         * iconvdata/iso-2022-cn-ext.c : Likewise.
32475         * iconvdata/iso-2022-jp-3.c: Likewise.
32476         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
32477         * iconvdata/iso-2022-kr.c : Likewise.
32478         * iconvdata/iso646.c (gconv_end): Likewise.
32479         * iconvdata/iso_6937-2.c : Likewise.
32480         * iconvdata/iso_6937.c : Likewise.
32481         * iconvdata/iso8859-1.c: Likewise.
32482         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
32483         * iconvdata/shift_jisx0213.c : Likewise.
32484         * iconvdata/sjis.c : Likewise.
32485         * iconvdata/t.61.c : Likewise.
32486         * iconvdata/tcvn5712-1.c : Likewise.
32487         * iconvdata/tscii.c: Likewise.
32488         * iconvdata/uhc.c : Likewise.
32489         * iconvdata/unicode.c (gconv_end): Likewise.
32490         * iconvdata/utf-16.c (gconv_end): Likewise.
32491         * iconvdata/utf-32.c (gconv_end): Likewise.
32492         * iconvdata/utf-7.c (base64): Likewise.
32493         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32494         * iconv/gconv_close.c (__gconv_close): Likewise.
32495         * iconv/gconv_open.c (__gconv_open): Likewise.
32496         * iconv/gconv_simple.c (internal_ucs4_loop_single)
32497         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
32498         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
32499         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
32500         (ucs4le_internal_loop_single): Likewise.
32501         * iconv/iconv.c (iconv): Likewise.
32502         * iconv/iconv_close.c: Likewise.
32503         * iconv/loop.c (SINGLE): Likewise.
32504         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
32505         * include/atomic.h: Likewise.
32506         * inet/inet6_option.c (option_alloc): Likewise.
32507         * intl/bindtextdom.c (set_binding_values): Likewise.
32508         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
32509         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
32510         * intl/localealias.c (read_alias_file): Likewise.
32511         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
32512         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
32513         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
32514         * libio/fmemopen.c (fmemopen): Likewise.
32515         * libio/iofgets.c (_IO_fgets): Likewise.
32516         * libio/iofgets_u.c (fgets_unlocked): Likewise.
32517         * libio/iofgetws.c (fgetws): Likewise.
32518         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
32519         * libio/iogetdelim.c (_IO_getdelim): Likewise.
32520         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
32521         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
32522         * locale/findlocale.c (_nl_find_locale): Likewise.
32523         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32524         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
32525         Likewise.
32526         * locale/setlocale.c (setlocale): Likewise.
32527         * login/programs/pt_chown.c (main): Likewise.
32528         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
32529         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
32530         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
32531         (mmap, mmap64, mremap, munmap): Likewise.
32532         * math/e_exp2l.c: Likewise.
32533         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
32534         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
32535         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
32536         * math/s_catan.c (__catan): Likewise.
32537         * math/s_catanf.c (__catanf): Likewise.
32538         * math/s_catanh.c (__catanh): Likewise.
32539         * math/s_catanhf.c (__catanhf): Likewise.
32540         * math/s_catanhl.c (__catanhl): Likewise.
32541         * math/s_catanl.c (__catanl): Likewise.
32542         * math/s_ccosh.c (__ccosh): Likewise.
32543         * math/s_ccoshf.c (__ccoshf): Likewise.
32544         * math/s_ccoshl.c (__ccoshl): Likewise.
32545         * math/s_cexp.c (__cexp): Likewise.
32546         * math/s_cexpf.c (__cexpf): Likewise.
32547         * math/s_cexpl.c (__cexpl): Likewise.
32548         * math/s_clog10.c (__clog10): Likewise.
32549         * math/s_clog10f.c (__clog10f): Likewise.
32550         * math/s_clog10l.c (__clog10l): Likewise.
32551         * math/s_clog.c (__clog): Likewise.
32552         * math/s_clogf.c (__clogf): Likewise.
32553         * math/s_clogl.c (__clogl): Likewise.
32554         * math/s_csin.c (__csin): Likewise.
32555         * math/s_csinf.c (__csinf): Likewise.
32556         * math/s_csinh.c (__csinh): Likewise.
32557         * math/s_csinhf.c (__csinhf): Likewise.
32558         * math/s_csinhl.c (__csinhl): Likewise.
32559         * math/s_csinl.c (__csinl): Likewise.
32560         * math/s_csqrt.c (__csqrt): Likewise.
32561         * math/s_csqrtf.c (__csqrtf): Likewise.
32562         * math/s_csqrtl.c (__csqrtl): Likewise.
32563         * math/s_ctan.c (__ctan): Likewise.
32564         * math/s_ctanf.c (__ctanf): Likewise.
32565         * math/s_ctanh.c (__ctanh): Likewise.
32566         * math/s_ctanhf.c (__ctanhf): Likewise.
32567         * math/s_ctanhl.c (__ctanhl): Likewise.
32568         * math/s_ctanl.c (__ctanl): Likewise.
32569         * math/w_pow.c: Likewise.
32570         * math/w_powf.c: Likewise.
32571         * math/w_powl.c: Likewise.
32572         * math/w_scalb.c (sysv_scalb): Likewise.
32573         * math/w_scalbf.c (sysv_scalbf): Likewise.
32574         * math/w_scalbl.c (sysv_scalbl): Likewise.
32575         * misc/error.c (error_tail): Likewise.
32576         * misc/pselect.c (__pselect): Likewise.
32577         * nis/nis_callback.c (__nis_create_callback): Likewise.
32578         * nis/nis_call.c (__nisfind_server): Likewise.
32579         * nis/nis_creategroup.c (nis_creategroup): Likewise.
32580         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
32581         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
32582         * nis/nis_getservlist.c (nis_getservlist): Likewise.
32583         * nis/nis_lookup.c (nis_lookup): Likewise.
32584         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
32585         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
32586         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
32587         * nis/nis_xdr.c (xdr_endpoint): Likewise.
32588         * nis/nss_compat/compat-grp.c (getgrent_next_file)
32589         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
32590         * nis/nss_compat/compat-initgroups.c (add_group)
32591         (internal_getgrent_r): Likewise.
32592         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
32593         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
32594         * nis/nss_compat/compat-spwd.c (getspent_next_file)
32595         (internal_getspnam_r): Likewise.
32596         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
32597         (_nss_nis_getaliasbyname_r): Likewise.
32598         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
32599         (_nss_nis_getntohost_r): Likewise.
32600         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
32601         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
32602         (_nss_nis_getgrgid_r): Likewise.
32603         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
32604         (internal_nis_gethostent_r, internal_gethostbyname2_r)
32605         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
32606         (_nss_nis_gethostbyname4_r): Likewise.
32607         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
32608         (initgroups_netid): Likewise.
32609         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
32610         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
32611         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
32612         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
32613         (_nss_nis_getprotobynumber_r): Likewise.
32614         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
32615         (_nss_nis_getsecretkey): Likewise.
32616         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
32617         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
32618         (_nss_nis_getpwuid_r): Likewise.
32619         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
32620         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
32621         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
32622         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
32623         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
32624         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
32625         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
32626         Likewise.
32627         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
32628         (_nss_nisplus_getntohost_r): Likewise.
32629         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
32630         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
32631         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
32632         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
32633         Likewise.
32634         * nis/nss_nisplus/nisplus-initgroups.c
32635         (_nss_nisplus_initgroups_dyn): Likewise.
32636         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
32637         (_nss_nisplus_getnetbyaddr_r): Likewise.
32638         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
32639         (_nss_nisplus_getprotobynumber_r): Likewise.
32640         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
32641         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
32642         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
32643         Likewise.
32644         * nis/nss_nisplus/nisplus-service.c
32645         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
32646         (_nss_nisplus_getservbyport_r): Likewise.
32647         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
32648         (_nss_nisplus_getspnam_r): Likewise.
32649         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
32650         Likewise.
32651         * nscd/aicache.c (addhstaiX): Likewise.
32652         * nscd/cache.c (cache_search, prune_cache): Likewise.
32653         * nscd/connections.c (register_traced_file, send_ro_fd)
32654         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
32655         (main_loop_epoll): Likewise.
32656         * nscd/grpcache.c (addgrbyX): Likewise.
32657         * nscd/hstcache.c (addhstbyX): Likewise.
32658         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32659         * nscd/mem.c (gc, mempool_alloc): Likewise.
32660         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
32661         (addinnetgrX): Likewise.
32662         * nscd/nscd-client.h (__nscd_acquire_maplock)
32663         (__nscd_drop_map_ref): Likewise.
32664         * nscd/nscd_getai.c (__nscd_getai): Likewise.
32665         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32666         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
32667         Likewise.
32668         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32669         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32670         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
32671         (__nscd_get_map_ref): Likewise.
32672         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32673         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
32674         Likewise.
32675         * nscd/pwdcache.c (addpwbyX): Likewise.
32676         * nscd/selinux.c (preserve_capabilities): Likewise.
32677         * nscd/servicescache.c (addservbyX): Likewise.
32678         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
32679         * posix/fnmatch.c (fnmatch): Likewise.
32680         * posix/getopt.c (_getopt_internal_r): Likewise.
32681         * posix/glob.c (glob, glob_in_dir): Likewise.
32682         * posix/wordexp.c (exec_comm_child): Likewise.
32683         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
32684         (getanswer_r, gaih_getanswer_slice): Likewise.
32685         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
32686         * resolv/res_init.c: Likewise.
32687         * resolv/res_mkquery.c (res_nmkquery): Likewise.
32688         * resolv/res_query.c (__libc_res_nquery): Likewise.
32689         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
32690         Likewise.
32691         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
32692         * stdio-common/perror.c (perror): Likewise.
32693         * stdio-common/printf_fp.c (___printf_fp): Likewise.
32694         * stdio-common/tmpnam.c (tmpnam): Likewise.
32695         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32696         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32697         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
32698         Likewise.
32699         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
32700         * stdlib/putenv.c (putenv): Likewise.
32701         * stdlib/setenv.c (__add_to_environ): Likewise.
32702         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32703         * stdlib/strtol_l.c (INTERNAL): Likewise.
32704         * string/memmem.c (memmem): Likewise.
32705         * string/strerror.c (strerror): Likewise.
32706         * string/strnlen.c (__strnlen): Likewise.
32707         * string/test-memmem.c (simple_memmem): Likewise.
32708         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
32709         * sunrpc/pm_getport.c (__get_socket): Likewise.
32710         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
32711         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
32712         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
32713         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
32714         Likewise.
32715         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
32716         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
32717         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32718         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
32719         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32720         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
32721         Likewise.
32722         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
32723         Likewise.
32724         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32725         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32726         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32727         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32728         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
32729         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
32730         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
32731         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
32732         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32733         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
32734         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
32735         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
32736         Likewise.
32737         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
32738         Likewise.
32739         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
32740         Likewise.
32741         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
32742         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32743         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
32744         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
32745         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
32746         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
32747         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32748         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
32749         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
32750         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
32751         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
32752         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32753         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
32754         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
32755         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32756         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32757         Likewise.
32758         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
32759         Likewise.
32760         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
32761         Likewise.
32762         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
32763         Likewise.
32764         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32765         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32766         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
32767         Likewise.
32768         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
32769         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
32770         * sysdeps/posix/opendir.c (__opendirat): Likewise.
32771         * sysdeps/posix/sleep.c: Likewise.
32772         * sysdeps/posix/tempname.c: Likewise.
32773         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
32774         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32775         Likewise.
32776         * sysdeps/powerpc/powerpc32/dl-machine.h
32777         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
32778         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
32779         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32780         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
32781         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
32782         Likewise.
32783         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
32784         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
32785         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
32786         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
32787         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
32788         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
32789         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
32790         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
32791         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32792         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
32793         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
32794         (elf_machine_lazy_rel): Likewise.
32795         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32796         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
32797         (elf_machine_lazy_rel): Likewise.
32798         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
32799         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
32800         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
32801         * sysdeps/unix/grantpt.c (grantpt): Likewise.
32802         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
32803         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
32804         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32805         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32806         Likewise.
32807         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
32808         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
32809         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
32810         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
32811         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32812         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32813         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
32814         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
32815         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
32816         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32817         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32818         Likewise.
32819         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
32820         (__posix_fallocate64_l64): Likewise.
32821         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
32822         (posix_fallocate): Likewise.
32823         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
32824         Likewise.
32825         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32826         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
32827         (getifaddrs_internal): Likewise.
32828         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
32829         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
32830         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
32831         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
32832         * sysdeps/unix/sysv/linux/posix_fallocate64.c
32833         (__posix_fallocate64_l64): Likewise.
32834         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
32835         Likewise.
32836         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
32837         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
32838         (__get_clockfreq): Likewise.
32839         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
32840         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
32841         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
32842         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32843         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32844         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
32845         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
32846         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
32847         Likewise.
32848         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
32849         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
32850         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
32851         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
32852         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32853         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
32854         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
32855         Likewise.
32856         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32857         (posix_fallocate): Likewise.
32858         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32859         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
32860         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
32861         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
32862         (elf_machine_rela, elf_machine_rela_relative)
32863         (elf_machine_lazy_rel): Likewise.
32864         * time/asctime.c (asctime_internal): Likewise.
32865         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
32866         * time/tzset.c (__tzset_parse_tz): Likewise.
32867         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32868         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
32869         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
32870         * wcsmbs/wcsmbsload.h: Likewise.
32872         [BZ #15894]
32873         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
32875         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
32876         (arena_get2): Remove THREAD_STATS conditionals.
32877         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
32878         (__malloc_stats, int): Likewise.
32880 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
32882         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
32883         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
32885         * manual/setjmp.texi: Fix typos/grammar errors.
32887         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
32888         Only return early when n is <= 0.  Delete unused return statement.
32890         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
32891         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
32892         * debug/tst-longjmp_chk3.c: New file.
32894         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
32895         (test_main): Replace code with set_fortify_handler call.
32896         * debug/test-strcpy_chk.c: Likewise.
32897         * debug/tst-chk1.c: Likewise.
32898         * debug/tst-longjmp_chk.c: Likewise.
32899         * test-skeleton.c: Include fcntl.h & paths.h
32900         (set_fortify_handler): Define.
32902         * debug/tst-longjmp_chk.c: Add header comment and include
32903         ../test-skeleton.c.
32904         (do_test): Mark static.
32905         (TEST_FUNCTION): Define.
32907         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
32908         (IP_PMTUDISC_INTERFACE): Likewise.
32909         (IP_MULTICAST_IF): Likewise.
32910         (IP_MULTICAST_TTL): Likewise.
32911         (IP_MULTICAST_LOOP): Likewise.
32912         (IP_ADD_MEMBERSHIP): Likewise.
32913         (IP_DROP_MEMBERSHIP): Likewise.
32914         (IP_UNBLOCK_SOURCE): Likewise.
32915         (IP_BLOCK_SOURCE): Likewise.
32916         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
32917         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
32918         (IP_MSFILTER): Likewise.
32919         (MCAST_JOIN_GROUP): Likewise.
32920         (MCAST_BLOCK_SOURCE): Likewise.
32921         (MCAST_UNBLOCK_SOURCE): Likewise.
32922         (MCAST_LEAVE_GROUP): Likewise.
32923         (MCAST_JOIN_SOURCE_GROUP): Likewise.
32924         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
32925         (MCAST_MSFILTER): Likewise.
32926         (IP_MULTICAST_ALL): Likewise.
32927         (IP_UNICAST_IF): Likewise.
32929         * timezone/Makefile: Delete $(have-ksh) check.
32930         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
32931         * timezone/tzselect.ksh: Add +x mode bits.
32933         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
32934         (ANON_INODE_FS_MAGIC): Likewise.
32935         (BDEVFS_MAGIC): Likewise.
32936         (BINFMTFS_MAGIC): Likewise.
32937         (BTRFS_TEST_MAGIC): Likewise.
32938         (CRAMFS_MAGIC_WEND): Likewise.
32939         (DEBUGFS_MAGIC): Likewise.
32940         (ECRYPTFS_SUPER_MAGIC): Likewise.
32941         (EXT3_SUPER_MAGIC): Likewise.
32942         (EXT4_SUPER_MAGIC): Likewise.
32943         (FUTEXFS_SUPER_MAGIC): Likewise.
32944         (HOSTFS_SUPER_MAGIC): Likewise.
32945         (HUGETLBFS_MAGIC): Likewise.
32946         (MINIX3_SUPER_MAGIC): Likewise.
32947         (MTD_INODE_FS_MAGIC): Likewise.
32948         (NILFS_SUPER_MAGIC): Likewise.
32949         (OPENPROM_SUPER_MAGIC): Likewise.
32950         (PIPEFS_MAGIC): Likewise.
32951         (PSTOREFS_MAGIC): Likewise.
32952         (QNX6_SUPER_MAGIC): Likewise.
32953         (RAMFS_MAGIC): Likewise.
32954         (REISERFS_SUPER_MAGIC_STRING): Likewise.
32955         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
32956         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
32957         (SECURITYFS_MAGIC): Likewise.
32958         (SELINUX_MAGIC): Likewise.
32959         (SMACK_MAGIC): Likewise.
32960         (SOCKFS_MAGIC): Likewise.
32961         (SQUASHFS_MAGIC): Likewise.
32962         (STACK_END_MAGIC): Likewise.
32963         (TMPFS_MAGIC): Likewise.
32964         (USBDEVICE_SUPER_MAGIC): Likewise.
32965         (V9FS_MAGIC): Likewise.
32966         (XENFS_SUPER_MAGIC): Likewise.
32967         (CRAMFS_MAGIC): Fix typo in comment.
32968         (EXT2_SUPER_MAGIC): Update comment.
32969         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
32971 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
32973         * sysdeps/arm: Move directory from ports/sysdeps/arm.
32974         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
32975         * sysdeps/unix/sysv/linux/arm: Move directory from
32976         ports/sysdeps/unix/sysv/linux/arm.
32977         * README: Update listing for arm-*-linux-gnueabi.
32979         * README: Remove mention of am33.
32981 2014-02-07  Roland McGrath  <roland@hack.frob.com>
32983         * bits/sigset.h (__sigemptyset): Use a statement expression rather
32984         than the comma operator, to avoid "rhs of comma has no effect"
32985         compiler warnings.
32986         (__sigfillset, __sigandset, __sigorset): Likewise.
32987         * include/signal.h (__sigemptyset): Likewise.
32988         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
32990 2014-02-07  Allan McRae  <allan@archlinux.org>
32992         * version.h (RELEASE): Set to "development".
32993         (VERSION): Set to "2.19.90"
32994         * NEWS: Add 2.20 section.
32996 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
32998         [BZ #16529]
32999         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
33001 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33003         * manual/contrib.texi: Update entry for Carlos O'Donell,
33004         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
33006 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
33008         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
33010         * sysdeps/unix/sysv/linux/kernel-features.h
33011         [__LINUX_KERNEL_VERSION >= 0x020621]
33012         (__ASSUME_PROC_PID_TASK_COMM): Define.
33014 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33016         [BZ #16398]
33017         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
33018         conversion when destination buffer does not have enough space.
33019         * libio/tst-ftell-partial-wide.c: New test case.
33020         * libio/Makefile (tests): Add tst-ftell-partial-wide.
33022         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
33023         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
33024         Leonard and Allan McRae.
33026 2014-02-04  David S. Miller  <davem@davemloft.net>
33028         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
33029         32-bit.
33031 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33034         New file
33035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33036         New file
33037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33038         New file.
33039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33040         New file.
33041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33042         New file.
33043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33044         New file.
33045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33046         New file.
33047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33048         New file.
33049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33050         New file.
33051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33052         New file.
33053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33054         New file.
33055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33056         New file.
33057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33058         New file.
33060 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33062         * nptl/shlib-versions: Change powerpc*le start to 2.17.
33063         * shlib-versions: Likewise.
33065 2014-02-04  Roland McGrath  <roland@hack.frob.com>
33066             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33068         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
33069         (abilist-pattern): New variable, set to %-le.abilist.
33071         * Makerules (abilist-pattern): New variable.
33072         (vpath): Use $(abilist-pattern) in place of %.abilist.
33073         (check-abi-% pattern rule): Likewise.
33074         (check-abi, update-abi): Likewise.
33076 2014-02-04  Eric Wong  <normalperson@yhbt.net>
33078         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33080 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
33082         * manual/startup.texi: Add next, previous, and top entries for
33083         the `Program Arguments' and `Environment Variables' nodes.
33085 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
33087         * manual/macros.texi: Add comments before MTASC-safety macros.
33089         * manual/users.texi: Document MTASC-safety properties.
33091         * manual/threads.texi (pthread_key_create, pthread_key_delete)
33092         (pthread_getspecific, pthread_setspecific): Format with
33093         @deftypefun, and add @safety note.
33094         * manual/signal.texi: Move comments that analyze the above
33095         functions to their home place.
33097 2014-02-03  Allan McRae  <allan@archlinux.org>
33099         * po/sl.po: Update Slovenian translation from translation project.
33101 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
33103         * manual/time.texi (timegm): Add missing blank after @c.
33104         Reported by Joseph Myers <joseph@codesourcery.com>.
33106 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
33108         * manual/check-safety.sh: New.
33109         * manual/Makefile ($(objpfx)stamp-summary): Run it.
33111         * manual/terminal.texi: Document MTASC-safety properties.
33113         * manual/filesys.texi: Document MTASC-safety properties.
33115         * manual/errno.texi: Document MTASC-safety properties.
33117         * manual/intro.texi: Document safety identifiers and
33118         conditionals.
33120         * manual/string.texi (wcstok): Fix prototype.
33121         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
33123         * manual/time.texi: Document MTASC-safety properties.
33125         * manual/string.texi: Document MTASC-safety properties.
33127         * manual/threads.texi: Document MTASC-safety properties.
33129         * manual/stdio.texi: Document MTASC-safety properties.
33131         * manual/syslog.texi: Document MTASC-safety properties.
33133         * manual/sysinfo.texi: Document MTASC-safety properties.
33135         * manual/startup.texi: Document MTASC-safety properties.
33137         * manual/socket.texi: Document MTASC-safety properties.
33139         * manual/signal.texi: Document MTASC-safety properties.
33141 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
33143         * manual/setjmp.texi: Document MTASC-safety properties.
33145         * manual/search.texi: Document MTASC-safety properties.
33147         * manual/resource.texi: Document MTASC-safety properties.
33149         * manual/process.texi: Document MTASC-safety properties.
33151         * manual/platform.texi: Document MTASC-safety properties.
33153         * manual/pipe.texi: Document MTASC-safety properties.
33155         * manual/pattern.texi: Document MTASC-safety properties.
33157         * manual/message.texi: Document MTASC-safety properties.
33159         [BZ #12751]
33160         * manual/memory.texi: Document MTASC-safety properties.
33162         * manual/math.texi: Document MTASC-safety properties.
33164         * manual/locale.texi: Document MTASC-safety properties.
33166         * manual/llio.texi: Document MTASC-safety properties.
33168         * manual/libdl.texi: New.
33170         * manual/lang.texi: Document MTASC-safety properties.
33172         * manual/job.texi: Document MTASC-safety properties.
33174         * manual/getopt.texi: Document MTASC-safety properties.
33176         * manual/ctype.texi: Document MTASC-safety properties.
33178 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
33180         [BZ #16046]
33181         * csu/libc-tls.c (static_map): Remove variable.
33182         (__libc_setup_tls): Use main executable's link map for TLS data.
33183         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
33184         casing for LM_ID_BASE and GL(dl_nns).
33185         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
33186         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
33187         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
33188         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
33189         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
33190         member.
33191         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
33192         l_phnum members.
33194 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
33196         * manual/debug.texi: Document MTASC-safety properties.
33198 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
33200         [BZ #16510]
33201         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
33202         of __x86_64__ when disabling x87 inline functions.
33204 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
33206         * manual/charset.texi: Document MTASC-safety properties.
33208         * manual/crypt.texi: Document MTASC-safety properties.
33210         * manual/conf.texi: Document MTASC-safety properties.
33212         * manual/arith.texi: Document MTASC-safety properties.
33214         * manual/argp.texi: Document MTASC-safety properties.
33216         * manual/macros.texi: Introduce macros to document multi
33217         thread, asynchronous signal and asynchronous cancellation
33218         safety properties.
33219         * manual/intro.texi: Introduce the properties themselves.
33221 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33223         * sysdeps/sh/sh4/Makefile: New file.
33225 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
33227         * math/gen-libm-test.pl ($srcdir): New variable.
33228         ($auto_input): Use it.
33230 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33232         [BZ #16506]
33233         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
33234         access beyond array bounds when parsing netgroups file.
33236         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
33237         the old buffer before realloc.
33239 2014-01-27  Allan McRae  <allan@archlinux.org>
33241         * po/fr.po: Update French translation from translation project.
33243 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33245         * sysdeps/sh/libm-test-ulps: Regenerate.
33247 2014-01-24  David S. Miller  <davem@davemloft.net>
33249         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
33251 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33253         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
33254         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
33256 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33258         [BZ #16474]
33259         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
33260         string pointers after reallocation.
33262 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33264         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
33265         __SH4A__ instead of __SH_FPU_ANY__.
33267 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33269         * sysdeps/sh/fpu_control.h: New file.
33270         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
33271         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
33272         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
33273         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
33274         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
33275         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
33276         * sysdeps/sh/sys/ucontext.h: Remove.
33277         * sysdeps/sh/sys: Remove directory.
33279 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33281         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
33282         s390/sys/ucontext.h.
33283         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
33284         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
33286 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
33288         [BZ #15605]
33289         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
33291 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33293         [BZ#16431]
33294         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33295         Adjust the vDSO correctly for internal calls.
33296         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
33298 2014-01-20  Allan McRae  <allan@archlinux.org>
33300         * po/ca.po: Update Catalan translation from translation project.
33302 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
33304         * sysdeps/s390/sotruss-lib.c: New file.
33306 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33308         [BZ#16430]
33309         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
33310         (__GI___gettimeofday): Alias for a different internal symbol to avoid
33311         local calls issues by not having a PLT stub required for IFUNC calls.
33312         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
33314 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
33316         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
33317         * math/test-fpucw-static.c: Likewise.
33319 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33321         [BZ #16453]
33322         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
33324 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33326         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
33327         implementation for powerpc.
33329 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
33331         [BZ #14782]
33332         * sysdeps/posix/system.c (__libc_system): Do not enable
33333         asynchronous cancellation.
33335 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33337         [BZ #16427]
33338         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
33339         handling only for numbers special also in the IEEE case.
33341 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33343         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33345 2014-01-11  Allan McRae  <allan@archlinux.org>
33347         * po/bg.po: Update Bulgarian translation from translation project.
33349         * po/de.po: Update German translation from translation project.
33351 2014-01-10  Roland McGrath  <roland@hack.frob.com>
33353         * sysdeps/generic/gcc-compat.h: New file.
33355 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33357         * benchtests/asin-inputs: Correct slow inputs.
33358         * benchtests/acos-inputs: Likewise.
33360 2014-01-10  Allan McRae  <allan@archlinux.org>
33362         * po:sv.po: Update Swedish translation from translation project.
33364         * po/vi.po: Update Vietnamese translation from translation project.
33366         * po/eo.po: Update Esperanto translation from translation project.
33368         * po/cs.po: Update Czech translation from translation project.
33370         * po/nl.po: Update Dutch translation from translation project.
33372         * po/pl.po: Update Polish translation from translation project.
33374         * po/ru.po: Update Russian translation from translation project.
33376         * po/uk.po: Update Ukrainian translation from translation project.
33378 2014-01-08  Brooks Moses  <bmoses@google.com>
33380         * elf/dl-load.c: Fix comment typo.
33382 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
33384         * po/header.pot: Rename to...
33385         * po/pot.header: ... this.
33386         * po/Makefile: Use pot.header.
33388 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
33389             Maxim Kuvyrkov  <maxim@kugelworks.com>
33391         [BZ #16394]
33392         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
33393         SRC and DEST against LEN.
33395 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33397         [BZ #16414]
33398         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
33399         implementation.
33400         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
33402 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33406 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
33408         [BZ #16408]
33409         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
33410         for large positive arguments.
33412 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
33414         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33416         * math/auto-libm-test-in: Mark various tests with
33417         xfail-rounding:ldbl-128ibm.
33418         * math/auto-libm-test-out: Regenerated.
33420         [BZ #16407]
33421         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33422         Increase overflow threshold.
33424 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
33426         [BZ #14286]
33427         * stdio-common/vfprintf.c: Check for integer overflow.
33429 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33431         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
33432         the first argument and return value of __tls_get_addr_internal.
33434 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33436         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
33437         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
33439 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33441         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
33442         * sysdeps/s390/rtld-global-offsets.sym: New file.
33443         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
33444         GLIBC_2.19 symbol.
33445         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
33446         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
33447         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33448         ... this.
33449         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
33450         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33451         ... this.
33452         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33453         Regenerate.
33454         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33455         Regenerate.
33456         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
33457         halfs of GPRs for high_gprs contexts.
33458         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
33459         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
33460         field.
33461         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
33462         uc_flags field.
33463         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
33464         64 bit versions:
33465         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
33466         for high GPRs (uc_high_gprs) and for future extensions
33467         (__reserved).
33468         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
33469         for future extensions (__reserved).
33470         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
33471         64 bit versions:
33472         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
33473         SC_HIGHGPRS offset definition.
33474         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
33475         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
33477         * Versions.def: Add GLIBC_2.19 for libpthread.
33478         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
33479         siglongjmp for libpthread with GLIBC_2.19 symver.
33480         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
33481         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
33482         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
33483         * sysdeps/s390/__longjmp.c: New file.
33484         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
33485         * sysdeps/s390/longjmp.c: New file.
33486         * sysdeps/s390/setjmp.S: New file.
33487         * sysdeps/s390/sigjmp.S: New file.
33488         * sysdeps/s390/v1-longjmp.c: New file.
33489         * sysdeps/s390/v1-setjmp.h: New file.
33490         * sysdeps/s390/v1-sigjmp.c: New file.
33491         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
33492         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
33493         GLIBC_2.19 version.
33494         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
33495         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
33496         versioned symbols for ____longjmp_chk.
33497         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33498         Likewise.
33499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33500         Regenerate.
33501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33502         Regenerate.
33503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33504         Regenerate.
33505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33506         Regenerate.
33507         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
33508         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
33509         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
33510         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
33511         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
33512         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
33513         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
33514         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
33515         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
33516         * sysdeps/s390/rtld-__longjmp.c: New file.
33517         * sysdeps/s390/rtld-setjmp.S: New file.
33519 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
33521         [BZ #16400]
33522         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33523         Return -__logl (x) for small positive arguments without evaluating
33524         a polynomial.
33526 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
33528         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
33529         Rename to ...
33530         (__ptrace_peeksiginfo_args): ... this.
33531         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33532         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33533         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33535 2014-01-06  Allan McRae  <allan@archlinux.org>
33537         * inet/netinet/in.h: Fix typo in comment.
33539 2014-01-05  Andreas Jaeger  <aj@suse.de>
33541         * sysdeps/i386/fpu/libm-test-ulps: Update.
33543 2014-01-05  Allan McRae  <allan@archlinux.org>
33545         * po/libc.pot: Regenerated.
33547         * malloc/memusagestat.c: Fix gettext call formatting.
33549 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
33551         * nscd/nscd.c: Improve usage() output.
33553 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
33555         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
33556         * sysdeps/unix/sysv/linux/configure: Regenerated.
33557         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
33558         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
33560 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
33562         [BZ #16390]
33563         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
33564         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
33566 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33568         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
33569         extra tokens at end of #undef directive.
33570         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
33571         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
33572         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
33574 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
33576         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33578         * math/auto-libm-test-in: Mark various tests with
33579         xfail-rounding:ldbl-128ibm.
33580         * math/auto-libm-test-out: Regenerated.
33582 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
33584         [BZ #16386]
33585         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
33586         numbers with subnormal high part when calculating exponent.
33588         [BZ #16385]
33589         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
33590         fabs.
33592         [BZ #16384]
33593         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
33594         M_LN2l.
33595         (__ieee754_acoshl): Use __log1pl not __log1p.
33597 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
33599         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
33600         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
33601         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
33602         (grow_heap, heap_trim, _int_new_arena, get_free_list)
33603         (reused_arena, arena_get2): Convert to GNU style.
33604         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
33605         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
33606         (memalign_check, __malloc_set_state): Likewise.
33607         * malloc/mallocbug.c (main): Likewise.
33608         * malloc/malloc.c (__malloc_assert, malloc_init_state)
33609         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
33610         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
33611         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
33612         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
33613         (__posix_memalign, malloc_info): Likewise.
33614         * malloc/malloc.h: Likewise.
33615         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
33616         (mallochook, memalignhook, reallochook, mabort): Likewise.
33617         * malloc/mcheck.h: Likewise.
33618         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
33619         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
33620         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
33621         * malloc/morecore.c (__default_morecore): Likewise.
33622         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
33623         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
33624         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
33625         (print_and_abort): Likewise.
33626         * malloc/obstack.h: Likewise.
33627         * malloc/set-freeres.c (__libc_freeres): Likewise.
33628         * malloc/tst-mallocstate.c (main): Likewise.
33629         * malloc/tst-mtrace.c (main): Likewise.
33630         * malloc/tst-realloc.c (do_test): Likewise.
33632 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33634         [BZ #16366]
33635         * nscd/netgroupcache.c (do_notfound): New function.
33636         (addgetnetgrentX): Use it.
33638         [BZ # 16365]
33639         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
33640         NSS_STATUS_NOTFOUND.
33642 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
33644         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33647 2014-01-01  Allan McRae  <allan@archlinux.org>
33649         * scripts/update-copyrights: Update configure input file suffix.
33651         * NEWS: Update copyright year.
33652         * catgets/gencat.c: Likewise.
33653         * csu/version.c: Likewise.
33654         * debug/catchsegv.sh: Likewise.
33655         * debug/pcprofiledump.c: Likewise.
33656         * debug/xtrace.sh: Likewise.
33657         * elf/ldconfig.c: Likewise.
33658         * elf/ldd.bash.in: Likewise.
33659         * elf/pldd.c: Likewise.
33660         * elf/sotruss.ksh: Likewise.
33661         * elf/sprof.c: Likewise.
33662         * iconv/iconv_prog.c: Likewise.
33663         * iconv/iconvconfig.c: Likewise.
33664         * locale/programs/locale.c: Likewise.
33665         * locale/programs/localedef.c: Likewise.
33666         * login/programs/pt_chown.c: Likewise.
33667         * malloc/memusage.sh: Likewise.
33668         * malloc/memusagestat.c: Likewise.
33669         * malloc/mtrace.pl: Likewise.
33670         * manual/libc.texinfo: Likewise.
33671         * nscd/nscd.c: Likewise.
33672         * nss/getent.c: Likewise.
33673         * nss/makedb.c: Likewise.
33674         * posix/getconf.c: Likewise.
33675         * scripts/test-installation.pl: Likewise.
33677         * All files with FSF copyright notices: Update copyright dates
33678         using scripts/update-copyrights.
33679         * intl/plural.c: Regenerated.
33680         * locale/programs/charmap-kw.h: Likewise.
33681         * locale/programs/locfile-kw.h: Likewise.
33683 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
33685         * sysdeps/unix/sysv/linux/configure: Regenerated.
33686         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
33687         the linux/fanotify.h header.
33688         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
33689         HAVE_LINUX_FANOTIFY_H is defined.
33691 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33693         * benchtests/cos-inputs: New inputs.
33694         * benchtests/sin-inputs: Likewise.
33696         * benchtests/atan-inputs: New inputs. Fix name of multiple
33697         precision fallback inputs.
33699         * benchtests/atanh-inputs: New inputs.
33700         * benchtests/tanh-inputs: Likewise.
33702         * benchtests/acosh-inputs: New inputs.
33703         * benchtests/asinh-inputs: Likewise.
33705         * benchtests/cosh-inputs: New inputs.
33706         * benchtests/sinh-inputs: Likewise.
33708         * benchtests/acos-inputs: Add more inputs.
33709         * benchtests/asin-inputs: Likewise.
33711 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
33713         [BZ #16375]
33714         * manual/arith.texi: Fix spelling.
33715         * manual/charset.texi: Likewise.
33716         * manual/errno.texi: Likewise.
33717         * manual/filesys.texi: Likewise.
33718         * manual/lang.texi: Likewise.
33719         * manual/llio.texi: Likewise.
33720         * manual/locale.texi: Likewise.
33721         * manual/message.texi: Likewise.
33722         * manual/resource.texi: Likewise.
33723         * manual/search.texi: Likewise.
33724         * manual/setjmp.texi: Likewise.
33725         * manual/stdio.texi: Likewise.
33726         * manual/string.texi: Likewise.
33727         * manual/sysinfo.texi: Likewise.
33728         * manual/time.texi: Likewise.
33730 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
33732         * po/sl.po: New file.
33734 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
33736         * .gitignore: Add core/.gdbinit/.gdb_history.
33738 2013-12-27  Allan McRae  <allan@archlinux.org>
33740         [BZ #16369]
33741         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
33742         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
33744 2013-12-24  Brooks Moses  <bmoses@google.com>
33746         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
33747         all compilers that claim C++98 compliance, not just GCC.
33748         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33749         Likewise.
33751 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
33753         * NEWS: Restore accidentally deleted bug-fix entries.
33755 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
33756             Ondřej Bílka  <neleai@seznam.cz>
33758         [BZ #15073]
33759         * malloc/malloc.c (_int_free): Perform sanity check only if we
33760         have_lock.
33762 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
33764         [BZ #12986]
33765         * manual/stdio.texi (String Input Conversions): Clarify that character
33766         classes are not supported.
33768 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33772 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
33774         [BZ #16337]
33775         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33776         Calculate results for small negative arguments directly rather
33777         than using reflection formula with special underflow handling.
33779         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
33780         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
33781         sysdeps/unix/bsd/bsd4.4/syscalls.list.
33782         (fchflags): Likewise.
33783         (revoke): Likewise.
33784         (setlogin): Likewise.
33785         (sigaltstack): Likewise.
33786         (wait4): Likewise.
33787         (sigblock): Remove.
33788         (sigsetmask): Likewise.
33789         (wait3): Likewise.
33790         (waitpid): Likewise.
33791         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
33792         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
33793         file.
33794         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
33795         * sysdeps/unix/bsd/Makefile: ... here.
33796         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
33797         * sysdeps/unix/bsd/Versions: ... here.
33798         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
33799         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
33800         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
33801         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
33802         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
33803         * sysdeps/unix/bsd/sigblock.c: ... here.
33804         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
33805         * sysdeps/unix/bsd/sigsetmask.c: ... here.
33806         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
33807         * sysdeps/unix/bsd/sigvec.c: ... here.
33808         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
33809         * sysdeps/unix/bsd/tcdrain.c: ... here.
33810         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
33811         * sysdeps/unix/bsd/tcgetattr.c: ... here.
33812         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
33813         * sysdeps/unix/bsd/tcsetattr.c: ... here.
33814         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
33815         * sysdeps/unix/bsd/wait.c: ... here.
33816         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
33817         * sysdeps/unix/bsd/wait3.c: ... here.
33818         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
33819         * sysdeps/unix/bsd/waitpid.c: ... here.
33821 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
33823         [BZ #16356]
33824         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
33825         round-to-nearest for [!USE_AS_EXPM1L].
33826         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
33827         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
33828         more tests of exp and exp10.  Expect some exp10 tests to miss
33829         exceptions or fail in directed rounding modes.
33830         * math/auto-libm-test-out: Regenerated.
33831         * math/libm-test.inc (exp10_tonearest_test_data): New array.
33832         (exp10_test_tonearest): New function.
33833         (exp10_towardzero_test_data): New array.
33834         (exp10_test_towardzero): New function.
33835         (exp10_downward_test_data): New array.
33836         (exp10_test_downward): New function.
33837         (exp10_upward_test_data): New array.
33838         (exp10_test_upward): New function.
33839         (main): Call the new functions.
33840         * sysdeps/i386/fpu/libm-test-ulps: Update.
33841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33843 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
33845         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33846         asinh, atan, atan2, atanh, cbrt, cos and cosh.
33847         * math/auto-libm-test-out: Regenerated.
33848         * math/libm-test.inc (acosh_test_data): Add more tests.
33849         (atanh_test_data): Likewise.
33850         (ceil_test_data): Likewise.
33851         (copysign_test_data): Likewise.
33852         * sysdeps/i386/fpu/libm-test-ulps: Update.
33853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33855         * timezone/checktab.awk: Update from tzcode 2013i.
33856         * timezone/private.h: Likewise.
33857         * timezone/scheck.c: Likewise.
33858         * timezone/tzfile.h: Likewise.
33859         * timezone/tzselect.ksh: Likewise.
33860         * timezone/zdump.c: Likewise.
33861         * timezone/zic.c: Likewise.
33863         * math/auto-libm-test-in: Add tests of cpow.
33864         * math/auto-libm-test-out: Regenerated.
33865         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
33866         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33867         mpc_cc_c.
33868         (func_calc_desc): Add mpc_cc_c union field.
33869         (test_functions): Add cpow.
33870         (special_fill_2pi): New function.
33871         (special_real_inputs): Add 2pi.
33872         (calc_generic_results): Handle mpc_cc_c.
33873         * sysdeps/i386/fpu/libm-test-ulps: Update.
33874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33876         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
33877         csqrt, ctan and ctanh.
33878         * math/auto-libm-test-out: Regenerated.
33879         * math/libm-test.inc (TEST_COND_x86_64): New macro.
33880         (TEST_COND_x86): Likewise.
33881         (ccos_test_data): Use AUTO_TESTS_c_c.
33882         (ccosh_test_data): Likewise.
33883         (cexp_test_data): Likewise.
33884         (clog_test_data): Likewise.
33885         (csqrt_test_data): Likewise.
33886         (ctan_test_data): Likewise.
33887         (ctan_tonearest_test_data): Likewise.
33888         (ctan_towardzero_test_data): Likewise.
33889         (ctan_downward_test_data): Likewise.
33890         (ctan_upward_test_data): Likewise.
33891         (ctanh_test_data): Likewise.
33892         (ctanh_tonearest_test_data): Likewise.
33893         (ctanh_towardzero_test_data): Likewise.
33894         (ctanh_downward_test_data): Likewise.
33895         (ctanh_upward_test_data): Likewise.
33896         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33897         mpc_c_c.
33898         (func_calc_desc): Add mpc_c_c union field.
33899         (FUNC_mpc_c_c): New macro.
33900         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
33901         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
33902         ctanh.
33903         (special_fill_min_subnorm_p120): New function.
33904         (special_real_inputs): Add min_subnorm_p120.
33905         (calc_generic_results): Handle mpc_c_c.
33906         * sysdeps/i386/fpu/libm-test-ulps: Update.
33907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33909 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33911         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
33912         (do_sin_slow): New functions.
33913         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
33914         (cslow2, csloww1, csloww2): Use the new functions.
33916         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
33917         Use M to change sign of result instead of X.  Assume X is
33918         positive.
33919         (csloww1): Likewise.
33920         (__sin): Adjust.
33921         (__cos): Adjust.
33923         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
33924         arguments A and DA.
33925         (__sin): Adjust.
33926         (__cos): Likewise.
33928         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
33929         (__cos): Likewise.
33930         (sloww1): Don't adjust sign of DX.
33931         (csloww1): Likewise.
33932         (sloww2): Use X directly and don't adjust sign of DX.
33933         (csloww2): Likewise.
33935 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33937         * math/auto-libm-test-in: Add tests of cabs and carg.
33938         * math/auto-libm-test-out: Regenerated.
33939         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
33940         (carg_test_data): Likewise.
33941         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33942         mpc_c_f.
33943         (func_calc_desc): Add mpc_c_f union field.
33944         (test_functions): Add cabs and carg.
33945         (calc_generic_results): Handle mpc_c_f.
33947         * sysdeps/powerpc/powerpc32/libgcc-compat.S
33948         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
33949         as a macro and a compat symbol.
33950         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
33951         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
33952         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
33953         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
33954         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
33955         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
33956         not use .hidden.
33957         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
33958         Likewise.
33959         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
33960         Likewise.
33961         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
33962         Likewise.
33963         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
33964         Likewise.
33965         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
33966         Likewise.
33967         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
33968         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
33969         from GLIBC_2.3.2.
33971 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33975 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33977         * manual/texinfo.tex: Update to version 2013-11-26.10 with
33978         trailing whitespace removed.
33979         * scripts/config.guess: Update to version 2013-11-29.
33980         * scripts/config.sub: Update to version 2013-10-01.
33982         * math/auto-libm-test-in: Add tests of sincos.
33983         * math/auto-libm-test-out: Regenerated.
33984         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
33985         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33986         mpfr_f_11.
33987         (func_calc_desc): Add mpfr_f_11 union field.
33988         (test_functions): Add sincos.
33989         (calc_generic_results): Handle mpfr_f_11.
33990         * sysdeps/i386/fpu/libm-test-ulps: Update.
33991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33993 2013-12-19  Andreas Schwab  <schwab@suse.de>
33995         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
33996         CALL_MCOUNT.
33997         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33998         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
33999         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
34001 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34003         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
34004         * sysdeps/i386/fpu/libm-test-ulps: Update.
34005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34007         [BZ #16293]
34008         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
34009         round-to-nearest mode when using frndint.
34010         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
34011         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34012         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34013         Likewise.
34014         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
34015         sinh test to fail.
34016         * math/auto-libm-test-out: Regenerated.
34017         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
34018         (TEST_COND_x86): Likewise.
34019         (expm1_tonearest_test_data): New array.
34020         (expm1_test_tonearest): New function.
34021         (expm1_towardzero_test_data): New array.
34022         (expm1_test_towardzero): New function.
34023         (expm1_downward_test_data): New array.
34024         (expm1_test_downward): New function.
34025         (expm1_upward_test_data): New array.
34026         (expm1_test_upward): New function.
34027         (main): Run the new test functions.
34028         * sysdeps/i386/fpu/libm-test-ulps: Update.
34029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34031         * include/features.h: Update comment documenting feature test
34032         macros.  Mention _DEFAULT_SOURCE in comment.
34033         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
34034         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
34035         _BSD_SOURCE and _SVID_SOURCE.
34036         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
34037         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
34038         !_SVID_SOURCE]: Likewise.
34039         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34040         (__USE_POSIX_IMPLICITLY): Define.
34041         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34042         (_POSIX_SOURCE): Undefine and redefine.
34043         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34044         (_POSIX_C_SOURCE): Likewise.
34045         * manual/creature.texi (_DEFAULT_SOURCE): Document.
34046         (Feature Test Macros): Update documentation of default features.
34048 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34050         * benchtests/Makefile: Add bench-strtok.
34051         * benchtests/bench-strtok.c: New file: strtok benchtest.
34053 2013-12-19  Allan McRae  <allan@archlinux.org>
34055         * manual/install.texi: Suppress menu for plain text output.
34056         * INSTALL: Regenerated.
34058 2013-12-18  Brooks Moses  <bmoses@google.com>
34060         [BZ #15846]
34061         * misc/getauxval.c: Include errno.h.
34062         (__getauxval): Set errno to ENOENT if the requested type is not
34063         found.
34064         * misc/sys/auxv.h (getauxval): Document that it may set errno;
34065         don't declare with __attribute_const__.
34066         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
34067         * manual/startup.texi: Document that getauxval sets errno.
34069 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34071         * math/auto-libm-test-in: Add tests of jn and yn.
34072         * math/auto-libm-test-out: Regenerated.
34073         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
34074         (yn_test_data): Likewise.
34075         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34076         mpfr_if_f.
34077         (func_calc_desc): Add mpfr_if_f union field.
34078         (FUNC_mpfr_if_f): New macro.
34079         (test_functions): Add jn and yn.
34080         (calc_generic_results): Assert type of second input for
34081         mpfr_ff_f.  Handle mpfr_if_f.
34082         (output_for_one_input_case): Disable all checking for arguments
34083         fitting floating-point types in case of an integer argument.
34084         * sysdeps/i386/fpu/libm-test-ulps: Update.
34085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34088         Don't expect fegetround reference in libm.so.
34090 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34092         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
34093         $(config-cflags-nofma).
34095 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34097         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
34098         * math/auto-libm-test-out: Regenerated.
34100         [BZ #16338]
34101         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
34102         to determine exponent and adjust argument to have exponent of -1.
34103         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
34104         log2.
34105         * math/auto-libm-test-out: Regenerated.
34106         * sysdeps/i386/fpu/libm-test-ulps: Update.
34107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34109 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
34111         * manual/probes.texi: Remove cases when per-thread arenas are
34112         disabled.
34114 2013-12-18  Andreas Schwab  <schwab@suse.de>
34116         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
34117         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
34118         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
34119         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
34120         * sysdeps/i386/i686/multiarch/Makefile: Update.
34121         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
34123 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34125         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
34126         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
34128 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
34130         [BZ #15968]
34131         Support TZ transition times < 00:00:00.
34132         This is needed for version-3 tz-format files; it supports time
34133         stamps past 2037 for America/Godthab (the only entry in the tz
34134         database for which this change is relevant).
34135         * manual/time.texi (TZ Variable): Document transition times
34136         from -167:59:59 through -00:00:01.
34137         * time/tzset.c (tz_rule): Time of day is now signed.
34138         (__tzset_parse_tz): Parse negative time of day.
34140         Document TZ transition times >= 25:00:00.
34141         * manual/time.texi (TZ Variable): Document transition times from
34142         25:00:00 through 167:59:59.  These are already supported, and this
34143         support will help with version-3 tz-format files.
34145         * manual/time.texi (TZ Variable): Modernize North America example
34146         to reflect current (i.e., 2007-and-later) daylight saving rules.
34148         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
34150 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34152         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
34153         * sysdeps/unix/bsd/bits/stat.h: Likewise.
34154         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
34155         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34156         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
34157         * sysdeps/unix/bsd/bsdstat.h: Likewise.
34158         * sysdeps/unix/bsd/clock.c: Likewise.
34159         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
34160         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
34161         * sysdeps/unix/bsd/init-posix.c: Likewise.
34162         * sysdeps/unix/bsd/poll.c: Likewise.
34163         * sysdeps/unix/bsd/ptsname.c: Likewise.
34164         * sysdeps/unix/bsd/seekdir.c: Likewise.
34165         * sysdeps/unix/bsd/setegid.c: Likewise.
34166         * sysdeps/unix/bsd/seteuid.c: Likewise.
34167         * sysdeps/unix/bsd/setgid.c: Likewise.
34168         * sysdeps/unix/bsd/setrgid.c: Likewise.
34169         * sysdeps/unix/bsd/setruid.c: Likewise.
34170         * sysdeps/unix/bsd/setsid.c: Likewise.
34171         * sysdeps/unix/bsd/setuid.c: Likewise.
34172         * sysdeps/unix/bsd/sigaction.c: Likewise.
34173         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
34174         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
34175         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
34176         * sysdeps/unix/bsd/telldir.c: Likewise.
34177         * sysdeps/unix/bsd/times.c: Likewise.
34178         * sysdeps/unix/bsd/usleep.c: Likewise.
34180         * misc/Makefile (install-lib): Remove libbsd-compat.a.
34181         ($(objpfx)libbsd-compat.a): Remove rule.
34183         * include/features.h (__FAVOR_BSD): Do not define.
34184         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
34185         features conflicting with POSIX.
34186         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
34187         (_BSD_SOURCE): Remove description of not being a subset of other
34188         feature test macros.
34189         * manual/job.texi (getpgrp): Do not document BSD version.
34190         (getpgid): Do not document by reference to BSD getpgrp.
34191         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
34192         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
34193         * signal/signal.h [__FAVOR_BSD]: Likewise.
34194         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
34195         instead of making contents conditional on [__FAVOR_BSD].
34196         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
34198 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34202 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34204         [BZ #16314]
34205         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
34206         values below 2**-450, not 2**-500.
34207         * math/auto-libm-test-in: Don't allow spurious underflow from
34208         hypot.
34209         * math/auto-libm-test-out: Regenerated.
34211         [BZ #16316]
34212         [BZ #16330]
34213         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
34214         values of ha and hb and sort them after adjusting subnormal
34215         arguments.
34216         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34217         Likewise.
34218         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
34219         values of ea and eb and sort them after adjusting subnormal
34220         arguments.
34221         * math/auto-libm-test-in: Do not expect some hypot tests of
34222         subnormals to fail.  Add more hypot tests.
34223         * math/auto-libm-test-out: Regenerated.
34225 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34227         [BZ #13304]
34228         * sysdeps/sh/s_fma.c: New file.
34229         * sysdeps/sh/s_fmaf.c: New file.
34230         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
34231         version.
34232         * sysdeps/sh/Implies: Add sh/soft-fp.
34234 2013-12-16  Roland McGrath  <roland@hack.frob.com>
34236         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
34237         level of indirection to members `objname', `errstring', `malloced'.
34238         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
34239         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
34240         it as the __longjmp argument (just pass 1 instead).
34241         (_dl_catch_error): Initialize C with argument pointers and address of
34242         volatile local ERRCODE rather than copying values out of C at return.
34244 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
34246         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
34247         * math/auto-libm-test-out: Regenerated.
34248         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
34249         (hypot_test_data): Likewise.
34250         (pow_test_data): Likewise.
34251         (pow_tonearest_test_data): Likewise.
34252         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34253         mpfr_ff_f.
34254         (func_calc_desc): Add mpfr_ff_f union field.
34255         (FUNC_mpfr_ff_f): New macro.
34256         (test_functions): Add atan2, hypot and pow.
34257         (special_fill_min): New function.
34258         (special_fill_minus_min): Likewise.
34259         (special_fill_min_subnorm): Likewise.
34260         (special_fill_minus_min_subnorm): Likewise.
34261         (special_real_inputs): Add min, -min, min_subnorm and
34262         -min_subnorm.
34263         (calc_generic_results): Handle mpfr_ff_f.
34264         * sysdeps/i386/fpu/libm-test-ulps: Update.
34265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34267 2013-12-16  Will Newton  <will.newton@linaro.org>
34269         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
34270         (Aligned Memory Blocks): Add documentation for aligned_alloc
34271         and suggest it as an alternative to posix_memalign.
34272         (Hooks for Malloc): Document __memalign_hook is also called
34273         for aligned_alloc.  (Summary of Malloc): Add summary for
34274         aligned alloc.  Document __memalign_hook is also called
34275         for aligned_alloc.
34277 2013-12-16  Will Newton  <will.newton@linaro.org>
34279         * manual/memory.texi (Malloc Examples): Clarify default
34280         alignment documentation.  Suggest posix_memalign rather
34281         than memalign or valloc.
34282         (Aligned Memory Blocks): Remove suggestion to use memalign
34283         or valloc.  Remove obsolete comment about BSD.
34284         Document memalign errno values and mark the function obsolete.
34285         Document posix_memalign returned error codes.  Mark valloc
34286         as obsolete.  (Hooks for Malloc): __memalign_hook is also
34287         called for posix_memalign and valloc.
34288         (Summary of Malloc): Add posix_memalign to function summary.
34289         __memalign_hook is also called for posix_memalign and valloc.
34291 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34293         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
34294         TAYLOR_SIN.
34295         (__sin): Adjust.
34296         (__cos): Likewise.
34297         (sloww): Use mynumber union.  Expand ternary operator into
34298         if-else statements.
34299         (cslow): use mynumber union.
34301 2013-12-16  Allan McRae  <allan@archlinux.org>
34303         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
34304         * configure: Regenerated.
34306         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
34308         [BZ #14120]
34309         * configure.ac: Added --enable-maintainer-mode. Check for
34310         autoconf when enabled.
34311         * configure: Regenerated.
34313         * nscd/nscd.service: New file.
34314         * nscd/nscd.tmpfiles: New file.
34316 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
34318         [BZ #12100]
34319         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
34320         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
34321         * sysdeps/x86_64/multiarch/strstr.c: ... here.
34322         (strstr): Add __strstr_sse2_unaligned ifunc.
34323         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
34324         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
34325         (strcasestr): Remove __strcasestr_sse42 ifunc.
34326         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
34327         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34328         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
34330 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34332         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
34333         * sysdeps/sh/bits/fenv.h: ... here.
34334         * sysdeps/sh/sh4/fpu/bits: Remove directory.
34336 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34338         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
34340         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
34341         hypotf multiarch implementations.
34342         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
34343         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
34344         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
34345         multiarch hypot for PPC64.
34346         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
34347         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
34348         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
34349         multiarch hypotf for PPC64.
34351         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
34352         modff multiarch implementations.
34353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
34354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
34355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
34356         multiarch modf for PPC64.
34357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
34358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
34359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
34360         multiarch modff for PPC64.
34362         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
34363         and logl multiarch implementations.
34364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
34365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
34366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
34367         multiarch logb for PPC64.
34368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
34369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
34370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
34371         multiarch logb for PPC64.
34372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
34373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
34374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
34375         multiarch logb for PPC64.
34377         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
34378         isinff multiarch implementation.
34379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
34380         file.
34381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
34382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
34383         multiarch isinf for PPC64.
34384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
34385         file.
34386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
34387         multiarch isinff for PPC64.
34389         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
34390         finitef multiarch implementation.
34391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
34392         file.
34393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
34394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
34395         multiarch finite for PPC64.
34396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
34397         file.
34398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
34399         multiarch finitef for PPC64.
34401         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
34402         lrint multiarch implementation.
34403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
34404         file.
34405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
34406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
34407         multiarch llrint for PPC64.
34408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
34409         multiarch lrint for PPC64.
34411         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
34412         copysignf multiarch implementation.
34413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
34414         file.
34415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
34416         file.
34417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
34418         multiarch copysign for PPC64.
34419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
34420         multiarch copysignf for PPC64.
34422         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
34423         multiarch implementation.
34424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
34425         file.
34426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
34427         file.
34428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
34429         file.
34430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
34431         file.
34432         multiarch llround for PPC64.
34433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
34434         multiarch trunc for PPC64.
34435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
34436         multiarch truncf for PPC64.
34438         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
34439         multiarch implementation.
34440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
34441         file.
34442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
34443         file.
34444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
34445         file.
34446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
34447         file.
34448         multiarch llround for PPC64.
34449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
34450         multiarch round for PPC64.
34451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
34452         multiarch roundf for PPC64.
34454         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
34455         multiarch implementation.
34456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
34457         file.
34458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
34459         file.
34460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
34461         file.
34462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
34463         file.
34464         multiarch llround for PPC64.
34465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
34466         multiarch floor for PPC64.
34467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
34468         multiarch floorf for PPC64.
34470         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
34471         multiarch implementation.
34472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
34473         file.
34474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
34475         file.
34476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
34477         file.
34478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
34479         file.
34480         multiarch llround for PPC64.
34481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
34482         multiarch ceil for PPC64.
34483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
34484         multiarch ceilf for PPC64.
34486         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34487         multiarch implementation.
34488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
34489         file.
34490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
34491         file.
34492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
34493         file.
34494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
34495         multiarch llround for PPC64.
34496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
34497         multiarch lround for PPC64.
34499         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34500         multiarch implementation.
34501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
34502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
34503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
34504         file.
34505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
34506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
34507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
34508         multiarch isnan for PPC64.
34509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
34510         multiarch isnanf for PPC64.
34512         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
34513         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
34514         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
34515         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
34516         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
34517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
34519         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
34520         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34521         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34522         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34524         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
34525         multiarch implementations.
34526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34527         (__libc_ifunc_impl_list): Likewise.
34528         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
34529         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
34530         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
34531         multiarch stpcpy for PPC64.
34533         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
34534         multiarch implementations.
34535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34536         (__libc_ifunc_impl_list): Likewise.
34537         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
34538         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
34539         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
34540         multiarch strcpy for PPC64.
34542         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
34543         redefine function name.
34544         (_wordcopy_fwd_dest_aligned): Likewise.
34545         (_wordcopy_bwd_aligned): Likewise.
34546         (_wordcopy_bwd_dest_aligned): Likewise.
34547         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
34548         multiarch implementations.
34549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34550         (__libc_ifunc_impl_list): Likewise.
34551         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
34552         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
34553         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
34554         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
34555         multiarch wcscpy for PPC64.
34557         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
34558         multiarch implementations.
34559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34560         (__libc_ifunc_impl_list): Likewise.
34561         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
34562         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
34563         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
34564         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
34565         multiarch wcscpy for PPC64.
34567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
34568         multiarch implementations.
34569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34570         (__libc_ifunc_impl_list): Likewise.
34571         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
34572         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
34573         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
34574         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
34575         multiarch wcsrchr for PPC64.
34577         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
34578         multiarch implementations.
34579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34580         (__libc_ifunc_impl_list): Likewise.
34581         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
34582         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
34583         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
34584         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
34585         multiarch wcschr for PPC64.
34587         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
34588         multiarch implementations.
34589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34590         (__libc_ifunc_impl_list): Likewise.
34591         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
34592         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
34593         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
34594         multiarch strchrnul for PPC64.
34596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
34597         implementations.
34598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34599         (__libc_ifunc_impl_list): Likewise.
34600         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
34601         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
34602         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
34603         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
34604         strchr for PPC64.
34606         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
34607         implementations.
34608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34609         (__libc_ifunc_impl_list): Likewise.
34610         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
34611         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
34612         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
34613         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
34614         strncmp for PPC64.
34616         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
34617         multiarch implementations.
34618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34619         (__libc_ifunc_impl_list): Likewise.
34620         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
34621         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
34622         strncasecmp for PPC64.
34623         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
34624         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
34625         multiarch strncasecmp_l for PPC64.
34627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
34628         multiarch implementations.
34629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34630         (__libc_ifunc_impl_list): Likewise.
34631         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
34632         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
34633         multiarch strcasecmp for PPC64.
34634         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
34635         file.
34636         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
34637         multiarch strcasecmp_l for PPC64.
34639         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
34640         implementations.
34641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34642         (__libc_ifunc_impl_list): Likewise.
34643         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
34644         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
34645         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
34646         strnlen for PPC64.
34648         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
34649         implementations.
34650         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34651         (__libc_ifunc_impl_list): Likewise.
34652         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
34653         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
34654         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
34655         strlen for PPC64.
34657         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
34658         implementations.
34659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34660         (__libc_ifunc_impl_list): Likewise.
34661         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
34662         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
34663         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
34664         rawmemrchr for PPC64.
34666         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
34667         implementation.
34668         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34669         (__libc_ifunc_impl_list): Likewise.
34670         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
34671         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
34672         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
34673         memrchr for PPC64.
34675         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
34676         implementation.
34677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34678         (__libc_ifunc_impl_list): Likewise.
34679         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
34680         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
34681         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
34682         memchr for PPC64.
34684         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
34685         implementation.
34686         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34687         (__libc_ifunc_impl_list): Likewise.
34688         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
34689         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
34690         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
34691         mempcpy for PPC64.
34693         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
34694         avoid cretion of __bzero symbol.
34695         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
34696         Likewise.
34697         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
34698         Likewise.
34699         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
34700         Likewise.
34701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
34702         multiarch implementations.
34703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34704         (__libc_ifunc_impl_list): Likewise.
34705         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
34706         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
34707         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
34708         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
34709         bzero for PPC32.
34710         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
34711         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
34712         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
34713         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
34714         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
34715         memset for PPC64.
34716         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
34718         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
34719         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
34720         implementations.
34721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34722         (__libc_ifunc_impl_list): Likewise.
34723         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
34724         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
34725         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
34726         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
34727         memcmp for PPC64.
34729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
34730         multiarch for POWER/PPC64.
34731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34732         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
34733         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
34734         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
34735         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
34736         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
34737         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
34738         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
34739         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
34740         memcpy for PPC64.
34742         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
34743         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
34744         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
34745         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
34746         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
34747         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
34748         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
34749         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
34750         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
34751         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
34752         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
34753         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
34754         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
34755         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
34756         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
34757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
34758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
34759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
34760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
34761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
34762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
34763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
34765 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34767         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
34769 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34771         * benchtests/Makefile (bench): Add exp2 and log2.
34772         (LDLIBS-bench-exp2): Add -lm.
34773         (LDLIBS-bench-log2): Likewise.
34774         * benchtests/exp2-inputs: New inputs file.
34775         * benchtests/log2-inputs: New inputs file.
34776         * benchtests/log-inputs: Add new inputs.
34777         * benchtests/tan-inputs: Likewise.
34779 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34781         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
34782         definition...
34783         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
34784         (csloww2): ... from here.
34786         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
34787         instead of structures.
34788         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
34789         (POLYNOMIAL): Likewise.
34790         (TAYLOR_SLOW): Likewise.
34791         (__sin): Likewise.
34792         (__cos): Likewise.
34793         (slow1): Likewise.
34794         (slow2): Likewise.
34795         (sloww): Likewise.
34796         (sloww1); Likewise.
34797         (sloww2): Likewise.
34798         (bsloww1): Likewise.
34799         (bsloww2): Likewise.
34800         (cslow2): Likewise.
34801         (csloww): Likewise.
34802         (csloww1): Likewise.
34803         (csloww2): Likewise.
34805 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
34807         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
34808         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
34809         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
34810         * malloc/hooks.c (realloc_check): Likewise.
34812         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
34813         * malloc/arena.c: Remove PER_THREAD conditional.
34814         [!PER_THREAD]: Remove code.
34815         (ptmalloc_unlock_all2): Likewise.
34816         (ptmalloc_init): Likewise.
34817         (_int_new_arena): Likewise.
34818         (arena_get2): Likewise.
34819         * malloc/hooks.c (__malloc_get_state): Likewise.
34820         (__malloc_set_state): Likewise.
34821         * malloc/malloc.c: Likewise.
34822         (struct malloc_state): Likewise.
34823         (struct malloc_par): Likewise.
34824         (__libc_realloc): Likewise.
34825         (__libc_mallopt): Likewise.
34827 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34829         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
34831 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
34833         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
34834         macro to a function.  Check for zero perturb_byte.
34835         (_int_malloc, _int_free): Remove zero perturb_byte checks.
34837         * malloc/malloc.c: (force_reg): Remove.
34838         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
34839         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
34840         force_reg by atomic_forced_read.
34841         * malloc/arena.c (ptmalloc_init): Likewise.
34842         * malloc/hooks.c (top_check): Likewise.
34844 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34846         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34848 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
34850         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34852 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
34854         * math/auto-libm-test-in: Add tests of lgamma.
34855         * math/auto-libm-test-out: Regenerated.
34856         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
34857         (M_LOG_2_SQRT_PIl): Likewise.
34858         (lgamma_test_data): Use AUTO_TESTS_f_f1.
34859         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34860         mpfr_f_f1.
34861         (func_calc_desc): Add mpfr_f_f1 union field.
34862         (ARGS1): New macro.
34863         (ARGS2): Likewise.
34864         (ARGS3): Likewise.
34865         (ARGS4): Likewise.
34866         (RET1): Likewise.
34867         (RET2): Likewise.
34868         (CALC): Likewise.
34869         (FUNC): Likewise.
34870         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
34871         (test_functions): Add lgamma.
34872         (calc_generic_results): Handle mpfr_f_f1.
34873         * sysdeps/i386/fpu/libm-test-ulps: Update.
34874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34876 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34878         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
34879         __mpn_add_n for PowerPC64/POWER7.
34880         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
34881         __mpn_sub_n for PowerPC64/POWER7.
34883         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
34884         __mpn_addmul_1 for PowerPC64.
34885         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
34886         __mpn_submul_1 for PowerPC64.
34887         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
34888         for PowerPC64.
34889         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
34890         for PowerPC64.
34892 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
34894         [BZ #15089]
34895         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
34897 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34899         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
34901         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
34902         add multiarch folders.
34903         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
34904         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
34905         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
34906         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
34907         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
34908         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
34909         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
34910         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
34911         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
34912         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
34913         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
34914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
34915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
34916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
34917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
34918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
34919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
34921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
34922         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
34923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
34924         New file.
34925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
34926         New file.
34927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
34928         multiarch __ieee754_hypot for PowerPC32.
34929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
34930         New file.
34931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
34932         New file.
34933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
34934         multiarch __ieee754_hypotf for PowerPC32.
34936         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
34937         long_double_symbol only if __logbl is defined.
34938         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
34939         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
34940         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
34941         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
34942         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
34943         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
34944         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
34945         path for implementation.
34946         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
34947         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
34948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
34949         logb, and logbl multiarch implementations for PowerPC32.
34950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
34951         file.
34952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
34953         file.
34954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
34955         multiarch logb for PowerPC32.
34956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
34957         file.
34958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
34959         file.
34960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
34961         multiarch logbf for PowerPC32.
34962         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
34963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
34964         file.
34965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
34966         multiarch logbl implementation for PowerPC32.
34968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
34969         and modff multiarch implementations.
34970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
34971         New file.
34972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
34973         New file.
34974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
34975         multiarch modf for PowerPC32.
34976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
34977         New file.
34978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
34979         New file.
34980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
34981         multiarch modff for PowerPC32.
34983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
34984         and lrintf multiarch implementations.
34985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
34986         New file.
34987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
34988         New file.
34989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
34990         multiarch lrint for PowerPC32.
34991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
34992         file: multiarch lrintf for PowerPC32.
34994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
34995         and lroundf multiarch implementations.
34996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
34997         New file.
34998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
34999         New file.
35000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
35001         New file.
35002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
35003         multiarch lround for PowerPC32.
35004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
35005         file: multiarch lroundf for PowerPC32.
35007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35008         copysign and copysignf multiarch implementations.
35009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
35010         New file.
35011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
35012         New file.
35013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
35014         file: multiarch copysign for PowerPC32.
35015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
35016         file: multiarch copysignf for PowerPC32.
35018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
35019         and truncf multiarch implementations.
35020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
35021         New file.
35022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
35023         file.
35024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
35025         multiarch trunc for PowerPC32.
35026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
35027         New file.
35028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
35029         New file.
35030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
35031         multiarch truncf for PowerPC32.
35033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
35034         and roundf multiarch implementations.
35035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
35036         New file.
35037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
35038         file.
35039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
35040         multiarch round for PowerPC32.
35041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
35042         New file.
35043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
35044         New file.
35045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
35046         multiarch roundf for PowerPC32.
35048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
35049         and floorf multiarch implementations.
35050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
35051         New file.
35052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
35053         file.
35054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
35055         multiarch floor for PowerPC32.
35056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
35057         New file.
35058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
35059         New file.
35060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
35061         multiarch floorf for PowerPC32.
35063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
35064         and ceilf multiarch implementations.
35065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
35066         New file.
35067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
35068         file.
35069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
35070         multiarch ceil for PowerPC32.
35071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
35072         New file.
35073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
35074         file.
35075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
35076         multiarch ceilf for PowerPC32.
35078         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
35079         is defined.
35080         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
35081         FINITEF is defined.
35082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
35083         and finitef multiarch implementations.
35084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
35085         New file.
35086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
35087         file.
35088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
35089         multiarch finite for PowerPC32.
35090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
35091         New file.
35092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
35093         file: multiarch finitef for PowerPC32.
35095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
35096         and isinff multiarch implementations.
35097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
35098         file.
35099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
35100         file.
35101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
35102         multiarch isinf for PowerPC32.
35103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
35104         New file.
35105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
35106         multiarch isinff for PowerPC32.
35108         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
35109         alias when __isnan is defined.
35110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
35111         and isnanf multiarch implementations.
35112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
35113         file.
35114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
35115         file.
35116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
35117         file.
35118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
35119         file.
35120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
35121         multiarch isnan for PowerPC32.
35122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
35123         New file.
35124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
35125         New file.
35126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
35127         multiarch isnanf for PowerPC32.
35129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
35130         and sqrtf multiarch implementations.
35131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
35132         file.
35133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
35134         file.
35135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
35136         multiarch sqrt for PowerPC32.
35137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
35138         file.
35139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
35140         file.
35141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
35142         multiarch sqrtf for PowerPC32.
35144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
35145         and llroundf multiarch implementations.
35146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
35147         New file.
35148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
35149         New file.
35150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
35151         New file.
35152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
35153         file: multiarch llround for PowerPC32.
35154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
35155         file: multiarch llroundf for PowerPC32.
35157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
35158         multiarch PowerPC32 fpu implementations.
35159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
35160         New file.
35161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
35162         New file.
35163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
35164         multiarch llrint for PowerPC32.
35165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
35166         New file.
35167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
35168         New file.
35169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
35170         file.
35172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
35174         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
35175         file.
35176         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
35177         file.
35178         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
35179         file.
35180         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
35181         multiarch wordcopy for PPC32.
35182         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35183         wordcopy objects.
35184         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35185         (__libc_ifunc_impl_list): Likewise.
35186         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
35187         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
35188         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
35189         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
35190         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
35191         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
35193         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
35194         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
35195         file.
35196         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
35197         file.
35198         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
35199         file.
35200         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
35201         multiarch wcscpy for PPC32.
35202         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35203         multiarch objects.
35204         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35205         (__libc_ifunc_impl_list): Likewise.
35206         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35207         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35208         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
35209         sysdeps/powerpc/power6/wcscpy.c.
35211         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
35212         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
35213         file.
35214         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
35215         file.
35216         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
35217         file.
35218         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
35219         multiarch wcsrchr for PPC32.
35220         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35221         multiarch objects.
35222         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35223         (__libc_ifunc_impl_list): Likewise.
35224         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35225         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35226         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
35227         sysdeps/powerpc/power6/wcsrchr.c.
35229         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
35230         file.
35231         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
35232         file.
35233         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
35234         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
35235         multiarch wcschr for PPc32.
35236         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35237         multiarch objects.
35238         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35239         (__libc_ifunc_impl_list): Likewise.
35240         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
35241         * sysdeps/powerpc/power6/wcschr.c: ... to here.
35242         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
35243         sysdeps/powerpc/power6/wcschr.c.
35245         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
35246         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
35247         file.
35248         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
35249         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
35250         file: multiarch strchr for PPC32.
35251         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
35252         multiarch objects.
35253         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35254         (__libc_ifunc_impl_list): Likewise.
35256         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
35257         name.
35258         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
35259         file.
35260         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
35261         file.
35262         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
35263         multiarch strchrnul for PPC32.
35264         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
35265         multiarch objects.
35266         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35267         (__libc_ifunc_impl_list): Likewise.
35269         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
35270         file.
35271         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
35272         multiarch strncasecmp for PPC32.
35273         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
35274         file.
35275         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
35276         multiarch strncasecmp_l for PPC32.
35277         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
35278         strncasecmp multiarch objects.
35279         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35280         (__libc_ifunc_impl_list): Likewise.
35282         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
35283         file.
35284         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
35285         multiarch strncasecmp for PPC32.
35286         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
35287         New file.
35288         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
35289         multiarch strcasecmp_l for PPC32.
35290         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
35291         multiarch objects.
35292         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35293         (__libc_ifunc_impl_list): Likewise.
35295         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
35296         file.
35297         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
35298         file.
35299         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
35300         multiarch strncmp for PPC32.
35301         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
35302         multiarch objects.
35303         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35304         (__libc_ifunc_impl_list): Likewise.
35306         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
35307         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
35308         file.
35309         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
35310         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
35311         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
35312         multiarch objects.
35313         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35314         (__libc_ifunc_impl_list): Likewise.
35316         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
35317         file.
35318         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
35319         file.
35320         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
35321         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
35322         multiarch objects.
35323         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35324         (__libc_ifunc_impl_list): Likewise.
35326         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
35327         file.
35328         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
35329         file.
35330         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
35331         multiarch rawmemchr for PPC32.
35332         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
35333         multiarch objects.
35334         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35335         (__libc_ifunc_impl_list): Likewise.
35337         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
35338         file.
35339         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
35340         file.
35341         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
35342         file: memrchr multiarch for PPC32.
35343         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
35344         multiarch objects.
35345         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35346         (__libc_ifunc_impl_list): Likewise.
35348         * string/memchr.c (__memchr): Using macro to redefine symbol name.
35349         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
35350         file.
35351         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
35352         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
35353         multiarch memchr for PPC32.
35354         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
35355         multiarch objects.
35356         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35357         (__libc_ifunc_impl_list): Likewise.
35359         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
35360         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
35361         file.
35362         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
35363         file.
35364         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
35365         file: multiarch mempcpy for PPC32.
35366         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
35367         multiarch objects.
35368         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35369         (__libc_ifunc_impl_list): Likewise.
35371         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
35372         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
35373         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
35374         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
35375         multiarch bzero for PPC32.
35376         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
35377         file.
35378         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
35379         file.
35380         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
35381         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
35382         file: multiarch memset for PPC32.
35383         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
35384         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
35385         memset multiarch objects.
35386         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35387         (__libc_ifunc_impl_list): Likewise.
35389         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
35390         file.
35391         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
35392         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
35393         memcmp for PPC32.
35394         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
35395         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
35396         multiarch objects.
35397         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35398         (__libc_ifunc_impl_list): Likewise.
35400         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
35401         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
35402         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
35403         file.
35404         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
35405         file.
35406         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
35407         file.
35408         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
35409         multiarch memcpy for PPC32.
35410         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
35411         multiarch objects.
35412         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35413         (__libc_ifunc_impl_list): Likewise.
35415         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
35416         support multiarch for POWER/PPC32.
35417         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
35418         Likewise.
35419         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
35420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
35421         Implies file to make multiarch folder appers before the fpu and
35422         default folder for power4 configuration.
35424 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35426         * scripts/bench.pl: Append volatile keyword to type.
35428 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35430         * sysdeps/sh/sotruss-lib.c: New file.
35431         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
35433 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35437 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
35439         [BZ #6810]
35440         * math/w_tgamma.c: Include <errno.h>.
35441         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
35442         * math/w_tgammaf.c: Include <errno.h>.
35443         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
35444         * math/w_tgammal.c: Include <errno.h>.
35445         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
35446         * math/auto-libm-test-in: Do not allow missing errno on tgamma
35447         underflow.  Add more tgamma tests.
35448         * math/auto-libm-test-out: Regenerated.
35449         * sysdeps/i386/fpu/libm-test-ulps: Update.
35450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35452         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
35453         sin, sinh, tan, tanh, tgamma, y0 and y1.
35454         * math/auto-libm-test-out: Regenerated.
35455         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35456         (TEST_COND_x86): Likewise.
35457         (M_E2l): Remove macro.
35458         (M_E3l): Likewise.
35459         (M_2_SQRT_PIl): Likewise.
35460         (M_SQRT_PIl): Likewise.
35461         (M_1_DIV_El): Likewise.
35462         (log_test_data): Use AUTO_TESTS_f_f.
35463         (log10_test_data): Likewise.
35464         (log1p_test_data): Likewise.
35465         (log2_test_data): Likewise.
35466         (sin_test_data): Likewise.
35467         (sin_tonearest_test_data): Likewise.
35468         (sin_towardzero_test_data): Likewise.
35469         (sin_downward_test_data): Likewise.
35470         (sin_upward_test_data): Likewise.
35471         (sinh_test_data): Likewise.
35472         (sinh_tonearest_test_data): Likewise.
35473         (sinh_towardzero_test_data): Likewise.
35474         (sinh_downward_test_data): Likewise.
35475         (sinh_upward_test_data): Likewise.
35476         (tan_test_data): Likewise.
35477         (tan_tonearest_test_data): Likewise.
35478         (tan_towardzero_test_data): Likewise.
35479         (tan_downward_test_data): Likewise.
35480         (tan_upward_test_data): Likewise.
35481         (tanh_test_data): Likewise.
35482         (tgamma_test_data): Likewise.
35483         (y0_test_data): Likewise.
35484         (y1_test_data): Likewise.
35485         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
35486         (special_real_inputs): Add pi/4.
35487         * sysdeps/i386/fpu/libm-test-ulps: Update.
35488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35490 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35492         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
35493         "longjmp_target" static probes.
35494         (__longjmp): Rename to __longjmp_symbol.
35495         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35496         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
35497         on which longjmp to generate.
35498         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35499         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
35500         probe.
35501         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35502         (__sigjmp_save): Rename to __sigjmp_save_symbol.
35503         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35504         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
35505         and __sigjmp_save_symbol based on which sigsetjmp to generated.
35506         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
35507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
35508         __longjmp_symbol based on which __longjmp to generate.
35509         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
35510         probe.
35511         (setjmp): Rename to setjmp_symbol.
35512         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35513         (_setjmp): Rename to _setjmp_symbol.
35514         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35515         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
35516         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
35517         which setjmp to generate.
35518         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
35519         "longjmp_target" static probes.
35521 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35523         * benchtests/README: Add note about output arguments.
35524         * benchtests/bench-sincos.c: Remove file.
35525         * benchtests/sincos-inputs: New file.
35526         * scripts/bench.pl: Identify output arguments and define
35527         static variables for them.
35529         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
35531         [BZ #15941]
35532         * Makefile (INSTALL): Add install-plain.texi as the primary
35533         dependency.
35534         * manual/install-plain.texi: New file.
35535         * manual/install.texi: Include node directive only for
35536         non-plaintext output.
35538 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
35540         * stdlib/longlong.h: Update from GCC.
35542         [BZ #6807]
35543         [BZ #15901]
35544         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
35545         * math/w_j0f.c (y0f): Likewise.
35546         * math/w_j0l.c (__y0l): Likewise.
35547         * math/w_j1.c (y1): Likewise.
35548         * math/w_j1f.c (y1f): Likewise.
35549         * math/w_j1l.c (__y1l): Likewise
35550         * math/w_jn.c (yn): Likewise.
35551         * math/w_jnf.c (ynf): Likewise.
35552         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
35553         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
35554         value for Bessel function domain errors outside _SVID_ mode.
35555         Adjust sign of return value for yn (negative integer, 0).
35556         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
35557         by zero in return for negative x and set sign appropriately for
35558         negative n.
35559         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
35560         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35561         * math/libm-test.inc (y0_test_data): Add more tests and adjust
35562         expectations in error cases.
35563         (y1_test_data): Likewise.
35564         (yn_test_data): Likewise.
35565         * sysdeps/i386/fpu/libm-test-ulps: Update.
35566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35568 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35570         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
35571         "64" to "64-v1".  Add "64-v2".
35572         (abi-64-options): Rename to ...
35573         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
35574         (abi-64-condition): Rename to ...
35575         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
35576         (abi-64-ld-soname): Rename to ...
35577         (abi-64-v1-ld-soname): ... this.
35578         (abi-64-v2-options): Define.
35579         (abi-64-v2-condition): Likewise.
35580         (abi-64-v2-ld-soname): Likewise.
35581         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
35582         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
35583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
35584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
35585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
35587 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35588             Alan Modra  <amodra@gmail.com>
35590         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
35591         New versions for use with the ELFv2 ABI.
35592         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
35593         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
35594         declaration.
35595         (struct La_ppc64v2_retval): Likewise.
35596         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
35597         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
35598         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
35599         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
35600         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
35601         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35602         Do not save or restore CR.
35603         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
35604         (_dl_profile_resolve): Do no save or restore CR.  Support extended
35605         return values for ELFv2 ABI.  Fix location of FPR return registers.
35606         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
35607         updated values for _CALL_ELF == 2.
35608         (La_regs, La_retval, int_retval): Likewise.
35610 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35612         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
35613         (FRAME_MIN_SIZE_PARM): Likewise.
35614         (FRAME_BACKCHAIN): Likewise.
35615         (FRAME_CR_SAVE): Likewise.
35616         (FRAME_LR_SAVE): Likewise.
35617         (FRAME_TOC_SAVE): Likewise.
35618         (FRAME_PARM_SAVE): Likewise.
35619         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
35620         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
35621         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
35622         (call_mcount_parm_offset): New macro.
35623         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
35624         (PROF): Use symbolic stack frame offsets.
35625         (TAIL_CALL_SYSCALL_ERROR): Likewise.
35626         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
35627         Redefine in terms of FRAME_MIN_SIZE.
35628         (_dl_runtime_resolve): Use symbolic stack frame offsets.
35629         (_dl_profile_resolve): Likewise.  Update comment.
35630         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
35631         symbols stack frame offsets.
35632         (__sigsetjmp): Likewise.
35633         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
35634         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
35635         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
35636         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
35638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
35639         (FRAME_BACKCHAIN): Remove.
35640         (FRAME_CR_SAVE): Likewise.
35641         (FRAME_LR_SAVE): Likewise.
35642         (FRAME_COMPILER_DW): Likewise.
35643         (FRAME_LINKER_DW): Likewise.
35644         (FRAME_TOC_SAVE): Likewise.
35645         (FRAME_PARM_SAVE): Likewise.
35646         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
35647         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
35648         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
35649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
35650         (CHECK_SP): Use symbolic stack frame offsets.
35651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
35652         zone" instead of caller's parameter save area for temp storage.
35653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35654         Likewise.  Also, use symbolic stack frame offsets.
35655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
35656         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
35657         our own stack frame instead of the caller's.
35658         (__socket): Use symbolic stack frame offsets.
35660 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35661             Alan Modra  <amodra@gmail.com>
35663         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
35664         Define.
35665         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
35666         (PPC64_LOCAL_ENTRY_OFFSET): Define.
35667         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
35668         New function.
35669         (elf_machine_fixup_plt): Call it.
35670         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
35671         reloc arguments.
35672         (elf_machine_rela): Update call to elf_machine_plt_conflict.
35673         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
35674         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
35675         r2 before calling target.
35677 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35678             Alan Modra  <amodra@gmail.com>
35680         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
35681         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
35682         versions of macros to support ELFv2 ABI.
35683         (LOCALENTRY): New macro.
35684         (ENTRY, EALIGN): Use it.
35685         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
35686         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
35687         fall through into ENTRY entry point.
35688         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
35689         Only define if _CALL_ELF != 2.
35691         (elf_machine_matches_host): Verify ABI version matches.
35692         (RTLD_START): Use LOCALENTRY.
35693         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
35694         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
35695         (PLT_ENTRY_WORDS): New macro.
35696         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
35697         (elf_machine_runtime_setup): Support ELFv2 ABI.
35698         (elf_machine_fixup_plt): Likewise.
35699         (elf_machine_plt_conflict): Likewise.
35700         (resolve_ifunc): Likewise.
35701         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
35702         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
35703         Likewise.
35704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
35705         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
35706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35707         (makecontext): Support ELFv2 ABI.
35708         * elf/elf.h (EF_PPC64_ABI): Define.
35710 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35712         * sysdeps/powerpc/powerpc64/sysdep.h
35713         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
35714         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
35715         (ENTRY) [ASSEMBLER]: ... but instead here ...
35716         (EALIGN) [ASSEMBLER]: ... and here.
35717         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
35718         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
35719         (ENTRY_2) [!ASSEMBLER]: Use it.
35720         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
35721         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
35722         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
35723         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
35724         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
35725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
35726         Use PPC64_LOAD_FUNCPTR.
35728         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
35730 2013-12-04  Alan Modra  <amodra@gmail.com>
35732         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
35733         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
35734         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
35735         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
35737         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
35738         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
35739         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
35740         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
35741         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
35742         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
35744 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35747         (__makecontext): Fix incorrect CFI when backtracing out of
35748         context created via makecontext.
35749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
35750         (__setcontext): Fix incorrect CFI during switch to new context.
35751         (__novec_setcontext): Likewise.
35753 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
35755         [BZ #4772]
35756         * time/strptime_l.c (__strptime_internal): Allow modifiers
35757         in strptime.
35758         * time/tst-strptime.c (day_tests): Add testcase.
35760 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35762         * scripts/bench.pl: Skip over blank lines.
35764 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
35766         [BZ #926]
35767         * manual/time.texi (Calendar Time): Clarify what timezone functions
35768         use.
35770 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35774 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
35776         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
35777         implementation.
35778         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
35779         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
35780         * debug/memset_chk.c (__memset_chk): Likewise.
35781         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
35782         * debug/strncpy_chk.c: Likewise.
35784 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
35786         [BZ #15268]
35787         [BZ #15425]
35788         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
35789         (__ieee754_exp): For possibly underflowing results, check size of
35790         result and force underflow exception if required.
35791         * math/auto-libm-test-in: Add more tests of exp.
35792         * math/auto-libm-test-out: Regenerated.
35793         * sysdeps/i386/fpu/libm-test-ulps: Update.
35794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35796         [BZ #16283]
35797         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
35798         * math/w_exp2f.c (__exp2f): Likewise.
35799         * math/w_exp2l.c (__exp2l): Likewise.
35800         * math/auto-libm-test-in: Do not allow missing errno on exp2
35801         underflow.
35802         * math/auto-libm-test-out: Regenerated.
35804 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
35806         [BZ #16274]
35807         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
35808         handle filename validation.
35809         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
35810         (do_open): Delete.
35812 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
35814         [BZ #6786]
35815         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
35816         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
35817         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
35818         <float.h>.
35819         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
35820         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
35821         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35822         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
35823         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35824         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
35825         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35826         * math/auto-libm-test-in: Don't allow missing errno from erfc.
35827         Add more erfc tests.
35828         * math/auto-libm-test-out: Regenerated.
35829         * sysdeps/i386/fpu/libm-test-ulps: Update.
35830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35832         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
35833         exp2, expm1, j0 and j1.
35834         * math/auto-libm-test-out: Regenerated.
35835         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
35836         (erfc_test_data): Likewise.
35837         (exp_test_data): Likewise.
35838         (exp_tonearest_test_data): Likewise.
35839         (exp_towardzero_test_data): Likewise.
35840         (exp_downward_test_data): Likewise.
35841         (exp_upward_test_data): Likewise.
35842         (exp10_test_data): Likewise.
35843         (exp2_test_data): Likewise.
35844         (expm1_test_data): Likewise.
35845         (j0_test_data): Likewise.
35846         (j1_test_data): Likewise.
35847         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
35848         (input_flag_type): Add flag_xfail_rounding.
35849         (input_flags): Add xfail-rounding.
35850         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
35851         (output_for_one_input_case): Handle flag_xfail_rounding.
35852         * sysdeps/i386/fpu/libm-test-ulps: Update.
35853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35855 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
35857         [BZ #16289]
35858         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
35859         division by 0.
35861 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35863         [BZ #16195]
35864         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
35865         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
35866         (STAP_PROBE0): New macro.
35867         (STAP_PROBE1): Likewise.
35868         (STAP_PROBE2): Likewise.
35869         (STAP_PROBE3): Likewise.
35870         (STAP_PROBE4): Likewise.
35872 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
35874         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
35876 2013-12-02  Steve Ellcey  <sellcey@mips.com>
35878         * benchtests/Makefile (bench): Add sqrt.
35879         (LDLIBS-bench-sqrt): New.
35880         * benchtests/sqrt-input: New.
35882 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
35884         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
35885         (GAIH_EAI): Likewise.
35886         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
35887         (gaih_inet): Likewise.
35888         (getaddrinfo): Don't use GAIH_EAI.
35890         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
35891         (struct gaih): Remove definition.
35893 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35895         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
35896         Use HERRNOP directly.
35898 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35902 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
35904         * math/gen-auto-libm-tests.c (test_functions): Add more
35905         single-argument functions.
35906         (special_fill_pi_2): New function.
35907         (special_fill_minus_pi_2): Likewise.
35908         (special_fill_pi_6): Likewise.
35909         (special_fill_minus_pi_6): Likewise.
35910         (special_fill_pi_3): Likewise.
35911         (special_fill_2pi_3): Likewise.
35912         (special_fill_e): Likewise.
35913         (special_fill_1_e): Likewise.
35914         (special_fill_e_minus_1): Likewise.
35915         (special_real_inputs): Add more special inputs.
35916         (output_for_one_input_case): Do not require ERANGE on underflow to
35917         zero if round-to-nearest result does not underflow to zero, unless
35918         exact results required.
35919         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
35920         atan, atanh, cbrt, cos and cosh.
35921         * math/auto-libm-test-out: Regenerated.
35922         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
35923         (acos_tonearest_test_data): Likewise.
35924         (acos_towardzero_test_data): Likewise.
35925         (acos_downward_test_data): Likewise.
35926         (acos_upward_test_data): Likewise.
35927         (acosh_test_data): Likewise.
35928         (asin_test_data): Likewise.
35929         (asin_tonearest_test_data): Likewise.
35930         (asin_towardzero_test_data): Likewise.
35931         (asin_upward_test_data): Likewise.
35932         (asinh_test_data): Likewise.
35933         (atan_test_data): Likewise.
35934         (atanh_test_data): Likewise.
35935         (cbrt_test_data): Likewise.
35936         (cos_test_data): Likewise.
35937         (cos_tonearest_test_data): Likewise.
35938         (cos_towardzero_test_data): Likewise.
35939         (cos_downward_test_data): Likewise.
35940         (cos_upward_test_data): Likewise.
35941         (cosh_test_data): Likewise.
35942         (cosh_tonearest_test_data): Likewise.
35943         (cosh_towardzero_test_data): Likewise.
35944         (cosh_downward_test_data): Likewise.
35945         (cosh_upward_test_data): Likewise.
35946         * sysdeps/i386/fpu/libm-test-ulps: Update.
35947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35949 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
35951         [BZ #6787]
35952         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
35953         * math/w_exp10f.c (__exp10f): Likewise.
35954         * math/w_exp10l.c (__exp10l): Likewise.
35955         * math/libm-test.inc (exp10_test_data): Add more tests and expect
35956         errno settings in existing tests.
35958         [BZ #14032]
35959         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
35960         precision control set to double precision.
35961         * sysdeps/i386/fpu/w_sqrt.c: New file.
35962         * math/auto-libm-test-in: Add more tests.
35963         * math/auto-libm-test-out: Update.
35965         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
35966         (sqrt_test_tonearest): New function.
35967         (sqrt_towardzero_test_data): New variable.
35968         (sqrt_test_towardzero): New function.
35969         (sqrt_downward_test_data): New variable.
35970         (sqrt_test_downward): New function.
35971         (sqrt_upward_test_data): New variable.
35972         (sqrt_test_upward): New function.
35973         (main): Call the new functions.
35975         * math/gen-auto-libm-tests.c: New file.
35976         * math/auto-libm-test-in: Likewise.
35977         * math/auto-libm-test-out: New generated file.
35978         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
35979         variables.
35980         (%beautify): Add generated representations of zero.
35981         (top level): Set $auto_input and call parse_auto_input.
35982         (beautify): Remove trailing "f" from hex float constants.
35983         (parse_args): Handle XFAIL_TEST.
35984         (convert_condition): New function.
35985         (or_value): Likewise.
35986         (or_cond_value): Likewise.
35987         (generate_testfile): Handle AUTO_TESTS_* lines.
35988         (parse_auto_input): New function.
35989         * math/libm-test.inc (XFAIL_TEST): New macro.
35990         (ERRNO_UNCHANGED): Update value.
35991         (ERRNO_EDOM): Likewise.
35992         (ERRNO_ERANGE): Likewise.
35993         (IGNORE_RESULT): Likewise.
35994         (TEST_COND_flt_32): New macro.
35995         (TEST_COND_dbl_64): Likewise.
35996         (TEST_COND_ldbl_96_intel): Likewise.
35997         (TEST_COND_ldbl_96_m68k): Likewise.
35998         (TEST_COND_ldbl_128): Likewise.
35999         (TEST_COND_ldbl_128ibm): Likewise.
36000         (TEST_COND_long32): Likewise.
36001         (TEST_COND_long64): Likewise.
36002         (TEST_COND_before_rounding): Likewise.
36003         (TEST_COND_after_rounding): Likewise.
36004         (enable_test): Handle XFAIL_TEST flag.
36005         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
36006         with finite results.
36007         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
36008         auto-libm-test-out.
36010 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36011             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36013         [BZ #16214]
36014         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
36015         __tls_get_addr_internal instead of __tls_get_offset in order to
36016         avoid GOT pointer dependency.  Make rtld export
36017         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
36018         __tls_get_addr since we are a __tls_get_offset platform.
36019         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
36020         GOT pointer being set up before.
36021         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
36023 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
36025         * manual/math.texi (Errors in Math Functions): Document accuracy
36026         goals.
36028         [BZ #15004]
36029         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
36030         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
36031         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36032         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36033         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36034         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36035         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36036         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36037         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36038         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36039         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36040         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36041         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36042         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36043         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36044         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36046         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
36047         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
36048         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
36049         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
36050         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
36051         Likewise.
36052         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
36053         Likewise.
36054         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
36055         Likewise.
36056         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
36057         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
36058         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
36059         atomic-feupdateenv and flt-rounds.
36060         * sysdeps/powerpc/nofpu/Versions (libc): Add
36061         __atomic_feholdexcept, __atomic_feclearexcept,
36062         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
36063         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
36064         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
36065         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
36066         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
36067         here.
36068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36069         Update.
36071         * manual/arith.texi (FP Exceptions): Document that exceptions may
36072         not be raised when matherr is used.
36073         (Math Error Reporting): Document overflow in directed rounding
36074         modes.  Document that errno may not be set when finite values are
36075         returned on overflow.  Document intent to set errno on underflow
36076         only for underflow to zero.
36078         [BZ #16271]
36079         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
36080         round-to-nearest then adjust result for other rounding modes.
36081         * include/fenv.h (fegetround): Use libm_hidden_proto.
36082         * math/fegetround.c (fegetround): Use libm_hidden_def.
36083         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
36084         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
36085         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36086         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
36087         Likewise.
36088         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
36089         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36090         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
36091         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
36093 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36095         [BZ #16077]
36096         * nss/Versions (libnss_files): Add
36097         _nss_files_gethostbyname3_r.
36098         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
36099         New function.
36100         (HOST_DB_LOOKUP): Remove macro.
36101         (_nss_files_gethostbyname_r): Implement function without the
36102         HOST_DB_LOOKUP macro.
36103         (_nss_files_gethostbyname2_r): Likewise.
36105 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
36107         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
36109 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
36111         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
36112         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
36113         warning.
36115 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36117         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
36118         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
36119         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36120         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36121         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
36122         __fe_nomask_env_priv and attribute_hidden.
36123         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
36124         (libc_feupdateenv_test_ppc): Likewise.
36125         (libc_feresetround_ppc): Likewise.
36126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36127         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
36128         compat_symbol macro.
36129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36130         (__fe_nomask_env): Likewise.
36131         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
36133 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36135         * string/Makefile: Remove ifunc tests.
36136         * string/test-string.h: Define TEST_IFUNC.
36137         * string/test-bcopy-ifunc.c: Remove.
36138         * string/test-bzero-ifunc.c: Likewise.
36139         * string/test-memccpy-ifunc.c: Likewise.
36140         * string/test-memchr-ifunc.c: Likewise.
36141         * string/test-memcmp-ifunc.c: Likewise.
36142         * string/test-memcpy-ifunc.c: Likewise.
36143         * string/test-memmem-ifunc.c: Likewise.
36144         * string/test-memmove-ifunc.c: Likewise.
36145         * string/test-mempcpy-ifunc.c: Likewise.
36146         * string/test-memrchr-ifunc.c: Likewise.
36147         * string/test-memset-ifunc.c: Likewise.
36148         * string/test-rawmemchr-ifunc.c: Likewise.
36149         * string/test-stpcpy-ifunc.c: Likewise.
36150         * string/test-stpncpy-ifunc.c: Likewise.
36151         * string/test-strcasecmp-ifunc.c: Likewise.
36152         * string/test-strcasestr-ifunc.c: Likewise.
36153         * string/test-strcat-ifunc.c: Likewise.
36154         * string/test-strchr-ifunc.c: Likewise.
36155         * string/test-strchrnul-ifunc.c: Likewise.
36156         * string/test-strcmp-ifunc.c: Likewise.
36157         * string/test-strcpy-ifunc.c: Likewise.
36158         * string/test-strcspn-ifunc.c: Likewise.
36159         * string/test-strlen-ifunc.c: Likewise.
36160         * string/test-strncasecmp-ifunc.c: Likewise.
36161         * string/test-strncat-ifunc.c: Likewise.
36162         * string/test-strncmp-ifunc.c: Likewise.
36163         * string/test-strncpy-ifunc.c: Likewise.
36164         * string/test-strnlen-ifunc.c: Likewise.
36165         * string/test-strpbrk-ifunc.c: Likewise.
36166         * string/test-strrchr-ifunc.c: Likewise.
36167         * string/test-strspn-ifunc.c: Likewise.
36168         * string/test-strstr-ifunc.c: Likewise.
36170 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36172         * benchtests/Makefile: Remove ifunc tests.
36173         * benchtests/bench-string.h: Define TEST_IFUNC.
36174         * benchtests/bench-bcopy-ifunc.c: Remove.
36175         * benchtests/bench-bzero-ifunc.c: Likewise.
36176         * benchtests/bench-memccpy-ifunc.c: Likewise.
36177         * benchtests/bench-memchr-ifunc.c: Likewise.
36178         * benchtests/bench-memcmp-ifunc.c: Likewise.
36179         * benchtests/bench-memcpy-ifunc.c: Likewise.
36180         * benchtests/bench-memmem-ifunc.c: Likewise.
36181         * benchtests/bench-memmove-ifunc.c: Likewise.
36182         * benchtests/bench-mempcpy-ifunc.c: Likewise.
36183         * benchtests/bench-memrchr-ifunc.c: Likewise.
36184         * benchtests/bench-memset-ifunc.c: Likewise.
36185         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
36186         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
36187         * benchtests/bench-stpcpy-ifunc.c: Likewise.
36188         * benchtests/bench-stpncpy-ifunc.c: Likewise.
36189         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
36190         * benchtests/bench-strcasestr-ifunc.c: Likewise.
36191         * benchtests/bench-strcat-ifunc.c: Likewise.
36192         * benchtests/bench-strchr-ifunc.c: Likewise.
36193         * benchtests/bench-strchrnul-ifunc.c: Likewise.
36194         * benchtests/bench-strcmp-ifunc.c: Likewise.
36195         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
36196         * benchtests/bench-strcpy-ifunc.c: Likewise.
36197         * benchtests/bench-strcspn-ifunc.c: Likewise.
36198         * benchtests/bench-strlen-ifunc.c: Likewise.
36199         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
36200         * benchtests/bench-strncat-ifunc.c: Likewise.
36201         * benchtests/bench-strncmp-ifunc.c: Likewise.
36202         * benchtests/bench-strncpy-ifunc.c: Likewise.
36203         * benchtests/bench-strnlen-ifunc.c: Likewise.
36204         * benchtests/bench-strpbrk-ifunc.c: Likewise.
36205         * benchtests/bench-strrchr-ifunc.c: Likewise.
36206         * benchtests/bench-strsep-ifunc.c: Likewise.
36207         * benchtests/bench-strspn-ifunc.c: Likewise.
36208         * benchtests/bench-strstr-ifunc.c: Likewise.
36210 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36212         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
36214 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36216         * resolv/netdb.h: Use __glibc_reserved instead __unused.
36217         * rt/aio.h: Likewise.
36218         * sysdeps/gnu/bits/utmp.h: Likewise.
36219         * sysdeps/gnu/bits/utmpx.h: Likewise.
36220         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36221         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
36222         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
36223         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
36224         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
36225         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
36226         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
36227         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
36228         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
36229         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
36230         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
36231         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
36232         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
36233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
36234         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
36235         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
36236         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
36237         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
36238         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
36239         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
36240         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
36241         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
36242         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
36243         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36244         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
36245         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36246         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
36247         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
36248         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
36249         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
36250         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
36251         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
36252         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
36253         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
36254         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
36255         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
36256         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
36257         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
36258         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
36259         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
36260         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
36261         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
36263 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
36265         [BZ #16245]
36266         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
36267         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
36269 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
36271         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
36272         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
36273         Likewise.
36275 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36277         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
36278         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
36279         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
36280         (__fesetround): Remove define.
36281         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
36282         rounding and exceptions handling.
36283         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
36284         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
36285         (__fe_nomask_env): Likewise.
36286         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
36287         __fegetround instead of fegetround.
36288         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36289         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
36291 2013-11-21  Roland McGrath  <roland@hack.frob.com>
36293         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
36294         it's there.
36296         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
36298 2013-11-21  Meador Inge  <meadori@codesourcery.com>
36300         [BZ #11157]
36301         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
36302         (encrypt_r): Likewise.
36303         * malloc/obstack.h (obstack_free): Likewise.
36304         * posix/unistd.h (encrypt): Likewise.
36306 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
36308         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
36309         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
36310         DL_CALL_DT_FINI() that call the functions directly.
36311         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
36312         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
36313         * elf/dl-fini.c: Likewise.
36315 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
36317         * malloc/hooks.c (memalign_check): Add alignment rounding.
36318         * malloc/malloc.c (_mid_memalign): New function.
36319         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
36320         Implement by calling _mid_memalign.
36321         * manual/probes.texi (Memory Allocation Probes): Remove
36322         memory_valloc_retry and memory_pvalloc_retry.
36324 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36326         * locale/programs/locarchive.c (open_archive): Add const
36327         qualifier to ARCHIVEFNAME and copy default fname to
36328         DEFAULT_FNAME.
36330         [BZ #15601]
36331         * libio/tst-widetext.input: Rename Oriya to Odia.
36332         * locale/iso-639.def: Likewise.
36334         * manual/probes.texi (Mathematical Function Probes): Add
36335         documentation for sin, cos, asin and acos probes.
36336         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
36337         (__sin32): Add slowasin probe.
36338         (__cos32): Add slowacos probe.
36339         (__mpsin): Add slowsin probe.
36340         (__mpcos): Add slowcos probe.
36342 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
36344         [BZ #15483]
36345         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
36346         thread-local __sim_exceptions_thread and global
36347         __sim_exceptions_global.
36348         (__sim_disabled_exceptions): Change to thread-local
36349         __sim_disabled_exceptions_thread and global
36350         __sim_disabled_exceptions_global.
36351         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36352         and global __sim_round_mode_global.
36353         (__simulate_exceptions): Use thread-local floating-point state and
36354         set global state from it as needed.
36355         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
36356         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
36357         __sim_round_mode_thread.
36358         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
36359         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
36360         and global __sim_exceptions_global.
36361         (__sim_disabled_exceptions): Change to thread-local
36362         __sim_disabled_exceptions_thread and global
36363         __sim_disabled_exceptions_global.
36364         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36365         and global __sim_round_mode_global.
36366         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
36367         (SIM_SET_GLOBAL): Likewise.
36368         * sysdeps/powerpc/soft-fp/sfp-machine.h
36369         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
36370         __sim_round_mode_thread.
36371         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
36372         __sim_disabled_exceptions_thread.
36373         (__sim_exceptions): Change to __sim_exceptions_thread.
36374         (__sim_disabled_exceptions): Change to
36375         __sim_disabled_exceptions_thread.
36376         (__sim_round_mode): Change to __sim_round_mode_thread.
36377         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
36378         thread-local floating-point state and set global state from it as
36379         needed.
36380         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
36381         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
36382         (__sim_disabled_exceptions): Remove extern declaration.
36383         (feenableexcept): Use thread-local floating-point state and set
36384         global state from it as needed.
36385         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
36386         extern declaration.
36387         (__sim_disabled_exceptions): Likewise.
36388         (__sim_round_mode): Likewise.
36389         (__fegetenv): Use thread-local floating-point state.
36390         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
36391         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36392         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
36393         floating-point state and set global state from it as needed.
36394         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
36395         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36396         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
36397         Likewise.
36398         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
36399         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
36400         Likewise.
36401         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
36402         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
36403         Use __sim_round_mode_thread.
36404         * math/test-fenv-tls.c: New file.
36405         * math/Makefile (tests): Add test-fenv-tls.
36406         ($(objpfx)test-fenv-tls): Depend on
36407         $(common-objpfx)nptl/libpthread.so.
36409 2013-11-19  Andreas Schwab  <schwab@suse.de>
36411         * locale/programs/locale.c (show_info): Decode wordarray elements.
36412         * locale/categories.def (LC_MONETARY): Add element for
36413         _NL_MONETARY_CRNCYSTR.
36414         * locale/C-monetary.c (conversion_rate): New variable.
36415         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
36416         element.
36418 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
36420         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
36421         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
36423 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
36425         * elf/Makefile (tst-auxv): New test.
36426         * elf/tst-auxv.c: New
36427         * elf/rtld.c (dl_main): Adjust AT_EXECFN
36429 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
36431         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
36432         (hidden_proto): Caller changed.
36433         (hidden_tls_proto): New macro.
36434         (libc_hidden_tls_proto): Likewise.
36435         (rtld_hidden_tls_proto): Likewise.
36436         (libm_hidden_tls_proto): Likewise.
36437         (libresolv_hidden_tls_proto): Likewise.
36438         (librt_hidden_tls_proto): Likewise.
36439         (libdl_hidden_tls_proto): Likewise.
36440         (libnss_files_hidden_tls_proto): Likewise.
36441         (libnsl_hidden_tls_proto): Likewise.
36442         (libnss_nisplus_hidden_tls_proto): Likewise.
36443         (libutil_hidden_tls_proto): Likewise.
36445 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
36447         [BZ #10253]
36448         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
36449         (decompose_rpath): Defer expansion to fillin_rpath.
36450         (_dl_init_paths): Pass linkmap to fillin_rpath.
36452 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36454         * benchtests/Makefile: Add strsep.
36455         * benchtests/bench-strsep.c: New file: strsep benchtest.
36456         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
36458 2013-11-18  Andreas Schwab  <schwab@suse.de>
36460         * locale/programs/locale.c (show_info) [case byte]: Check for
36461         '\377' instead of '\177'.
36462         * locale/C-monetary.c (not_available): Always use "\377".
36463         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
36464         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
36465         detect unavailable sign_posn locale elements.
36466         * locale/localeconv.c (__localeconv): For grouping and
36467         mon_grouping handle "\177" and "\377" like no grouping.
36468         (INT_ELEM): New macro.  Use it to set all numeric members.
36469         * locale/programs/ld-monetary.c (monetary_read)
36470         <tok_mon_grouping>: Normalize single -1 to the empty string.
36471         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
36472         Likewise.
36474 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
36476         [BZ #16055]
36477         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
36478         when we match (nil).
36479         * stdio-common/tst-sscanf.c (struct test): Add testcase.
36481 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
36483         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
36484         (NO_TEST_INLINE): Update value.
36485         (ERRNO_UNCHANGED): Likewise.
36486         (ERRNO_EDOM): Likewise.
36487         (ERRNO_ERANGE): Likewise.
36488         (IGNORE_RESULT): Likewise.
36489         (check_float_internal): Check signs of NaN results if
36490         TEST_NAN_SIGN used.
36491         (check_complex): Pass TEST_NAN_SIGN flag through to second
36492         check_float_internal call.
36493         (copysign_test_data): Add tests with quiet NaNs as second
36494         argument.  Use TEST_NAN_SIGN.
36495         (fabs_test_data): Add test of negative quiet NaN argument.  Use
36496         TEST_NAN_SIGN.
36497         (signbit_test_data): Add tests of quiet NaN argument.
36498         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
36500         * math/gen-libm-test.pl (show_exceptions): Take extra argument
36501         $ignore_result.
36502         (parse_args): Handle function results specified as IGNORE.
36503         * math/libm-test.inc (IGNORE_RESULT): New macro.
36504         (check_float_internal): Do not check numerical result if flag
36505         IGNORE_RESULT set.
36506         (check_complex): Pass through IGNORE_RESULT to second
36507         check_float_internal call.
36508         (check_int): Do not check numerical result if flag IGNORE_RESULT
36509         set.
36510         (check_long): Likewise.
36511         (check_bool): Likewise.
36512         (check_longlong): Likewise.
36513         (lrint_test_data): Add tests of infinite and NaN arguments.
36514         (lrint_tonearest_test_data): Likewise.
36515         (lrint_towardzero_test_data): Likewise.
36516         (lrint_downward_test_data): Likewise.
36517         (lrint_upward_test_data): Likewise.
36518         (llrint_test_data): Likewise.
36519         (llrint_tonearest_test_data): Likewise.
36520         (llrint_towardzero_test_data): Likewise.
36521         (llrint_downward_test_data): Likewise.
36522         (llrint_upward_test_data): Likewise.
36523         (lround_test_data): Likewise.
36524         (llround_test_data): Likewise.
36526         * math/libm-test.inc (NO_TEST_INLINE): New macro.
36527         (ERRNO_UNCHANGED): Update value.
36528         (ERRNO_EDOM): Likewise.
36529         (ERRNO_ERANGE): Likewise.
36530         (NO_TEST_INLINE_FLOAT): New macro.
36531         (NO_TEST_INLINE_DOUBLE): Likewise.
36532         (enable_test): New function.
36533         (RUN_TEST_f_f): Check enable_test before running test.
36534         (RUN_TEST_2_f): Likewise.
36535         (RUN_TEST_fff_f): Likewise.
36536         (RUN_TEST_c_f): Likewise.
36537         (RUN_TEST_f_f1): Likewise.
36538         (RUN_TEST_fF_f1): Likewise.
36539         (RUN_TEST_fI_f1): Likewise.
36540         (RUN_TEST_ffI_f1): Likewise.
36541         (RUN_TEST_c_c): Likewise.
36542         (RUN_TEST_cc_c): Likewise.
36543         (RUN_TEST_f_i): Likewise.
36544         (RUN_TEST_f_i_tg): Likewise.
36545         (RUN_TEST_ff_i_tg): Likewise.
36546         (RUN_TEST_f_b): Likewise.
36547         (RUN_TEST_f_b_tg): Likewise.
36548         (RUN_TEST_f_l): Likewise.
36549         (RUN_TEST_f_L): Likewise.
36550         (RUN_TEST_fFF_11): Likewise.
36551         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
36552         conditionals.
36553         (cosh_test_data): Likewise.
36554         (exp_test_data): Likewise.
36555         (expm1_test_data): Likewise.
36556         (hypot_test_data): Likewise.
36557         (pow_test_data): Likewise.
36558         (sinh_test_data): Likewise.
36559         (tanh_test_data): Likewise.
36560         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
36561         flags argument.
36563         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
36564         tests with quiet NaN input and output.
36565         (acosh_test_data): Likewise.
36566         (asin_test_data): Likewise.
36567         (asinh_test_data): Likewise.
36568         (atan_test_data): Likewise.
36569         (atanh_test_data): Likewise.
36570         (atan2_test_data): Likewise.
36571         (cbrt_test_data): Likewise.
36572         (cos_test_data): Likewise.
36573         (cosh_test_data): Likewise.
36574         (erf_test_data): Likewise.
36575         (erfc_test_data): Likewise.
36576         (exp_test_data): Likewise.
36577         (exp10_test_data): Likewise.
36578         (exp2_test_data): Likewise.
36579         (expm1_test_data): Likewise.
36580         (hypot_test_data): Likewise.
36581         (j0_test_data): Likewise.
36582         (j1_test_data): Likewise.
36583         (jn_test_data): Likewise.
36584         (lgamma_test_data): Likewise.
36585         (log_test_data): Likewise.
36586         (log10_test_data): Likewise.
36587         (log1p_test_data): Likewise.
36588         (log2_test_data): Likewise.
36589         (pow_test_data): Likewise.
36590         (scalb_test_data): Likewise.
36591         (sin_test_data): Likewise.
36592         (sincos_test_data): Likewise.
36593         (sinh_test_data): Likewise.
36594         (tan_test_data): Likewise.
36595         (tanh_test_data): Likewise.
36596         (tgamma_test_data): Likewise.
36597         (y0_test_data): Likewise.
36598         (y1_test_data): Likewise.
36599         (yn_test_data): Likewise.
36601         [BZ #16167]
36602         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
36603         argument being NaN and avoid computations with second argument in
36604         that case.
36605         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36606         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36607         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36609 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
36611         * locale/iso-639.def: Add Chitwani Tharu (the).
36613 2013-11-14  Andreas Schwab  <schwab@suse.de>
36615         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
36616         word instead of empty string.
36618 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36621         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
36622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36623         (__fe_nomask_env): Likewise.
36625 2013-11-13  Steve Ellcey  <sellcey@mips.com>
36627         * benchtests/bench-timing.h: Include time.h.
36629 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
36631         [BZ #15997]
36632         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
36633         to 3.4.0 for x32.
36634         * sysdeps/unix/sysv/linux/configure: Regenerated.
36636 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
36638         [BZ #16151]
36639         * stdlib/strtod_l.c (round_and_return): Do not consider
36640         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
36641         exponent one less than half the least subnormal exponent.
36642         * stdlib/test-strtod-round-data: Add more tests.
36643         * stdlib/tst-strtod-round.c (tests): Regenerated.
36645 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36647         [BZ #14143]
36648         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
36649         (__fe_mask_env): Likewise.
36650         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
36651         libm_hidden_proto and add function prototype.
36652         (__fe_mask_env): Add function prototype.
36653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36654         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
36655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36656         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
36657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36658         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
36660 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36662         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
36663         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
36665 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36667         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
36668         of htab_find_slot().
36670 2013-11-11  David S. Miller  <davem@davemloft.net>
36672         [BZ #16150]
36673         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
36674         symbol in the non-vis3 case in static builds.
36675         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
36676         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
36677         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
36678         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
36680 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
36682         [BZ #387]
36683         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
36684         it is empty.
36686 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36688         * benchtests/Makefile: Add bench-strtod.
36689         * benchtests/bench-strtod.c: New file: strtod benchtest
36691 2013-11-11  Andreas Schwab  <schwab@suse.de>
36693         [BZ #16153]
36694         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
36695         terminating NUL in key length.
36697 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36699         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36700         Add artificial ODP entry for vDSO symbol for PPC64.
36701         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
36702         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
36704 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
36706         [BZ #15374]
36707         * nss/getent.c (services_keys): Recognize services starting with digit.
36709 2013-11-06  David S. Miller  <davem@davemloft.net>
36711         [BZ #15985]
36712         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
36713         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
36715 2013-11-06  Will Newton  <will.newton@linaro.org>
36717         * manual/memory.texi (Malloc Examples): Remove register
36718         keyword from examples.
36720 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
36722         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
36724 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
36726         [BZ #6981]
36727         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
36728         depending on [__GCC_IEC_559 > 0].
36729         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
36730         depending on [__GCC_IEC_559_COMPLEX > 0].
36732 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
36734         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
36735         to iso-639.def.
36737 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
36739         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
36741 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
36743         [BZ #16112]
36744         * malloc/malloc (malloc_info): Do not handle first bin as
36745         special case.
36747 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
36749         * locale/iso-639.def: Add Central Nahuatl (nhn).
36751 2013-11-01  Bruno Haible  <bruno@clisp.org>
36753         [BZ #7003]
36754         * manual/math.texi (BSD Random): Specify range upper bound as
36755         in POSIX.
36757 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
36759         * locale/iso-639.def: Add Meadow Mari (mhr).
36761 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
36763         [BZ #14752], [BZ #15763]
36764         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
36765         Validate name.
36766         * rt/tst_shm.c: Add test for escaping directory.
36768 2013-10-31  Andreas Schwab  <schwab@suse.de>
36770         [BZ #15917]
36771         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
36772         followed by 'x' as part of digit sequence.
36773         * stdio-common/tst-sscanf.c (double_tests2): New tests.
36775 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
36777         [BZ #16037]
36778         * configure.ac: allow GNU Make 4.0 and greater.
36779         * configure: Regenerated.
36781 2013-10-30  Will Newton  <will.newton@linaro.org>
36783         [BZ #16038]
36784         * malloc/hooks.c (memalign_check): Limit alignment to the
36785         maximum representable power of two.
36786         * malloc/malloc.c (__libc_memalign): Likewise.
36787         * malloc/tst-memalign.c (do_test): Add test for very
36788         large alignment values.
36789         * malloc/tst-posix_memalign.c (do_test): Likewise.
36791 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
36793         [BZ #11087]
36794         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
36795         (munmap_chunk): Likewise.
36796         (mremap_chunk): Likewise.
36798 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
36800         [BZ #15799]
36801         * stdlib/div.c (div): Remove obsolete code.
36802         * stdlib/ldiv.c (ldiv): Likewise.
36803         * stdlib/lldiv.c (lldiv): Likewise.
36805 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36807         [BZ #16071]
36808         * nss/nss_files/files-XXX.c (get_contents_ret): New
36809         enumerator.
36810         (get_contents): New function.
36811         (internal_getent): Use it.  Expand size of LINEBUFLEN.
36813 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
36815         * configure.in: Moved to ...
36816         * configure.ac: ... here. Change reference to configure.in
36817         to configure.ac.
36818         * sysdeps/arm/preconfigure.ac: ... here.
36819         configure.in to configure.ac.
36820         * sysdeps/gnu/configure.in: Moved to ...
36821         * sysdeps/gnu/configure.ac: ... here.
36822         * sysdeps/i386/configure.in: Moved to ...
36823         * sysdeps/i386/configure.ac: ... here.
36824         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
36825         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
36826         * sysdeps/mach/configure.in: Moved to ...
36827         * sysdeps/mach/configure.ac: ... here.
36828         * sysdeps/mach/hurd/configure.in: Moved to ...
36829         * sysdeps/mach/hurd/configure.ac: ... here.
36830         * sysdeps/powerpc/configure.in: Moved to ...
36831         * sysdeps/powerpc/configure.ac: ... here.
36832         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
36833         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
36834         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
36835         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
36836         * sysdeps/s390/s390-32/configure.in: Moved to ...
36837         * sysdeps/s390/s390-32/configure.ac: ... here.
36838         * sysdeps/s390/s390-64/configure.in: Moved to ...
36839         * sysdeps/s390/s390-64/configure.ac: ... here.
36840         * sysdeps/sh/configure.in: Moved to ...
36841         * sysdeps/sh/configure.ac: ... here.
36842         * sysdeps/sparc/configure.in: Moved to ...
36843         * sysdeps/sparc/configure.ac: ... here.
36844         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
36845         * sysdeps/unix/sysv/linux/configure.ac: ... here.
36846         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
36847         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
36848         * sysdeps/x86_64/configure.in: Moved to ...
36849         * sysdeps/x86_64/configure.ac: ... here.
36850         * sysdeps/x86_64/preconfigure.in: Moved to ...
36851         * sysdeps/x86_64/preconfigure.ac: ... here.
36852         * aclocal.m4: Change reference to configure.in to configure.ac.
36853         * config.h.in: Likewise.
36854         * manual/install.texi: Likewise.
36855         * manual/maint.texi: Likewise.
36856         * Makefile: Likewise.
36857         * malloc/Makefile: Likewise.
36858         * nscd/Makefile: Likewise.
36859         * Makeconfig: Change reference to configure.in and
36860         preconfigure.in to configure.ac and preconfigure.ac
36861         respectively.
36862         * INSTALL: Regenerated.
36863         * configure: Likewise.
36864         * sysdeps/gnu/configure: Likewise.
36865         * sysdeps/i386/configure: Likewise.
36866         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
36867         * sysdeps/mach/configure: Likewise.
36868         * sysdeps/mach/hurd/configure: Likewise.
36869         * sysdeps/powerpc/configure: Likewise.
36870         * sysdeps/powerpc/powerpc32/configure: Likewise.
36871         * sysdeps/powerpc/powerpc64/configure: Likewise.
36872         * sysdeps/s390/s390-32/configure: Likewise.
36873         * sysdeps/s390/s390-64/configure: Likewise.
36874         * sysdeps/sh/configure: Likewise.
36875         * sysdeps/sparc/configure: Likewise.
36876         * sysdeps/unix/sysv/linux/configure: Likewise.
36877         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
36878         * sysdeps/x86_64/configure: Likewise.
36879         * sysdeps/x86_64/preconfigure: Likewise.
36881 2013-10-29  Andreas Schwab  <schwab@suse.de>
36883         * stdio-common/Makefile (tst-swscanf-ENV): Define.
36885 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36887         * benchtests/pow-inputs: Add new inputs.
36889         * benchtests/exp-inputs: Add new inputs.
36891         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
36892         conditional check for return value.
36893         (__cos32): Likewise.
36895 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36897         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
36898         to provide a boost for large inputs with word alignment.
36899         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
36900         implementation based on optimized PPC64 strcpy.
36901         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
36902         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
36903         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
36904         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
36906 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36908         [BZ #2801]
36909         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
36911 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36913         [BZ #14876]
36914         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
36915         * time/tst-strptime.c (day_tests): Add testcase.
36917 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36919         [BZ #14029]
36920         * manual/pattern.texi: Acknowledge that fnmatch can fail.
36922 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
36924         [BZ #16074]
36925         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
36926         MAP_FAILED on error.
36928 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36930         [BZ #16072]
36931         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
36932         heap for large requests.
36934 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
36936         [BZ #9954]
36937         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
36938         result if the result has no associated interface.
36939         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
36940         interface for all 127.X.Y.Z addresses.
36942 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
36944         * locale/iso-639.def: Add Ligurian (lij)
36946 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
36948         [BZ #15825]
36949         * sunrpc/rpc_main.c: Document rpcgen -5.
36951 2013-10-19  Michael Stahl  <mstahl@redhat.com>
36953         * elf/rtld.c (do_preload): Print the reason why preloading failed.
36955 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
36957         [BZ #10278]
36958         * posix/glob.c: Match only directories when trailing slash is present.
36959         * posix/tst-gnuglob.c (my_opendir): Do not open files.
36960         (main): Add testcase.
36962 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
36964         [BZ #15670]
36965         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
36967 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
36969         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
36970         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
36971         AUTH_DES and cindex for FIPS 140-2.
36972         (DES Encryption): Add cindex FIPS 46-3.
36974         * locale/locarchive.h (struct locarhandle): Add fname.
36975         * locale/programs/localedef.c (main): Pass ARGV[remaining]
36976         if an optional argument was specified to --list-archive,
36977         otherwise NULL.
36978         * locale/programs/locarchive.c (show_archive_content): Take new
36979         argument fname and pass it via ah.fname to open_archive.
36980         * locale/programs/localedef.h: Update decl.
36981         (open_archive): If AH->fname is non-null, open that file
36982         rather than the default file name, and don't ignore ENOENT.
36983         (create_archive): Set AH.fname to NULL.
36984         (delete_locales_from_archive): Likewise.
36985         (add_locales_to_archive): Likewise.
36986         * locale/programs/locfile.c (write_all_categories): Likewise.
36988 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
36989             Aldy Hernandez  <aldyh@redhat.com>
36991         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
36992         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
36993         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
36994         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
36995         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
36996         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
36997         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
36998         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
36999         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
37000         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
37001         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
37002         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
37003         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
37004         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
37005         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
37006         Likewise.
37007         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
37008         Likewise.
37009         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
37010         Likewise.
37011         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
37012         Likewise.
37013         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
37014         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
37015         Likewise.
37016         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
37017         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
37018         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
37019         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
37020         Likewise.
37021         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
37022         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
37023         * sysdeps/powerpc/preconfigure: Likewise.
37024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
37025         Likewise.
37026         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
37027         Replace contents of file by #include of <fenv_libc.h>.
37028         * sysdeps/powerpc/soft-fp/sfp-machine.h
37029         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
37030         and <sys/prctl.h>.
37031         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
37032         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
37033         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
37034         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
37035         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
37036         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
37037         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
37038         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
37039         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
37040         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
37041         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
37042         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
37043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37044         Allow copysignl PLT reference to be missing.
37046 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
37047             Joseph Myers  <joseph@codesourcery.com
37049         [BZ #15948]
37050         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
37051         single character.
37052         (add_to_tablewc): Assert sequence of wide characters is nonempty.
37054 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37056         * elf/tst-tls-dlinfo.c: Don't include tls.h.
37057         * elf/tst-tls1.c: Likewise.
37058         * elf/tst-tls10.h: Likewise.
37059         * elf/tst-tls14.c: Likewise.
37060         * elf/tst-tls2.c: Likewise.
37061         * elf/tst-tls3.c: Likewise.
37062         * elf/tst-tls4.c: Likewise.
37063         * elf/tst-tls5.c: Likewise.
37064         * elf/tst-tls6.c: Likewise.
37065         * elf/tst-tls7.c: Likewise.
37066         * elf/tst-tls8.c: Likewise.
37067         * elf/tst-tls9.c: Likewise.
37068         * elf/tst-tlsmod1.c: Likewise.
37069         * elf/tst-tlsmod13.c: Likewise.
37070         * elf/tst-tlsmod13a.c: Likewise.
37071         * elf/tst-tlsmod14a.c: Likewise.
37072         * elf/tst-tlsmod16a.c: Likewise.
37073         * elf/tst-tlsmod16b.c: Likewise.
37074         * elf/tst-tlsmod2.c: Likewise.
37075         * elf/tst-tlsmod3.c: Likewise.
37076         * elf/tst-tlsmod4.c: Likewise.
37077         * elf/tst-tlsmod5.c: Likewise.
37078         * elf/tst-tlsmod6.c: Likewise.
37080 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
37082         [BZ #12486]
37083         * malloc/malloc.c: remove checks for statistics.
37085 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37087         [BZ #15277]
37088         * inet/inet_net.c (inet_network): Detect additional invalid strings.
37089         * inet/tst-network.c: Add testcase.
37091 2013-10-17  Andreas Schwab  <schwab@suse.de>
37093         [BZ #15218]
37094         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
37095         to determine canonical name.
37097 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37099         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
37100         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
37101         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37102         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37103         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37104         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37105         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37106         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37107         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37108         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37109         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37110         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37111         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37112         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37113         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37114         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37115         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37116         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37117         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37118         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37119         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37120         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37121         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37122         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
37123         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
37124         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37125         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37126         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
37127         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37128         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
37129         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37130         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37131         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37132         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37133         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37134         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37135         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37136         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37137         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37138         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37139         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37140         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37141         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37142         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37143         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37144         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37145         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37146         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37147         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37148         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37149         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37150         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37151         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37152         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37153         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37154         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37155         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37156         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37158 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
37160         [BZ #16041]
37161         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
37162         make result into a quiet NaN.
37164 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
37166         * soft-fp/adddf3.c: Fix horizontal whitespace.
37167         * soft-fp/addsf3.c: Likewise.
37168         * soft-fp/addtf3.c: Likewise.
37169         * soft-fp/divdf3.c: Likewise.
37170         * soft-fp/divsf3.c: Likewise.
37171         * soft-fp/divtf3.c: Likewise.
37172         * soft-fp/double.h: Likewise.
37173         * soft-fp/eqdf2.c: Likewise.
37174         * soft-fp/eqsf2.c: Likewise.
37175         * soft-fp/eqtf2.c: Likewise.
37176         * soft-fp/extenddftf2.c: Likewise.
37177         * soft-fp/extended.h: Likewise.
37178         * soft-fp/extendsfdf2.c: Likewise.
37179         * soft-fp/extendsftf2.c: Likewise.
37180         * soft-fp/extendxftf2.c: Likewise.
37181         * soft-fp/fixdfdi.c: Likewise.
37182         * soft-fp/fixdfsi.c: Likewise.
37183         * soft-fp/fixdfti.c: Likewise.
37184         * soft-fp/fixsfdi.c: Likewise.
37185         * soft-fp/fixsfsi.c: Likewise.
37186         * soft-fp/fixsfti.c: Likewise.
37187         * soft-fp/fixtfdi.c: Likewise.
37188         * soft-fp/fixtfsi.c: Likewise.
37189         * soft-fp/fixtfti.c: Likewise.
37190         * soft-fp/fixunsdfdi.c: Likewise.
37191         * soft-fp/fixunsdfsi.c: Likewise.
37192         * soft-fp/fixunsdfti.c: Likewise.
37193         * soft-fp/fixunssfdi.c: Likewise.
37194         * soft-fp/fixunssfsi.c: Likewise.
37195         * soft-fp/fixunssfti.c: Likewise.
37196         * soft-fp/fixunstfdi.c: Likewise.
37197         * soft-fp/fixunstfsi.c: Likewise.
37198         * soft-fp/fixunstfti.c: Likewise.
37199         * soft-fp/floatdidf.c: Likewise.
37200         * soft-fp/floatdisf.c: Likewise.
37201         * soft-fp/floatditf.c: Likewise.
37202         * soft-fp/floatsidf.c: Likewise.
37203         * soft-fp/floatsisf.c: Likewise.
37204         * soft-fp/floatsitf.c: Likewise.
37205         * soft-fp/floattidf.c: Likewise.
37206         * soft-fp/floattisf.c: Likewise.
37207         * soft-fp/floattitf.c: Likewise.
37208         * soft-fp/floatundidf.c: Likewise.
37209         * soft-fp/floatundisf.c: Likewise.
37210         * soft-fp/floatunditf.c: Likewise.
37211         * soft-fp/floatunsidf.c: Likewise.
37212         * soft-fp/floatunsisf.c: Likewise.
37213         * soft-fp/floatunsitf.c: Likewise.
37214         * soft-fp/floatuntidf.c: Likewise.
37215         * soft-fp/floatuntisf.c: Likewise.
37216         * soft-fp/floatuntitf.c: Likewise.
37217         * soft-fp/fmadf4.c: Likewise.
37218         * soft-fp/fmasf4.c: Likewise.
37219         * soft-fp/fmatf4.c: Likewise.
37220         * soft-fp/gedf2.c: Likewise.
37221         * soft-fp/gesf2.c: Likewise.
37222         * soft-fp/getf2.c: Likewise.
37223         * soft-fp/ledf2.c: Likewise.
37224         * soft-fp/lesf2.c: Likewise.
37225         * soft-fp/letf2.c: Likewise.
37226         * soft-fp/muldf3.c: Likewise.
37227         * soft-fp/mulsf3.c: Likewise.
37228         * soft-fp/multf3.c: Likewise.
37229         * soft-fp/negdf2.c: Likewise.
37230         * soft-fp/negsf2.c: Likewise.
37231         * soft-fp/negtf2.c: Likewise.
37232         * soft-fp/op-1.h: Likewise.
37233         * soft-fp/op-2.h: Likewise.
37234         * soft-fp/op-4.h: Likewise.
37235         * soft-fp/op-8.h: Likewise.
37236         * soft-fp/op-common.h: Likewise.
37237         * soft-fp/quad.h: Likewise.
37238         * soft-fp/single.h: Likewise.
37239         * soft-fp/soft-fp.h: Likewise.
37240         * soft-fp/sqrtdf2.c: Likewise.
37241         * soft-fp/sqrtsf2.c: Likewise.
37242         * soft-fp/sqrttf2.c: Likewise.
37243         * soft-fp/subdf3.c: Likewise.
37244         * soft-fp/subsf3.c: Likewise.
37245         * soft-fp/subtf3.c: Likewise.
37246         * soft-fp/truncdfsf2.c: Likewise.
37247         * soft-fp/trunctfdf2.c: Likewise.
37248         * soft-fp/trunctfsf2.c: Likewise.
37249         * soft-fp/trunctfxf2.c: Likewise.
37250         * soft-fp/unorddf2.c: Likewise.
37251         * soft-fp/unordsf2.c: Likewise.
37252         * soft-fp/unordtf2.c: Likewise.
37254 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
37256         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
37257         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
37259 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
37261         * elf/dl-libc.c: Clear initfini list after freeing.
37263 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
37265         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
37266         * soft-fp/addsf3.c: Likewise.
37267         * soft-fp/addtf3.c: Likewise.
37268         * soft-fp/divdf3.c: Likewise.
37269         * soft-fp/divsf3.c: Likewise.
37270         * soft-fp/divtf3.c: Likewise.
37271         * soft-fp/double.h: Likewise.
37272         * soft-fp/eqdf2.c: Likewise.
37273         * soft-fp/eqsf2.c: Likewise.
37274         * soft-fp/eqtf2.c: Likewise.
37275         * soft-fp/extenddftf2.c: Likewise.
37276         * soft-fp/extended.h: Likewise.
37277         * soft-fp/extendsfdf2.c: Likewise.
37278         * soft-fp/extendsftf2.c: Likewise.
37279         * soft-fp/extendxftf2.c: Likewise.
37280         * soft-fp/fixdfdi.c: Likewise.
37281         * soft-fp/fixdfsi.c: Likewise.
37282         * soft-fp/fixdfti.c: Likewise.
37283         * soft-fp/fixsfdi.c: Likewise.
37284         * soft-fp/fixsfsi.c: Likewise.
37285         * soft-fp/fixsfti.c: Likewise.
37286         * soft-fp/fixtfdi.c: Likewise.
37287         * soft-fp/fixtfsi.c: Likewise.
37288         * soft-fp/fixtfti.c: Likewise.
37289         * soft-fp/fixunsdfdi.c: Likewise.
37290         * soft-fp/fixunsdfsi.c: Likewise.
37291         * soft-fp/fixunsdfti.c: Likewise.
37292         * soft-fp/fixunssfdi.c: Likewise.
37293         * soft-fp/fixunssfsi.c: Likewise.
37294         * soft-fp/fixunssfti.c: Likewise.
37295         * soft-fp/fixunstfdi.c: Likewise.
37296         * soft-fp/fixunstfsi.c: Likewise.
37297         * soft-fp/fixunstfti.c: Likewise.
37298         * soft-fp/floatdidf.c: Likewise.
37299         * soft-fp/floatdisf.c: Likewise.
37300         * soft-fp/floatditf.c: Likewise.
37301         * soft-fp/floatsidf.c: Likewise.
37302         * soft-fp/floatsisf.c: Likewise.
37303         * soft-fp/floatsitf.c: Likewise.
37304         * soft-fp/floattidf.c: Likewise.
37305         * soft-fp/floattisf.c: Likewise.
37306         * soft-fp/floattitf.c: Likewise.
37307         * soft-fp/floatundidf.c: Likewise.
37308         * soft-fp/floatundisf.c: Likewise.
37309         * soft-fp/floatunsidf.c: Likewise.
37310         * soft-fp/floatunsisf.c: Likewise.
37311         * soft-fp/floatuntidf.c: Likewise.
37312         * soft-fp/floatuntisf.c: Likewise.
37313         * soft-fp/floatuntitf.c: Likewise.
37314         * soft-fp/fmadf4.c: Likewise.
37315         * soft-fp/fmasf4.c: Likewise.
37316         * soft-fp/fmatf4.c: Likewise.
37317         * soft-fp/gedf2.c: Likewise.
37318         * soft-fp/gesf2.c: Likewise.
37319         * soft-fp/getf2.c: Likewise.
37320         * soft-fp/ledf2.c: Likewise.
37321         * soft-fp/lesf2.c: Likewise.
37322         * soft-fp/letf2.c: Likewise.
37323         * soft-fp/muldf3.c: Likewise.
37324         * soft-fp/mulsf3.c: Likewise.
37325         * soft-fp/multf3.c: Likewise.
37326         * soft-fp/negdf2.c: Likewise.
37327         * soft-fp/negsf2.c: Likewise.
37328         * soft-fp/negtf2.c: Likewise.
37329         * soft-fp/op-1.h: Likewise.
37330         * soft-fp/op-2.h: Likewise.
37331         * soft-fp/op-4.h: Likewise.
37332         * soft-fp/op-8.h: Likewise.
37333         * soft-fp/op-common.h: Likewise.
37334         * soft-fp/quad.h: Likewise.
37335         * soft-fp/single.h: Likewise.
37336         * soft-fp/soft-fp.h: Likewise.
37337         * soft-fp/sqrtdf2.c: Likewise.
37338         * soft-fp/sqrtsf2.c: Likewise.
37339         * soft-fp/sqrttf2.c: Likewise.
37340         * soft-fp/subdf3.c: Likewise.
37341         * soft-fp/subsf3.c: Likewise.
37342         * soft-fp/subtf3.c: Likewise.
37343         * soft-fp/truncdfsf2.c: Likewise.
37344         * soft-fp/trunctfdf2.c: Likewise.
37345         * soft-fp/trunctfsf2.c: Likewise.
37346         * soft-fp/trunctfxf2.c: Likewise.
37347         * soft-fp/unorddf2.c: Likewise.
37348         * soft-fp/unordsf2.c: Likewise.
37349         * soft-fp/unordtf2.c: Likewise.
37351 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
37353         [BZ #15672]
37354         * misc/error.c (error_tail): Fix possible buffer overflow.
37356 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
37358         [BZ #13028]
37359         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
37360         address.
37362 2013-10-14  P. J. McDermott  <pj@pehjota.net>
37364         [BZ #832]
37365         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
37366         testing pipefail option.
37368 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37370         * soft-fp/double.h: Indent preprocessor directives inside #if.
37371         * soft-fp/extended.h: Likewise.
37372         * soft-fp/op-2.h: Likewise.
37373         * soft-fp/op-4.h: Likewise.
37374         * soft-fp/op-common.h: Likewise.
37375         * soft-fp/quad.h: Likewise.
37376         * soft-fp/single.h: Likewise.
37377         * soft-fp/soft-fp.h: Likewise.
37379 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
37381         * iconv/iconv_prog.c: Fix typos.
37382         * stdio-common/psiginfo-data.h: Likewise.
37384 2013-10-12   Reuben Thomas <rrt@sc3d.org>
37386         [BZ #15764]
37387         * locale/setlocale.c: Fix typo.
37389 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37391         [BZ #16036]
37392         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
37393         signaling NaN arguments.
37394         * soft-fp/unordsf2.c (__unordsf2): Likewise.
37395         * soft-fp/unordtf2.c (__unordtf2): Likewise.
37397         [BZ #14910]
37398         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
37399         unordered operands.
37400         * soft-fp/gesf2.c (__gesf2): Likewise.
37401         * soft-fp/getf2.c (__getf2): Likewise.
37402         * soft-fp/ledf2.c (__ledf2): Likewise.
37403         * soft-fp/lesf2.c (__lesf2): Likewise.
37404         * soft-fp/letf2.c (__letf2): Likewise.
37406         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
37407         * soft-fp/eqsf2.c (__eqsf2): Likewise.
37408         * soft-fp/eqtf2.c (__eqtf2): Likewise.
37409         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
37410         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
37411         * soft-fp/fixdfti.c (__fixdfti): Likewise.
37412         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
37413         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
37414         * soft-fp/fixsfti.c (__fixsfti): Likewise.
37415         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
37416         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
37417         * soft-fp/fixtfti.c (__fixtfti): Likewise.
37418         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
37419         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
37420         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
37421         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
37422         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
37423         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
37424         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
37425         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
37426         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
37427         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
37428         * soft-fp/floatdisf.c (__floatdisf): Likewise.
37429         * soft-fp/floatsisf.c (__floatsisf): Likewise.
37430         * soft-fp/floattidf.c (__floattidf): Likewise.
37431         * soft-fp/floattisf.c (__floattisf): Likewise.
37432         * soft-fp/floattitf.c (__floattitf): Likewise.
37433         * soft-fp/floatundidf.c (__floatundidf): Likewise.
37434         * soft-fp/floatundisf.c (__floatundisf): Likewise.
37435         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
37436         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
37437         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
37438         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
37439         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
37440         * soft-fp/gesf2.c (__gesf2): Likewise.
37441         * soft-fp/getf2.c (__getf2): Likewise.
37442         * soft-fp/ledf2.c (__ledf2): Likewise.
37443         * soft-fp/lesf2.c (__lesf2): Likewise.
37444         * soft-fp/letf2.c (__letf2): Likewise.
37446         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
37447         Undefine and redefine.
37448         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
37449         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
37450         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
37451         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
37452         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37453         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
37454         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37455         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
37456         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37457         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
37458         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37459         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
37460         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37461         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
37462         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37464         [BZ #16032]
37465         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
37466         without decrementing exponent if mantissa >= that for the
37467         denominator, not >.
37468         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
37469         denominator, not >.  Decrement exponent in < case instead of
37470         incrementing in >= case.
37471         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
37472         without decrementing exponent if mantissa >= that for the
37473         denominator, not >.
37475         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
37476         computing saturated result for unsigned overflow.
37478 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37479             Jeff Law  <law@redhat.com>
37481         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
37482         (atan2Mp): Add systemtap probe marker.
37483         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
37484         (__ieee754_log): Add systemtap probe marker.
37485         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
37486         (atanMp): Add systemtap probe marker.
37487         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
37488         (tanMp): Add systemtap probe marker.
37489         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
37490         (__slowexp): Add systemtap probe marker.
37491         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
37492         (__slowpow): Add systemtap probe marker.
37493         * manual/probes.texi: Document probes.
37495 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
37497         [BZ #15362]
37498         * libio/fileops.c (_IO_new_file_write): Return count of bytes
37499         written.
37500         (_IO_new_file_xsputn): Don't return EOF if nothing has been
37501         written.
37502         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
37503         written to buffer but not flushed.
37504         * libio/iofwrite_u.c:  Likewise.
37505         * libio/iopadn.c:  Return bytes returned even if EOF was
37506         encountered.
37507         * libio/iowpadn.c:  Likewise.
37508         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
37509         if _IO_padn does not write the whole buffer.
37510         [!COMPILE_WPRINTF] (PAD): Likewise.
37512 2013-10-10  David S. Miller  <davem@davemloft.net>
37514         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
37515         directory block.
37517 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
37519         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
37520         instead of FSF address.
37521         * soft-fp/fixdfti.c: Likewise.
37522         * soft-fp/fixsfti.c: Likewise.
37523         * soft-fp/fixtfti.c: Likewise.
37524         * soft-fp/fixunsdfti.c: Likewise.
37525         * soft-fp/fixunssfti.c: Likewise.
37526         * soft-fp/fixunstfti.c: Likewise.
37527         * soft-fp/floattidf.c: Likewise.
37528         * soft-fp/floattisf.c: Likewise.
37529         * soft-fp/floattitf.c: Likewise.
37530         * soft-fp/floatuntidf.c: Likewise.
37531         * soft-fp/floatuntisf.c: Likewise.
37532         * soft-fp/floatuntitf.c: Likewise.
37533         * soft-fp/trunctfxf2.c: Likewise.
37535         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
37536         * soft-fp/fixdfti.c: Likewise.
37537         * soft-fp/fixsfti.c: Likewise.
37538         * soft-fp/fixtfti.c: Likewise.
37539         * soft-fp/fixunsdfti.c: Likewise.
37540         * soft-fp/fixunssfti.c: Likewise.
37541         * soft-fp/fixunstfti.c: Likewise.
37542         * soft-fp/floattidf.c: Likewise.
37543         * soft-fp/floattisf.c: Likewise.
37544         * soft-fp/floattitf.c: Likewise.
37545         * soft-fp/floatuntidf.c: Likewise.
37546         * soft-fp/floatuntisf.c: Likewise.
37547         * soft-fp/floatuntitf.c: Likewise.
37548         * soft-fp/trunctfxf2.c: Likewise.
37550 2013-10-10  David S. Miller  <davem@davemloft.net>
37552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37554 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
37556         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37557         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
37558         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
37559         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
37560         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
37561         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
37562         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
37564         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
37565         for NaNs before doing comparisons on argument.
37566         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37567         Likewise.
37569 2013-10-10  Will Newton  <will.newton@linaro.org>
37571         * malloc/hooks.c (memalign_check): Ensure the value of bytes
37572         passed to _int_memalign does not overflow.
37574 2013-10-10  Torvald Riegel  <triegel@redhat.com>
37576         * scripts/bench.pl: Add include-sources directive.
37577         * benchtests/README: Update documentation.
37579 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
37581         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
37582         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
37583         instead of FP_INIT_ROUNDMODE.
37584         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
37585         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
37587         [BZ #16034]
37588         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
37589         copy class of input value.
37590         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
37591         not handle exceptions.
37592         * soft-fp/negsf2.c (__negsf2): Likewise.
37593         * soft-fp/negtf2.c (__negtf2): Likewise.
37594         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
37596 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
37598         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
37599         semicolon.  From Linux kernel.
37601 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
37603         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
37605 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
37607         [BZ #156]
37608         * manual/socket.texi: Added statement about buffer
37609         for gethostbyname2_r.
37611 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
37613         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
37614         Use .p2align directive instead, throughout.
37615         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37616         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37617         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
37618         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37619         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37620         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
37621         * sysdeps/x86_64/strchr.S: Likewise.
37622         * sysdeps/x86_64/strrchr.S: Likewise.
37624 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37626         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
37628         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
37630         * sysdeps/generic/math_private.h (__mpsin1): Remove
37631         declaration.
37632         (__mpcos1): Likewise.
37633         (__mpsin): New argument __range_reduce.
37634         (__mpcos): Likewise.
37635         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37636         (slow): Use __mpsin and __mpcos.
37637         (slow1): Likewise.
37638         (slow2): Likewise.
37639         (sloww): Likewise.
37640         (sloww1): Likewise.
37641         (sloww2): Likewise.
37642         (bsloww): Likewise.
37643         (bsloww1): Likewise.
37644         (bsloww2): Likewise.
37645         (cslow2): Likewise.
37646         (csloww): Likewise.
37647         (csloww1): Likewise.
37648         (csloww2): Likewise.
37649         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
37650         range_reduce.  Merge in __mpsin1.
37651         (__mpcos): Likewise.
37652         (__mpsin1): Remove.
37653         (__mpcos1): Likewise.
37655 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
37657         * locale/loadlocale.c (_nl_intern_locale_data): Use
37658         LOCFILE_ALIGNED_P.
37659         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
37660         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
37661         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
37662         obstack data is appropriately aligned.
37663         (obstack_int32_grow_fast): Likewise.
37664         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
37665         * locale/programs/locfile.c (add_locale_uint32): Likewise.
37666         (add_locale_uint32_array): Likewise.
37668 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37670         * benchtests/Makefile: Remove ARGLIST and RET variables.
37671         ($(objpfx)bench-%.c): Pass only function name to the script.
37672         * benchtests/README: Update documentation.
37673         * benchtests/acos-inputs: Add new directives.
37674         * benchtests/acosh-inputs: Likewise.
37675         * benchtests/asin-inputs: Likewise.
37676         * benchtests/asinh-inputs: Likewise.
37677         * benchtests/atan-inputs: Likewise.
37678         * benchtests/atanh-inputs: Likewise.
37679         * benchtests/cos-inputs: Likewise.
37680         * benchtests/cosh-inputs: Likewise.
37681         * benchtests/exp-inputs: Likewise.
37682         * benchtests/log-inputs: Likewise.
37683         * benchtests/pow-inputs: Likewise.
37684         * benchtests/rint-inputs: Likewise.
37685         * benchtests/sin-inputs: Likewise.
37686         * benchtests/sinh-inputs: Likewise.
37687         * benchtests/tan-inputs: Likewise.
37688         * benchtests/tanh-inputs: Likewise.
37689         * scripts/bench.pl: Add support for new directives.
37691 2013-10-07  Alan Modra  <amodra@gmail.com>
37693         * README: Fix careless merge.
37695 2013-10-05  Alan Modra  <amodra@gmail.com>
37697         * NEWS: Mention powerpc64le support and bugs fixed.
37698         * README: Both big-endian and little-endian powerpc64 supported.
37700 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37702         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
37703         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
37704         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
37705         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
37707 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
37709         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
37710         match prototype.
37712 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
37714         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
37715         Move -mhard-float appending from
37716         ports/sysdeps/powerpc/powerpc32/Makefile.
37717         [$(with-fp) = yes] (ASFLAGS): Likewise.
37718         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
37719         * sysdeps/powerpc/nofpu: Move directory from
37720         ports/sysdeps/powerpc/nofpu.
37721         * sysdeps/powerpc/soft-fp: Move directory from
37722         ports/sysdeps/powerpc/soft-fp.
37723         * sysdeps/powerpc/powerpc32/405: Move directory from
37724         ports/sysdeps/powerpc/powerpc32/405.
37725         * sysdeps/powerpc/powerpc32/440: Move directory from
37726         ports/sysdeps/powerpc/powerpc32/440.
37727         * sysdeps/powerpc/powerpc32/464: Move directory from
37728         ports/sysdeps/powerpc/powerpc32/464.
37729         * sysdeps/powerpc/powerpc32/476: Move directory from
37730         ports/sysdeps/powerpc/powerpc32/476.
37731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
37732         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
37733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
37734         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
37735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
37736         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
37737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
37738         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
37739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
37740         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
37741         * README: Update for powerpc-*-linux-gnu software floating point
37742         support in libc.
37744         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
37745         case to powerpc/powerpc32*.
37746         * sysdeps/unix/sysv/linux/configure: Regenerated.
37748         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
37749         (_FPU_MASK_OM): Define as 0x04.
37750         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
37751         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
37752         0x00c10080.
37753         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
37754         0x0000003c.
37755         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
37757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
37758         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
37759         getcontext_e500.
37760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
37761         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
37762         setcontext_e500.
37763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
37764         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
37765         and setcontext_e500.
37767 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
37769         * locale/iso-3166.def: Update iso-1366.def and related occurrences
37771 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37773         * manual/threads.texi (Default Thread Attributes): Fix typo.
37775 2013-10-04  Will Newton  <will.newton@linaro.org>
37777         * malloc/Makefile: Add tst-memalign.
37778         * malloc/tst-memalign.c: New file.
37780         * malloc/tst-posix_memalign.c: Add comments.
37781         (do_test): Add comments and call free on all potentially
37782         allocated pointers. Add space after cast.
37784         * malloc/tst-pvalloc.c: Add comments.
37785         (do_test): Add comments and call free on all potentially
37786         allocated pointers. Remove duplicate check for NULL pointer.
37787         Add space after cast.
37789         * malloc/tst-valloc.c: Add comments.
37790         (do_test): Add comments and call free on all potentially
37791         allocated pointers. Remove duplicate check for NULL pointer.
37792         Add space after cast.
37794 2013-10-04  Alan Modra  <amodra@gmail.com>
37796         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37797         Use stdint types in rather than __attribute__((mode())).
37798         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37800 2013-10-04  Alan Modra  <amodra@gmail.com>
37802         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37803         Correct handling of unaligned relocs for little-endian.
37804         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37806 2013-10-04  Alan Modra  <amodra@gmail.com>
37808         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
37809         * configure: Regenerate.
37810         * nptl/shlib-versions: Powerpc*le starts at 2.18.
37811         * shlib-versions: Likewise.
37813 2013-10-04  Alan Modra  <amodra@gmail.com>
37815         * string/tester.c (test_memrchr): Increment reported test cycle.
37817 2013-10-04  Alan Modra  <amodra@gmail.com>
37819         * string/test-memcpy.c (do_one_test): When reporting errors, print
37820         string address and don't overrun end of string.
37822 2013-10-04  Alan Modra  <amodra@gmail.com>
37824         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
37825         insrdi.  Make better use of reg selection to speed exit slightly.
37826         Schedule entry path a little better.  Remove useless "are we done"
37827         checks on entry to main loop.  Handle wrapping around zero address.
37828         Correct main loop count.  Handle single left-over word from main
37829         loop inline rather than by using loop_small.  Remove extra word
37830         case in loop_small caused by wrong loop count.  Add little-endian
37831         support.
37832         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37833         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
37834         cache hint.
37835         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37836         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
37837         support.  Avoid rlwimi.
37838         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
37840 2013-10-04  Alan Modra  <amodra@gmail.com>
37842         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
37843         insrdi.  Formatting.
37844         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
37845         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37846         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
37847         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
37848         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37849         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
37851 2013-10-04  Alan Modra  <amodra@gmail.com>
37853         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
37854         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37855         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
37856         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
37857         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37858         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37859         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37860         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37861         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
37862         use of regs.  Use power7 mtocrf.  Tidy function tails.
37864 2013-10-04  Alan Modra  <amodra@gmail.com>
37866         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
37867         Formatting.  Consistently use rXXX register defines or rN defines.
37868         Use early exit labels that avoid restoring unused non-volatile regs.
37869         Make cr field use more consistent with rWORDn compares.  Rename
37870         regs used as shift registers for unaligned loop, using rN defines
37871         for short lifetime/multiple use regs.
37872         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37873         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
37874         addi 1,1,64 to pop stack frame.  Simplify return value code.
37875         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37877 2013-10-04  Alan Modra  <amodra@gmail.com>
37879         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
37880         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
37881         rather than rlwimi.
37882         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
37883         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
37884         little-endian support.  Correct typos.
37885         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
37886         rather than rlwimi.
37887         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
37888         in loop and entry code to keep "and." results.
37889         (strchr): Add little-endian support.  Comment.  Move cntlzd
37890         earlier in tail.
37891         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
37893 2013-10-04  Alan Modra  <amodra@gmail.com>
37895         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
37896         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
37897         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
37898         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
37900 2013-10-04  Alan Modra  <amodra@gmail.com>
37902         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
37903         (rTMP): Define as r11.
37904         (strcmp): Add little-endian support.  Optimise tail.
37905         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
37906         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37907         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37908         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37909         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37910         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37911         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37913 2013-10-04  Alan Modra  <amodra@gmail.com>
37915         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
37916         little-endian support.  Remove unnecessary "are we done" tests.
37917         Handle "s" wrapping around zero and extremely large "size".
37918         Correct main loop count.  Handle single left-over word from main
37919         loop inline rather than by using small_loop.  Correct comments.
37920         Delete "zero" tail, use "end_max" instead.
37921         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
37923 2013-10-04  Alan Modra  <amodra@gmail.com>
37925         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
37926         support.  Don't branch over align.
37927         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
37928         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
37929         support.  Rearrange tmp reg use to suit.  Comment.
37930         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
37932 2013-10-04  Alan Modra  <amodra@gmail.com>
37934         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
37936 2013-10-04  Alan Modra  <amodra@gmail.com>
37938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
37939         conditional form of branch and link when obtaining pc.
37940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
37942 2013-10-04  Alan Modra  <amodra@gmail.com>
37944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
37945         HIWORD/LOWORD.
37946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
37947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
37949 2013-10-04  Alan Modra  <amodra@gmail.com>
37951         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
37952         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
37953         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37954         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
37955         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37956         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37957         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
37958         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37959         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37960         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
37962 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37963             Alistair Popple <alistair@ozlabs.au.ibm.com>
37964             Alan Modra <amodra@gmail.com>
37966         [BZ #15723]
37967         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
37968         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
37969         _dl_hwcap access for little-endian.
37970         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
37971         destroy vmx regs when saving unaligned.
37972         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
37973         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
37974         destroy vmx regs when saving unaligned.
37976 2013-10-04  Alan Modra  <amodra@gmail.com>
37978         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
37979         Don't use a union to pack hi/low value.
37981 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37983         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
37984         for little-endian.
37985         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
37986         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
37987         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37988         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
37989         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
37991 2013-10-04  Alan Modra  <amodra@gmail.com>
37993         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
37994         constants to usual value for .cst8 section, and remove redundant
37995         high address load.
37996         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
37997         constant for 0x1p52.  Load little-endian words of double from
37998         correct stack offsets.
38000 2013-10-04  Alan Modra  <amodra@gmail.com>
38002         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
38003         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
38004         words of double from correct stack offsets.
38005         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
38006         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
38007         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
38008         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
38009         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
38010         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
38011         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
38012         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
38013         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
38014         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
38015         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
38016         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
38017         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38018         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38019         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38020         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
38021         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
38023 2013-10-04  Alan Modra  <amodra@gmail.com>
38025         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
38026         64-bit int/double union.
38027         (_FPU_SETCW): Likewise.
38028         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
38029         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
38031 2013-10-04  Alan Modra  <amodra@gmail.com>
38033         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
38034         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
38036 2013-10-04  Alan Modra  <amodra@gmail.com>
38038         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
38039         use vector int constants.
38040         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
38042 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38044         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
38045         array with long long.
38046         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
38047         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
38048         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
38049         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
38050         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
38051         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
38052         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
38053         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
38054         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
38055         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
38056         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
38057         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
38058         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
38060 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38062         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
38063         (__signbit): Likewise.  Correct for little-endian.
38064         (__signbitl): Call __signbit.
38065         (lrint): Correct for little-endian.
38066         (lrintf): Call lrint.
38068 2013-10-04  Alan Modra  <amodra@gmail.com>
38070         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
38071         union 32-bit int array member with 64-bit int array.
38072         (t515, tm256): Double rather than long double.
38073         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
38075 2013-10-04  Alan Modra  <amodra@gmail.com>
38077         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
38078         Delete.
38079         (IEEE854_LONG_DOUBLE_BIAS): Delete.
38080         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
38081         version of math_ldbl.h.
38083 2013-10-04  Alan Modra  <amodra@gmail.com>
38085         [BZ #15734], [BZ #15735]
38086         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
38087         all uses of ieee875 long double macros and unions.  Simplify test
38088         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
38089         ldbl_extract_mantissa value for ix,iy exponents.  Properly
38090         normalize after ldbl_extract_mantissa, and don't add hidden bit
38091         already handled.  Don't treat low word of ieee854 mantissa like
38092         low word of IBM long double and mask off bit when testing for
38093         zero.
38094         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
38095         all uses of ieee875 long double macros and unions.  Simplify tests
38096         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
38097         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
38098         two1022, instead use their values.  Recognise that tests for large
38099         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
38100         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
38101         Rewrite all uses of ieee875 long double macros and unions.  Simplify
38102         test for 0.0L and nan.  Correct negation.
38103         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
38104         ieee875 long double macros and unions.  Correct output for large
38105         magnitude x.  Correct absolute value calculation.
38106         (__erfcl): Likewise.
38107         * math/libm-test.inc: Add tests for errors discovered in IBM long
38108         double versions of fmodl, remainderl, erfl and erfcl.
38110 2013-10-04  Alan Modra  <amodra@gmail.com>
38112         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
38113         all uses of ieee854 long double macros and unions.  Simplify tests
38114         for long doubles that are fully specified by the high double.
38115         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38116         Likewise.
38117         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
38118         Remove dead code too.
38119         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
38120         (__ieee754_ynl): Likewise.
38121         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
38122         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
38123         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38124         Remove dead code too.
38125         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
38126         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
38127         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
38128         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
38129         Simplify.
38130         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
38131         Simplify.
38132         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
38133         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38134         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
38135         Comment on variable precision.
38136         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
38137         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38138         Likewise.
38139         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38140         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38141         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38142         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
38143         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
38145 2013-10-04  Alan Modra  <amodra@gmail.com>
38147         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
38148         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
38149         all uses of ieee854 long double macros and unions.
38150         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
38151         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38152         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
38153         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
38154         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
38155         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38156         Likewise.
38157         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
38158         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38159         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
38160         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38161         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
38162         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
38163         Simplify sign and nan test too.
38164         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
38165         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38166         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
38167         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38168         Likewise.
38169         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38170         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
38171         Likewise.
38172         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38173         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
38174         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
38175         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
38176         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
38177         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
38179 2013-10-04  Alan Modra  <amodra@gmail.com>
38181         * stdio-common/printf_size.c (__printf_size): Don't use
38182         union ieee854_long_double in fpnum union.
38183         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
38184         signbit macro to retrieve sign from long double.
38185         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
38186         retrieve sign from long double.
38187         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
38188         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
38189         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
38190         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38191         * math/test-misc.c (main): Don't use union ieee854_long_double.
38193 2013-10-04  Alan Modra  <amodra@gmail.com>
38195         [BZ #15680]
38196         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
38197         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
38198         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
38199         calculation.  Remove unnecessary test for denormal exponent.
38200         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
38201         Correct handling of denormals.  Avoid undefined shift behaviour.
38202         Correct normalisation of low mantissa when low double is denormal.
38203         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
38204         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
38205         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
38206         Correct normalisation of low mantissa.  Test for overflow of high
38207         mantissa and normalise.
38208         (ldbl_nearbyint): Use more readable constant for two52.
38209         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
38210         (__mpn_construct_long_double): Fix test for overflow of high
38211         mantissa and correct normalisation.  Avoid undefined shift.
38213 2013-10-04  Alan Modra  <amodra@gmail.com>
38215         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38216         (union ibm_extended_long_double): Define as an array of ieee754_double.
38217         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
38218         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
38219         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
38220         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38221         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38222         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
38223         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38224         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38225         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38226         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
38227         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38229 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
38231         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
38232         page size instead of calling getpagesize.
38234         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
38235         (LOCFILE_ALIGN_MASK): Likewise.
38236         (LOCFILE_ALIGN_UP): Likewise.
38237         (LOCFILE_ALIGNED_P): Likewise.
38238         * locale/programs/ld-collate.c (collate_output): Use the new
38239         macros instead of __alignof__ (int32_t).
38240         * locale/weight.h (findidx): Likewise.
38242 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
38244         [BZ #431]
38245         * manual/string.texi: Fix strncat and wcsncat.
38247 2013-10-03  Brooks Moses  <bmoses@google.com>
38249         [BZ #15915]
38250         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
38251         * Makerules: ...here, and adjust associated comments.
38253 2013-10-02  Will Newton  <will.newton@linaro.org>
38255         * malloc/Makefile: Add tst-pvalloc.
38256         * malloc/tst-pvalloc.c: New file.
38258 2013-10-02  Will Newton  <will.newton@linaro.org>
38260         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
38261         improve test coverage.
38263 2013-10-02  Will Newton  <will.newton@linaro.org>
38265         * malloc/Makefile: Add tst-posix_memalign.
38266         * malloc/tst-posix_memalign.c: New file.
38268 2013-10-01  Eric Blake  <eblake@redhat.com>
38270         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
38271         Use __THROWNL rather than __THROW on static functions.
38273 2013-09-30  Petr Machata  <pmachata@redhat.com>
38275         * elf/elf.h (R_AARCH64_ABS16): New macro.
38276         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
38277         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
38278         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
38279         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
38280         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
38281         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
38282         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
38283         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
38284         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
38285         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
38286         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
38287         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
38288         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
38289         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
38290         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
38291         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
38292         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
38293         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
38294         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
38295         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
38296         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
38297         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
38298         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
38299         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
38300         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
38301         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
38302         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
38303         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
38304         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
38305         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
38306         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
38307         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
38308         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
38309         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
38310         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
38311         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
38312         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
38313         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
38314         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
38315         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
38316         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
38317         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
38318         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
38319         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
38320         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
38321         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
38322         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
38323         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
38324         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
38325         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
38326         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
38327         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
38328         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
38329         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
38330         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
38331         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
38332         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
38333         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
38334         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
38335         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
38336         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
38337         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
38338         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
38339         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
38340         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
38341         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
38342         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
38343         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
38344         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
38345         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
38346         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
38347         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
38348         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
38349         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
38350         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
38351         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
38352         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
38353         (R_AARCH64_TLSDESC_LDR): Likewise.
38354         (R_AARCH64_TLSDESC_ADD): Likewise.
38355         (R_AARCH64_TLSDESC_CALL): Likewise.
38357 2013-09-30  Andreas Schwab  <schwab@suse.de>
38359         [BZ #15048]
38360         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
38361         the nss database lookup.
38362         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38363         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38365 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
38367         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
38369 2013-09-28  P. J. McDermott  <pj@pehjota.net>
38371         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
38372         ${Bash-specific parameter/pattern/string} parameter expansion.
38373         * sysdeps/unix/make-syscalls.sh: Likewise.
38375 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38377         * sysdeps/sh/stackguard-macros.h: New file.
38379 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
38381         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38382         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
38383         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
38384         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
38385         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38386         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
38388 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38390         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
38391         Fix thread ID register.
38393 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
38395         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
38396         [POSIX || UNIX98]: Require rather than permitting all symbols from
38397         <time.h>.
38398         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
38399         element of struct sched_param.
38400         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
38401         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
38402         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
38403         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
38404         constant.
38406 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
38408         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
38409         argument calculation.
38411 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38413         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
38414         Expect macro.
38415         [POSIX] (pthread_attr_t): Do not require type.
38416         [POSIX] (pthread_cond_t): Likewise.
38417         [POSIX] (pthread_condattr_t): Likewise.
38418         [POSIX] (pthread_key_t): Likewise.
38419         [POSIX] (pthread_mutex_t): Likewise.
38420         [POSIX] (pthread_mutexattr_t): Likewise.
38421         [POSIX] (pthread_once_t): Likewise.
38422         [POSIX] (pthread_t): Likewise.
38423         [POSIX-based standards] (pthread_atfork): Expect function.
38425 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38426             Richard Sandiford  <richard@codesourcery.com>
38428         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
38429         (swap_endianness_p): New extern variable.
38430         (set_big_endian): New inline function.
38431         (maybe_swap_uint32): Likewise.
38432         (maybe_swap_uint32_array): Likewise.
38433         (maybe_swap_uint32_obstack): Likewise.
38434         * locale/programs/locfile.c: Include <stdbool.h>.
38435         (swap_endianness_p): New variable.
38436         (add_locale_uint32): Call maybe_swap_uint32.
38437         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
38438         (write_locale_data): Call maybe_swap_uint32_array.
38439         * locale/programs/ld-collate.c (obstack_int32_grow): Call
38440         maybe_swap_uint32.
38441         (obstack_int32_grow_fast): Likewise.
38442         (output_weightwc): Call maybe_swap_uint32_obstack.
38443         (collate_output): Likewise.
38444         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
38445         (OPT_LITTLE_ENDIAN): Likewise.
38446         (options): Add --little-endian and --big-endian options.
38447         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
38448         * locale/programs/locarchive.c: Include "locfile.h".
38449         (GET): New macro.
38450         (SET): Likewise.
38451         (INC): Likewise.
38452         (create_archive): Use the new macros to access fields of
38453         structures directly mapped from or written to locale archives.
38454         (oldlocrecentcmp): Likewise.
38455         (enlarge_archive): Likewise.
38456         (insert_name): Likewise.
38457         (add_alias): Likewise.
38458         (add_locale): Likewise.
38459         (delete_locales_from_archive): Likewise.
38460         (show_archive_content): Likewise.
38461         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
38462         locale data.
38464 2013-09-24  Roland McGrath  <roland@hack.frob.com>
38466         * manual/freemanuals.texi: Updated from (newly) canonical copy at
38467         http://www.gnu.org/doc/freemanuals.texi.
38468         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
38470 2013-09-24  Will Newton  <will.newton@linaro.org>
38472         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
38473         macro.
38475 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
38477         * locale/hashval.h (compute_hashval): Interpret bytes of key as
38478         unsigned char.
38480 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
38482         * manual/threads.texi (POSIX Threads): Fix a typo.
38484 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38486         [BZ #14547]
38487         * string/tst-strcoll-overflow.c: New test case.
38488         * string/Makefile (xtests): Add tst-strcoll-overflow.
38489         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
38490         cache if string sizes may cause integer overflow.
38492         [BZ #14547]
38493         * string/strcoll_l.c (coll_seq): New members rule, idx,
38494         save_idx and back_us.
38495         (get_next_seq_nocache): New function.
38496         (do_compare_nocache): New function.
38497         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
38498         when malloc fails.
38500 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
38502         [BZ #15754]
38503         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
38504         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
38505         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
38507         [BZ #15754]
38508         * elf/Makefile (tests): Add tst-ptrguard1.
38509         (tests-static): Add tst-ptrguard1-static.
38510         (tst-ptrguard1-ARGS): Define.
38511         (tst-ptrguard1-static-ARGS): Define.
38512         * elf/tst-ptrguard1.c: New file.
38513         * elf/tst-ptrguard1-static.c: New file.
38514         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
38515         * sysdeps/i386/stackguard-macros.h: Likewise.
38516         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38517         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38518         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38519         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38520         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38521         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38523 2013-09-23  Hector Marco  <hecmargi@upv.es>
38524             Ismael Ripoll  <iripoll@disca.upv.es>
38525             Carlos O'Donell  <carlos@redhat.com>
38527         [BZ #15754]
38528         * sysdeps/generic/stackguard-macros.h: Define
38529         __pointer_chk_guard_local and POINTER_CHK_GUARD.
38530         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
38531         Define __pointer_chk_guard_local.
38532         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
38533         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
38535 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
38537         [BZ #15859]
38538         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
38540 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
38542         * include/string.h (__ffs): Declare as hidden.
38543         * string/ffs.c (__ffs): Define as hidden.
38544         * sysdeps/i386/ffs.c (__ffs): Likewise.
38545         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
38546         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
38547         * sysdeps/s390/ffs.c (__ffs): Likewise.
38548         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
38550 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
38552         * NEWS: Mention malloc probes.
38554         * malloc/arena.c (new_heap): New memory_heap_new probe.
38555         (grow_heap): New memory_heap_more probe.
38556         (shrink_heap): New memory_heap_less probe.
38557         (heap_trim): New memory_heap_free probe.
38558         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
38559         (systrim): New memory_sbrk_less probe.
38560         * manual/probes.texi: Document them.
38562         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
38563         * manual/probes.texi: Document it.
38565         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
38566         (__libc_realloc): Add memory_realloc_retry probe.
38567         (__libc_memalign): Add memory_memalign_retry probe.
38568         (__libc_valloc): Add memory_valloc_retry probe.
38569         (__libc_pvalloc): Add memory_pvalloc_retry probe.
38570         (__libc_calloc): Add memory_calloc_retry probe.
38571         * manual/probes.texi: Document them.
38573         * malloc/arena.c (get_free_list): Add probe
38574         memory_arena_reuse_free_list.
38575         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
38576         and memory_arena_reuse.
38577         (arena_get2) [!PER_THREAD]: Likewise.
38578         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
38579         memory_arena_reuse_realloc.
38580         * manual/probes.texi: Document them.
38582         * malloc/malloc.c (__libc_free): Add
38583         memory_mallopt_free_dyn_thresholds probe.
38584         (__libc_mallopt): Add multiple memory_mallopt probes.
38585         * manual/probes.texi: Document them.
38587         * malloc/malloc.c: Include stap-probe.h.
38588         (__libc_mallopt): Add memory_mallopt probe.
38589         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
38590         * manual/probes.texi: New.
38591         * manual/Makefile (chapters): Add probes.
38592         * manual/threads.texi: Set next node.
38594 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
38596         [BZ #15963, #13985]
38597         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
38598         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
38599         Add `Chinese' to `nan' entry name.
38601 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38603         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
38604         (POLYNOMIAL): Likewise.
38605         (TAYLOR_SINCOS): Likewise.
38606         (TAYLOR_SLOW): Likewise.
38607         (__sin): Use TAYLOR_SINCOS.
38608         (__cos): Likewise.
38609         (slow): Use TAYLOR_SLOW.
38610         (sloww): Likewise.
38611         (bsloww): Likewise.
38612         (csloww): Likewise.
38614 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38616         * stdlib/strtod_l.c: Fix buffer overrun.
38618 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38620         * benchtests/Makefile (bench): Add sincos.
38621         * benchtests/bench-sincos.c: New file.
38623         * math/libm-test.inc (cos_test_data): New test inputs.
38624         (sin_test_data): Likewise.
38626         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
38627         macro.
38628         (__sin): Use it.
38629         (__cos): Likewise.
38630         (slow1): Likewise.
38631         (slow2): Likewise.
38632         (sloww1): Likewise.
38633         (sloww2): Likewise.
38634         (bsloww1): Likewise.
38635         (bsloww2): Likewise.
38636         (cslow2): Likewise.
38637         (csloww1): Likewise.
38638         (csloww2): Likewise.
38640         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
38641         function.
38642         (__sin): Use it.
38643         (__cos): Likewise.
38645         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
38646         gotos.
38647         (__cos): Likewise.
38649 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
38651         * config.h.in (HAVE_MIPS_NAN2008): New macro.
38652         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
38653         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
38654         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
38655         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
38656         * elf/cache.c (print_entry): Handle the new cache flags.
38658 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
38659             Aldy Hernandez  <aldyh@redhat.com>
38661         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
38662         Change condition to [_SOFT_FLOAT].
38663         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
38664         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
38665         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
38666         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
38667         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
38668         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
38669         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
38670         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
38671         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
38672         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
38673         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
38674         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
38675         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
38676         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
38677         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
38678         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
38679         declaration.
38681 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
38683         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
38684         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
38685         (__longjmp): Use LOAD_GP to load saved GPRs.
38686         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
38687         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
38688         (__sigsetjmp): Use SAVE_GP to save GPRs.
38690         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
38691         Do not append -msoft-float.
38692         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
38694 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38696         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
38698 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
38700         [BZ #15966]
38701         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
38702         (_FPU_GETCW): Use initial "__" on variable and field names but not
38703         on macro parameter name.
38704         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
38705         parentheses around reference to macro parameter.
38707 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
38709         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
38710         prototype.
38711         (ctype_startup): Use uint32_t in cast and sizeof for
38712         ctype->charnames.
38714 2013-09-11  Jia Liu  <proljc@gmail.com>
38716         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
38717         __daddr_t_defined.
38718         [__FreeBSD__]: Likewise.
38720 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
38722         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38723         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
38724         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
38725         (strchr): Remove __strchr_sse42 ifunc selection.
38726         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
38727         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
38729 2013-09-11  Will Newton  <will.newton@linaro.org>
38731         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
38732         parameter to RES. Remove hardcoded 1000 value.
38733         * benchtests/bench-skeleton.c (main): Pass RES parameter
38734         to TIMING_INIT and multiply result by 1000.
38736 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38738         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38740 2013-09-11  Andreas Schwab  <schwab@suse.de>
38742         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
38743         if not defined.
38744         (O_TMPFILE) [__USE_GNU]: Define.
38745         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
38746         Define.
38748 2013-09-11  Will Newton  <will.newton@linaro.org>
38750         [BZ #15857]
38751         * malloc/malloc.c (__libc_memalign): Check the value of bytes
38752         does not overflow.
38754 2013-09-11  Will Newton  <will.newton@linaro.org>
38756         [BZ #15856]
38757         * malloc/malloc.c (__libc_valloc): Check the value of bytes
38758         does not overflow.
38760 2013-09-11  Will Newton  <will.newton@linaro.org>
38762         [BZ #15855]
38763         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
38764         does not overflow.
38766 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
38768         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
38769         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38770         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38771         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38772         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38774 2013-09-10  Allan McRae  <allan@archlinux.org>
38776         [BZ #15748]
38777         * manual/arith.texi (Parsing of Floats): Clarify
38778         cross-reference.
38780         [BZ #15849]
38781         * manual/install.texi (Running make install): Mention
38782         --enable-pt-chown.
38783         * INSTALL: Regenerated.
38785 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
38787         * csu/init-first.c (_init): Remove the !SHARED condition around
38788         FPU control word initialization.
38789         * elf/dl-support.c (_dl_fpu_control): New variable.
38790         (_dl_aux_init) <AT_FPUCW>: Initialize it.
38791         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
38792         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
38793         * math/test-fpucw-static.c: New file.
38794         * math/test-fpucw-ieee.c: New file.
38795         * math/test-fpucw-ieee-static.c: New file.
38796         * math/Makefile (tests): Add `test-fpucw-ieee' and
38797         `$(tests-static)'.
38798         (tests-static): New variable.
38799         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
38800         dependency to...
38801         [($(build-shared),yes)]
38802         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38803         ... this.
38804         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
38805         New dependency.
38807 2013-09-09  Allan McRae  <allan@archlinux.org>
38809         [BZ #15939]
38810         * manual/string.texi (Collation Functions): Fix typo in
38811         strcoll example.
38812         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
38814         [BZ #15893]
38815         * stdlib/isomac.c (get_null_defines): Fix memory leak.
38817         [BZ #15892]
38818         * libio/memstream.c (open_memstream): Fix memory leak.
38819         * libio/wmemstream.c (open_wmemstream): Likewise.
38821         [BZ #15895]
38822         * nscd/netgroupcache.c: Fix nesting of ifdefs.
38824 2013-09-09  Will Newton  <will.newton@linaro.org>
38826         * malloc/Makefile: Add tst-realloc to tests.
38827         * malloc/tst-realloc.c: New file.
38829 2013-09-09  Allan McRae  <allan@archlinux.org>
38831         [BZ #15844]
38832         * COPYING: Update from GNU website to fix FSF address.
38833         * COPYING.LIB: Likewise.
38835 2013-09-06  David S. Miller  <davem@davemloft.net>
38837         * po/zh_TW.po: Update Chinese (traditional) translation from
38838         translation project.
38840 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
38841             Joseph Myers  <joseph@codesourcery.com>
38843         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
38844         "localeinfo.h".
38845         (obstack_chunk_alloc): New macro.
38846         (obstack_chunk_free): Likewise.
38847         (record_offset): New function.
38848         (init_locale_data): Likewise.
38849         (align_locale_data): Likewise.
38850         (add_locale_empty): Likewise.
38851         (add_locale_raw_data): Likewise.
38852         (add_locale_raw_obstack): Likewise.
38853         (add_locale_string): Likewise.
38854         (add_locale_wstring): Likewise.
38855         (add_locale_uint32): Likewise.
38856         (add_locale_uint32_array): Likewise.
38857         (add_locale_char): Likewise.
38858         (start_locale_structure): Likewise.
38859         (end_locale_structure): Likewise.
38860         (start_locale_prelude): Likewise.
38861         (end_locale_prelude): Likewise.
38862         (write_locale_data): Take locale_file structure rather than an
38863         iovec.
38864         * locale/programs/locfile.h: Include "obstack.h".
38865         (struct locale_file): Change to store locale file contents instead
38866         of header.
38867         (init_locale_data): New prototype.
38868         (align_locale_data): Likewise.
38869         (add_locale_empty): Likewise.
38870         (add_locale_raw_data): Likewise.
38871         (add_locale_raw_obstack): Likewise.
38872         (add_locale_string): Likewise.
38873         (add_locale_wstring): Likewise.
38874         (add_locale_uint32): Likewise.
38875         (add_locale_uint32_array): Likewise.
38876         (add_locale_char): Likewise.
38877         (start_locale_structure): Likewise.
38878         (end_locale_structure): Likewise.
38879         (start_locale_prelude): Likewise.
38880         (end_locale_prelude): Likewise.
38881         (write_locale_data): Update prototype.
38882         * locale/programs/3level.h (struct TABLE): Remove result field.
38883         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
38884         Use new locale_file interface.
38885         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
38886         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
38887         * locale/programs/ld-address.c (address_output): Use new
38888         locale_file interface.
38889         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
38890         NO_ADD_LOCALE.
38891         (collate_finish): Don't call collseq_table_finalize.
38892         (collate_output): Use new locale_file interface.
38893         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
38894         in file.
38895         (NO_FINALIZE): Change to NO_ADD_LOCALE.
38896         (TABLE): Move defines earlier in file.
38897         (ELEMENT): Likewise.
38898         (DEFAULT): Likewise.
38899         (wctrans_table_add): Move macro and inline function earlier in
38900         file.
38901         (struct wctype_table): Move type earlier in file.
38902         (add_locale_wctype_table): New static prototype.
38903         (struct locale_ctype_t): Use logical types instead of struct iovec
38904         pointers for members.
38905         (ctype_output): Use new locale_file interface.
38906         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
38907         new locale_file interface.
38908         (allocate_arrays): Update for use of new locale_file interface.
38909         * locale/programs/ld-identification.c (identification_output): Use
38910         new locale_file interface.
38911         * locale/programs/ld-measurement.c (measurement_output): Likewise.
38912         * locale/programs/ld-messages.c (messages_output): Likewise.
38913         * locale/programs/ld-monetary.c (monetary_output): Likewise.
38914         * locale/programs/ld-name.c (name_output): Likewise.
38915         * locale/programs/ld-numeric.c (numeric_output): Likewise.
38916         * locale/programs/ld-paper.c (paper_output): Likewise.
38917         * locale/programs/ld-telephone.c (telephone_output): Likewise.
38918         * locale/programs/ld-time.c (time_output): Likewise.
38920 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38922         * benchtests/Makefile: Add memrchr benchmark.
38923         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
38924         benchmark as memrchr.
38925         * benchtests/bench-memrchr-ifunc.c: New file.
38926         * benchtests/bench-memrchr.c: New file.
38928 2013-09-06   Will Newton  <will.newton@linaro.org>
38930         * benchtests/Makefile (string-bench): Add memcpy.
38932 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
38933             Cong Wang  <amwang@redhat.com>
38935         [BZ #15850]
38936         * sysdeps/unix/sysv/linux/bits/in.h
38937         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
38938         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
38939         before __USE_KERNEL_IPV6_DEFS uses.
38940         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
38941         IPPROTO_BEETPH.
38942         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
38943         sockaddr_in6, or ipv6_mreq.
38945 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38947         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
38948         memory access for final bytes in some large inputs.
38949         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
38951 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38953         * string/test-memrchr.c: New file.
38954         * string/test-memrchr-ifunc.c: New file.
38955         * string/Makefile: Add new memrchr testcase.
38957 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
38959         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
38960         fanotify_init returns EPERM.
38962 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
38964         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
38965         errors.
38966         (top level): Treat second token from macro or constant entries for
38967         allowed headers as allowed.
38968         * include/complex.h: Condition internal declarations on
38969         [!_ISOMAC].
38970         * include/fenv.h: Condition include of <stdbool.h> and internal
38971         declarations on [!_ISOMAC].
38973 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
38975         [BZ #15923]
38976         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
38978 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
38980         * configure.in (--enable-versioning): Remove configure option.
38981         (libc_cv_asm_symver_directive): Remove configure test.
38982         (libc_cv_ld_version_script_option): Likewise.
38983         (VERSIONING): Remove variable and AC_SUBST.
38984         (DO_VERSIONING): Remove AC_DEFINE.
38985         * configure: Regenerated.
38986         * config.h.in (DO_VERSIONING): Remove macro.
38987         * Makerules [$(versioning) = yes]: Change conditionals to
38988         [$(build-shared) = yes].
38989         * config.make.in (versioning): Remove variable.
38990         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
38991         [$(build-shared) = yes].
38992         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
38993         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
38994         * elf/Makefile [$(versioning) = yes]: Change conditionals to
38995         [$(build-shared) = yes].
38996         * extra-lib.mk [$(versioning) = yes]: Likewise.
38997         * hurd/Makefile [$(versioning) = yes]: Likewise.
38998         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
38999         [SHARED].
39000         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
39001         [SHARED].
39002         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39003         [SHARED && !NO_HIDDEN].
39004         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
39005         [SHARED].
39006         [SHARED && DO_VERSIONING]: Likewise..
39007         * libio/Makefile [$(versioning) = yes]: Change conditionals to
39008         [$(build-shared) = yes].
39009         * manual/install.texi (--disable-versioning): Remove
39010         documentation.
39011         * INSTALL: Regenerated.
39012         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
39013         to [SHARED].
39014         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
39015         [$(build-shared) = yes].
39016         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
39017         * sysdeps/i386/i686/multiarch/strstr-c.c
39018         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39019         [SHARED && !NO_HIDDEN].
39020         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
39021         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
39022         * sysdeps/powerpc/powerpc32/dl-machine.c
39023         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
39024         * sysdeps/powerpc/powerpc32/sysdep.h
39025         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
39026         to [SHARED && PIC && !NO_HIDDEN].
39027         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
39028         conditional to [SHARED].
39030 2013-09-04   Will Newton  <will.newton@linaro.org>
39032         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
39033         * benchtests/bench-string.h: Include bench-timing.h instead
39034         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
39035         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
39036         call to HP_TIMING_DIFF_INIT.
39037         * benchtests/bench-memccpy.c: Use bench-timing.h macros
39038         instead of hp-timing.h macros.
39039         * benchtests/bench-memchr.c: Likewise.
39040         * benchtests/bench-memcmp.c: Likewise.
39041         * benchtests/bench-memcpy.c: Likewise.
39042         * benchtests/bench-memmem.c: Likewise.
39043         * benchtests/bench-memmove.c: Likewise.
39044         * benchtests/bench-memset.c: Likewise.
39045         * benchtests/bench-rawmemchr.c: Likewise.
39046         * benchtests/bench-strcasecmp.c: Likewise.
39047         * benchtests/bench-strcasestr.c: Likewise.
39048         * benchtests/bench-strcat.c: Likewise.
39049         * benchtests/bench-strchr.c: Likewise.
39050         * benchtests/bench-strcmp.c: Likewise.
39051         * benchtests/bench-strcpy.c: Likewise.
39052         * benchtests/bench-strcpy_chk.c: Likewise.
39053         * benchtests/bench-strlen.c: Likewise.
39054         * benchtests/bench-strncasecmp.c: Likewise.
39055         * benchtests/bench-strncat.c: Likewise.
39056         * benchtests/bench-strncmp.c: Likewise.
39057         * benchtests/bench-strncpy.c: Likewise.
39058         * benchtests/bench-strnlen.c: Likewise.
39059         * benchtests/bench-strpbrk.c: Likewise.
39060         * benchtests/bench-strrchr.c: Likewise.
39061         * benchtests/bench-strspn.c: Likewise.
39062         * benchtests/bench-strstr.c: Likewise.
39064 2013-09-04  Will Newton  <will.newton@linaro.org>
39066         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
39068 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
39070         [BZ #15427]
39071         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
39072         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
39073         * math/libm-test.inc (lgamma_test_data): Add more tests.
39074         * sysdeps/i386/fpu/libm-test-ulps: Update.
39075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39077 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
39079         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
39080         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39081         Add ifunc.
39082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39083         Add strcmp-sse2-unaligned
39084         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
39086 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39088         * Versions.def (libc): Add GLIBC_2.19.
39090 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39092         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
39093         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
39095 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
39097         [BZ #14155]
39098         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
39099         intermediate calculations in recurrence.
39100         (__ieee754_ynf): Likewise.
39101         * math/libm-test.inc (jn_test_data): Do not allow spurious
39102         underflow exception.  Add more tests.
39103         (yn_test_data): Add more tests.
39104         * sysdeps/i386/fpu/libm-test-ulps: Update.
39105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39107 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
39109         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
39111 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39113         * csu/init-first.c: Fix then/than typos.
39114         * locale/programs/ld-collate.c: Likewise.
39115         * locale/programs/linereader.h: Likewise.
39116         * manual/charset.texi: Likewise.
39117         * manual/filesys.texi: Likewise.
39118         * manual/stdio.texi: Likewise.
39119         * manual/string.texi: Likewise.
39120         * stdlib/fmtmsg.c: Likewise.
39121         * sysdeps/i386/stpncpy.S: Likewise.
39122         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39123         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39124         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39125         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39127 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39129         * elf/dl-open.c: Fix typos.
39130         * iconvdata/gbbig5.c: Likewise.
39131         * iconvdata/iso-2022-jp.c: Likewise.
39132         * iconv/gconv_int.h: Likewise.
39133         * iconv/loop.c: Likewise.
39134         * nis/rpcsvc/nis.h: Likewise.
39135         * resolv/ns_name.c: Likewise.
39136         * stdio-common/vfscanf.c: Likewise.
39137         * streams/stropts.h: Likewise.
39138         * sunrpc/rpc_thread.c: Likewise.
39139         * sysdeps/i386/strpbrk.S: Likewise.
39140         * sysdeps/ieee754/k_standard.c: Likewise.
39141         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39142         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39143         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
39144         * sysdeps/mach/hurd/profil.c: Likewise.
39145         * sysdeps/s390/dl-procinfo.h: Likewise.
39146         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
39147         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39148         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
39149         * sysdeps/x86_64/dl-trampoline.S: Likewise.
39150         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39152 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
39154         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
39155         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
39157 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
39159         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
39160         aix specific files.
39161         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
39162         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
39163         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
39164         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
39165         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
39166         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
39167         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
39168         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
39170 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39171             Roland McGrath  <roland@hack.frob.com>
39173         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
39174         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
39176 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39178         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
39179         __executable_start symbol instead of _start.
39181 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39183         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
39184         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
39185         Move macros to...
39186         * sysdeps/gnu/ldsodefs.h: ... this new file.
39188         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
39189         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
39190         instead of ELFOSABI_LINUX.
39192         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
39193         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
39194         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
39195         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
39196         Likewise.
39197         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
39198         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
39199         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
39200         Likewise.
39201         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39202         (ibm_extended_long_double): Add ieee_nan member.
39203         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
39204         (do_test): New function.
39206         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
39207         TEST_TRUNC.
39208         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
39209         functions, renamed from truncdfsf_test, trunctfsf_test,
39210         trunctfdf_test.
39211         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
39212         functions.
39213         (do_test): Run all these.
39215 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
39217         * argp/argp-help.c: Fix typos.
39218         * argp/argp-parse.c: Likewise.
39219         * debug/backtracesyms.c: Likewise.
39220         * elf/elf.h: Likewise.
39221         * malloc/malloc.c: Likewise.
39222         * nis/nis_print.c: Likewise.
39223         * resolv/res_comp.c: Likewise.
39224         * stdlib/stdlib.h: Likewise.
39225         * sunrpc/clnt_tcp.c: Likewise.
39226         * sunrpc/clnt_udp.c: Likewise.
39227         * sunrpc/clnt_unix.c: Likewise.
39228         * sysdeps/unix/bsd/ptsname.c: Likewise.
39229         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
39230         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
39231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
39232         Likewise.
39233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
39234         Likewise.
39235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
39236         Likewise.
39237         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39239 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39241         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
39242         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39244 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
39246         [BZ #15897]
39247         * dlfcn/Makefile (tests): Add bug-dl-leaf.
39248         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
39249         ($(objpfx)bug-dl-leaf): New rule.
39250         ($(objpfx)bug-dl-leaf.so): Likewise.
39251         ($(objpfx)bug-dl-leaf.out): Likewise.
39252         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
39253         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
39254         * dlfcn/bug-dl-leaf.c: New test.
39255         * dlfcn/bug-dl-leaf-lib.c: Likewise.
39256         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
39257         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
39258         (dlclose): Likewise.
39259         (dlmopen): Likewise.
39261 2013-08-27  Roland McGrath  <roland@hack.frob.com>
39263         * include/netdb.h [!_ISOMAC]:
39264         Don't include <tls.h>.
39265         (h_errno, __libc_h_errno): Move declaration and macros out of
39266         [_LIBC_REENTRANT].
39268         * include/resolv.h [_RESOLV_H_]:
39269         Don't include <tls.h>.
39270         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
39271         * resolv/res_libc.c: Don't include <tls.h>.
39272         (_res): Use __attribute__ ((nocommon)) in place of
39273         __attribute__ ((section (".bss"))).
39275         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
39276         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
39278         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
39280         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
39281         only under [SIOCGIFCONF && SIOCGIFNETMASK].
39283         * resolv/res_mkquery.c: Include <sys/time.h>.
39285         * inet/ifreq.c: Moved to ...
39286         * sysdeps/unix/ifreq.c: ... here.
39287         * inet/ifreq.c: New file, true stub version.
39289         * socket/sa_len.c: New file.
39290         * socket/Makefile (aux): Add it.
39291         * sysdeps/unix/sysv/linux/Makefile
39292         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
39293         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
39294         and #include <socket/sa_len.c>.
39295         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
39296         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
39298         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
39299         * bits/socket.h: ... here.
39301         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
39302         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
39303         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
39305 2013-08-27  Andreas Schwab  <schwab@suse.de>
39307         [BZ #15736]
39308         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
39309         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
39310         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
39311         * string/test-strcasecmp.c (test_main): Run tests in several
39312         locales.
39313         * string/test-strncasecmp.c (test_main): Likewise.
39315         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
39316         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
39317         to __strcasecmp_nonascii and __strncasecmp_nonascii.
39318         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
39319         (__strncasecmp_ssse3) [PIC]: Likewise.
39321 2013-08-26  Roland McGrath  <roland@hack.frob.com>
39323         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
39325         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
39326         instead of explicitly declaring xdecrypt.
39327         * nis/nss_nis/nis-publickey.c: Likewise.
39329 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39331         [BZ #15890]
39332         * nscd/aicache.c: Include res_hconf.h.
39333         (addhstaiX): Initialize res_hconf.
39335 2013-08-26  Andreas Schwab  <schwab@suse.de>
39337         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
39338         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
39340 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39342         * nscd/aicache.c (addhstaiX): Fix indentation.
39344 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
39346         * configure.ac: Quote $build_pt_chown test.
39347         * configure: Regenerated.
39349 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
39351         [BZ #15532]
39352         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
39353         * math/s_cexpf.c (__cexpf): Likewise.
39354         * math/s_cexpl.c (__cexpl): Likewise.
39355         * math/libm-test.inc (cexp_test_data): Correct expected return
39356         value for NaN + i0.  Add another test.
39358 2013-08-22  David S. Miller  <davem@davemloft.net>
39360         * po/ca.po: Update Catalan translation from translation project.
39361         * po/uk.po: Add Ukrainian translations from translation project.
39363 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
39365         [BZ #15797]
39366         * math/s_fdim.c (__fdim): Check for infinite arguments if result
39367         is infinite, not alongside NaN test.
39368         * math/s_fdimf.c (__fdimf): Likewise.
39369         * math/s_fdiml.c (__fdiml): Likewise.
39370         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
39371         errno is unchanged.
39373 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
39375         * argp/argp-help.c: Fix typos.
39376         * crypt/speeds.c: Likewise.
39377         * csu/check_fds.c: Likewise.
39378         * elf/dl-load.c: Likewise.
39379         * elf/dl-open.c: Likewise.
39380         * elf/reldep3.c: Likewise.
39381         * elf/reldep.c: Likewise.
39382         * elf/sprof.c: Likewise.
39383         * iconv/iconv_charmap.c: Likewise.
39384         * iconv/skeleton.c: Likewise.
39385         * iconv/strtab.c: Likewise.
39386         * io/lockf64.c: Likewise.
39387         * libio/libioP.h: Likewise.
39388         * resolv/gai_notify.c: Likewise.
39389         * resolv/ns_name.c: Likewise.
39390         * resolv/ns_samedomain.c: Likewise.
39391         * resolv/res_send.c: Likewise.
39392         * stdlib/random.c: Likewise.
39393         * sunrpc/rpc/xdr.h: Likewise.
39394         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
39395         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39396         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39397         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39398         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39399         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39400         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39401         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39402         * sysdeps/mach/hurd/check_fds.c: Likewise.
39403         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39404         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39405         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39406         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39407         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39408         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39409         * sysdeps/pthread/aio_notify.c: Likewise.
39410         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
39411         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
39412         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
39413         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39414         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39416 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39418         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
39419         version if bit_Slow_SSE4_2 is set.
39420         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39421         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39423 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39425         [BZ #15867]
39426         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
39427         trampoline stack frame information.
39428         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
39429         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
39430         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
39431         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
39432         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
39433         * sysdeps/unix/sysv/linux/powerpc/init-first.c
39434         (_libc_vdso_platform_setup): Initialize the signal trampolines.
39435         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
39436         sa_flags value.
39437         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
39438         interrupting a syscall and set with option SA_SIGINFO.
39440 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39442         [BZ #15531]
39443         * math/s_cproj.c (__cproj): Only return an infinity if one part of
39444         argument is infinite.
39445         * math/s_cprojf.c (__cprojf): Likewise.
39446         * math/s_cprojl.c (__cprojl): Likewise.
39447         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
39448         * math/libm-test.inc (cproj_test_data): Add more tests.
39450         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
39452         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
39453         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
39454         size.  Use __ffs to determine corresponding shift.
39456 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39457             Roland McGrath  <roland@hack.frob.com>
39459         * Makefile (INSTALL): Remove trailing blank lines from output of
39460         makeinfo.
39462 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39464         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
39465         Align 32 bit compat elf_greg to 8 bytes.
39467 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
39469         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
39471 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39473         * string/strcoll_l.c (coll_seq): New structure.
39474         (get_next_seq_cached): New function.
39475         (get_next_seq): New function.
39476         (do_compare): New function.
39477         (STRCOLL): Use GNU style definition.  Simplify implementation
39478         by using get_next_seq, get_next_seq_cached and do_compare.
39480 2013-08-16  Florian Weimer  <fweimer@redhat.com>
39482         [BZ #14699]
39483         CVE-2013-4237
39484         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
39485         member.
39486         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
39487         member.
39488         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
39489         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
39490         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
39491         conditional.
39492         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
39493         GETDENTS_64BIT_ALIGNED.
39494         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39495         * manual/filesys.texi (Reading/Closing Directory): Document
39496         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
39497         strongly.
39498         * manual/conf.texi (Limits for Files): Add portability note to
39499         NAME_MAX, PATH_MAX.
39500         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
39502 2013-08-13  Andreas Schwab  <schwab@suse.de>
39504         [BZ #15749]
39505         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
39506         of fabs.
39507         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
39508         LDBL_MAX_EXP >= 16384]: Add tests for it.
39510 2013-08-12  David S. Miller  <davem@davemloft.net>
39512         * version.h (RELEASE): Set to "development".
39513         (VERSION): Set to "2.18.90".
39514         * NEWS: Add 2.19 section.
39516 2013-08-03  David S. Miller  <davem@davemloft.net>
39518         * po/ko.po: Update Korean translation from translation project.
39520 2013-08-01  David S. Miller  <davem@davemloft.net>
39522         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
39523         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
39524         Bilka.
39526 2013-07-30  David S. Miller  <davem@davemloft.net>
39528         * po/fr.po: Update French translation from translation project.
39530 2013-07-28  David S. Miller  <davem@davemloft.net>
39532         * po/cs.po: Update Czech translation from translation project.
39534         * po/sv.po: Update Swedish translation from translation project.
39536 2013-07-27  David S. Miller  <davem@davemloft.net>
39538         * po/eo.po: Update Esperanto translation from translation project.
39540         * po/vi.po: Update Vietnamese translation from translation project.
39542         * po/de.po: Update German translation from translation project.
39544 2013-07-26  David S. Miller  <davem@davemloft.net>
39546         * po/bg.po: Update Bulgarian translation from translation project.
39548         * po/nl.po: Update Dutch translation from translation project.
39549         * po/pl.po: Update Polish translation from translation project.
39550         * po/ru.po: Update Russian translation from translation project.
39552 2013-07-24  David S. Miller  <davem@davemloft.net>
39554         * po/libc.pot: Update.
39556 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39558         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
39559         variable page size.
39560         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
39561         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
39562         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
39564 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39566         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
39568 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39569             Andreas Schwab  <schwab@suse.de>
39570             Roland McGrath  <roland@hack.frob.com>
39571             Joseph Myers  <joseph@codesourcery.com>
39572             Carlos O'Donell  <carlos@redhat.com>
39574         [BZ #15755]
39575         * config.h.in: Define HAVE_PT_CHOWN.
39576         * config.make.in (build-pt-chown): New variable.
39577         * configure.in (--enable-pt_chown): New configure option.
39578         * configure: Regenerate.
39579         * login/Makefile: Include Makeconfig.  Build pt_chown only if
39580         build-pt-chown is enabled.
39581         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
39582         pt_chown to fix pty ownership.
39583         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
39584         CLOSE_ALL_FDS.
39585         * manual/install.texi (Configuring and compiling): Mention
39586         --enable-pt_chown. Add @findex for grantpt.
39587         * INSTALL: Regenerate.
39589 2013-07-20  David S. Miller  <davem@davemloft.net>
39591         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
39592         difference between 32-bit and 64-bit.
39594 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
39596         [BZ #15711]
39597         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
39598         Avoid system header dependency with -ffreestanding.
39599         ($(objpfx)bits/syscall%d): Likewise.
39601 2013-07-13  David S. Miller  <davem@davemloft.net>
39603         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
39604         underflows from atanl/atan2l due to bug 15319.
39605         (casinh_test_data): Likewise.
39607 2013-07-07  David S. Miller  <davem@davemloft.net>
39609         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
39611 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
39613         * sysdeps/i386/fpu/libm-test-ulps: Update.
39614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39616 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39618         * configure.in (--enable-lock-elision): Fix message text.
39619         * INSTALL: Regenerate.
39620         * configure: Regenerate.
39622 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39626 2013-07-03  Andreas Jaeger  <aj@suse.de>
39628         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
39629         define.
39630         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
39631         (ptrace_peeksiginfo_args): Add.
39632         (__ptrace_peeksiginfo_flags): Add.
39633         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39634         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39635         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39637 2013-07-03  Allan McRae  <allan@archlinux.org>
39639         * sysdeps/i386/fpu/libm-test-ulps: Update.
39641 2013-07-02  David S. Miller  <davem@davemloft.net>
39643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39645 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
39647         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39649 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
39651         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39654 2013-07-02  Andi Kleen <ak@linux.intel.com>
39656         * config.h.in (ENABLE_LOCK_ELISION): Add.
39657         * configure.in (--enable-lock-elision): Add option.
39658         * manual/install.texi: Document --enable lock elision.
39659         * configure: Regenerate
39660         * INSTALL: Regenerate.
39662 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
39664         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
39665         SSE4.2 strcasecmp for libc.a.
39666         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39668 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
39670         [BZ #13304]
39671         * soft-fp/op-common.h (_FP_FMA): New macro.
39672         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
39673         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
39674         (_FP_MUL_MEAT_1_imm): ... here.
39675         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
39676         (_FP_MUL_MEAT_1_wide): ... here.
39677         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
39678         (_FP_MUL_MEAT_1_hard): ... here.
39679         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
39680         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
39681         (_FP_MUL_MEAT_2_wide): ... here.
39682         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
39683         (_FP_MUL_MEAT_2_wide_3mul): ... here.
39684         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
39685         (_FP_MUL_MEAT_2_gmp): ... here.
39686         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
39687         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
39688         (_FP_MUL_MEAT_4_wide): ... here.
39689         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
39690         (_FP_MUL_MEAT_4_gmp): ... here.
39691         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
39692         (_FP_WFRACBITS_DW_S): Likewise.
39693         (_FP_WFRACXBITS_DW_S): Likewise.
39694         (_FP_HIGHBIT_DW_S): Likewise.
39695         (FP_FMA_S): Likewise.
39696         (_FP_FRAC_HIGH_DW_S): Likewise.
39697         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
39698         (_FP_WFRACBITS_DW_D): Likewise.
39699         (_FP_WFRACXBITS_DW_D): Likewise.
39700         (_FP_HIGHBIT_DW_D): Likewise.
39701         (FP_FMA_D): Likewise.
39702         (_FP_FRAC_HIGH_DW_D): Likewise.
39703         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
39704         (_FP_WFRACBITS_DW_E): Likewise.
39705         (_FP_WFRACXBITS_DW_E): Likewise.
39706         (_FP_HIGHBIT_DW_E): Likewise.
39707         (FP_FMA_E): Likewise.
39708         (_FP_FRAC_HIGH_DW_E): Likewise.
39709         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
39710         (_FP_WFRACBITS_DW_Q): Likewise.
39711         (_FP_WFRACXBITS_DW_Q): Likewise.
39712         (_FP_HIGHBIT_DW_Q): Likewise.
39713         (FP_FMA_Q): Likewise.
39714         (_FP_FRAC_HIGH_DW_Q): Likewise.
39715         * soft-fp/fmasf4.c: New file.
39716         * soft-fp/fmadf4.c: Likewise.
39717         * soft-fp/fmatf4.c: Likewise.
39719 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39721         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39722         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
39723         Silvermont.
39724         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
39725         macro.
39726         (index_Slow_SSE4_2): Likewise.
39727         (index_Prefer_PMINUB_for_stringop): Likewise.
39728         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
39729         bit_Slow_SSE4_2 is set.
39730         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39731         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39733 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39735         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
39736         rtld_global._dl_hwcap2.
39737         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
39738         POWER8.
39739         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
39740         POWER8 feature descriptions defined in _dl_hwcap2.
39741         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
39742         string handling for POWER8 feature bits.
39743         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
39744         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
39745         _dl_powerpc_cap_flags.
39746         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
39747         * sysdeps/powerpc/rtld-global-offsets.sym
39748         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
39749         _dl_hwcap2 in the rtld_global_ro structure.
39751 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39753         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
39754         hardware capabilities in support of AT_HWCAP2.
39755         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
39756         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
39757         GLRO(dl_hwcap2).
39758         (_dl_show_auxv): Add support for calling _dl_procinfo to display
39759         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
39760         explicitly the unknown a_type display mechanism is used.
39761         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
39762         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
39763         struct member.
39764         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
39765         to macro prototype for AT_HWCAP2 support.
39766         * sysdeps/i386/dl-procinfo.h: Likewise.
39767         * sysdeps/s390/dl-procinfo.h: Likewise.
39768         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
39769         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
39770         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
39771         return -1 for unknown a_type display fallback.
39772         * sysdeps/sparc/dl-procinfo.h: Likewise.
39773         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
39774         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
39776 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
39778         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
39779         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
39781 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
39783         [BZ #12492]
39784         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
39785         mprotect making __stack_prot writable.
39787 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
39788             Joseph Myers  <joseph@codesourcery.com>
39790         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
39791         as being properly aligned.
39793 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
39795         * dlfcn/modstatic5.c: New file.
39796         * dlfcn/tststatic5.c: New file.
39797         * dlfcn/Makefile (tests): Add tststatic5.
39798         (tests-static): Likewise.
39799         (modules-names): Add modstatic5.
39800         (tststatic5-ENV): New variable.
39801         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
39803         [BZ #15022]
39804         * elf/dl-support.c (_dl_main_map): New variable.
39805         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
39806         (_dl_nns, _dl_load_adds): Set to 1.
39807         (_dl_initial_searchlist): Refer to _dl_main_map.
39808         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
39809         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
39810         call to _dl_get_origin.
39811         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
39812         around call_map.
39813         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
39814         * dlfcn/modstatic3.c: New file.
39815         * dlfcn/tststatic3.c: New file.
39816         * dlfcn/tststatic4.c: New file.
39817         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
39818         (tests-static): Likewise.
39819         (modules-names): Add modstatic3.
39820         (tststatic3-ENV, tststatic4-ENV): New variables.
39821         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
39822         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
39824 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
39826         * configure.in (CC): Require GCC version 4.4 or later.
39827         * configure: Regenerated.
39828         * manual/install.texi (Tools for Compilation): Update GCC version
39829         requirement.
39830         * INSTALL: Regenerated.
39832 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39834         [BZ #15674]
39835         * string/test-memcmp.c (check2): New.
39836         (main): Call check2.
39838         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
39840 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
39842         [BZ #15022]
39843         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
39844         over to...
39845         (dl_open_worker) [!SHARED]: ... here.
39847 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39849         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
39851 2013-06-25  Richard Henderson  <rth@redhat.com>
39853         * locale/programs/locarchive.c: Include <libc-internal.h>
39855 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
39857         * manual/texinfo.tex: Update to version 2013-06-21.17, with
39858         trailing whitespace removed.
39860 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
39862         [BZ #10283]
39863         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
39864         * locale/programs/locarchive.c: Include libc-mmap.h.
39865         (prepare_address_space): Take two new outputs (the mmap base and len).
39866         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
39867         values.
39868         (create_archive): Declare new mmap base and len values for
39869         prepare_address_space, and store the result in ah.
39870         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
39871         (enlarge_archive): If ah->mmap_base is not NULL, use that and
39872         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
39873         Declare new mmap base and len values for
39874         prepare_address_space, and store the result in new_ah.
39875         (open_archive): Declare new mmap base and len values for
39876         prepare_address_space, and store the result in ah.
39877         (close_archive): If ah->mmap_base is not NULL, use that and
39878         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
39879         * sysdeps/generic/libc-mmap.h: New file.
39881 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
39883         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
39884         (ALIGN_UP): Likewise.
39885         (PTR_ALIGN_DOWN): Likewise.
39886         (PTR_ALIGN_UP): Likewise.
39888 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39890         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
39891         entry mapped to PPC_PLATFORM_POWER8.
39892         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
39893         POWER8.
39894         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
39895         (_dl_string_platform): Add case for exporting platform position for
39896         POWER8.
39897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
39898         search path to sysdeps/powerpc/powerpc32/power8 directory.
39899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
39900         search path to sysdeps/powerpc/powerpc64/power8 directory.
39901         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
39902         power7 directories.
39903         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
39904         power7 directories.
39906 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39908         * INSTALL: Regenerate.
39910         * nscd/connections.c (nscd_init): Fix comment.
39912 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
39914         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
39916         [BZ #15667]
39917         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
39918         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
39920 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
39922         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
39923         DL_DST_REQ_STATIC.
39924         (DL_DST_REQ_STATIC): Remove macro.
39926 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
39928         [BZ #7006]
39929         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
39930         with a shift of 0 bits.
39932 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
39934         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
39935         $(tststatic-ENV).
39937 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39939         [BZ #15655]
39940         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
39942 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39944         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
39945         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
39946         accepts -fno-tree-loop-distribute-patterns.
39947         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
39948         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
39949         recursive call.
39950         * string/memset.c (memset): Likewise.
39951         * string/test-memmove.c (simple_memmove): Disable loop transformation
39952         to library calls.
39953         * string/test-memset.c (simple_memset): Likewise.
39954         * benchtests/bench-memmove.c (simple_memmove): Likewise.
39955         * benchtests/bench-memset.c (simple_memset): Likewise.
39956         * configure: Regenerated.
39958 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
39960         * math/test-misc.c (main): Ignore fesetround failure when failures
39961         of subsequent rounding tests would be ignored.
39963         [BZ #15654]
39964         * math/fedisblxcpt.c (fedisableexcept): Return 0.
39965         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
39966         * math/fegetenv.c (__fegetenv): Return 0.
39967         * math/fegetexcept.c (fegetexcept): Return 0.
39968         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
39969         FE_TONEAREST.
39970         * math/feholdexcpt.c (feholdexcept): Return 0.
39971         * math/fesetenv.c (__fesetenv): Return 0.
39972         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
39973         argument FE_TONEAREST.
39974         * math/feupdateenv.c (__feupdateenv): Return 0.
39975         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
39977 2013-06-18  Roland McGrath  <roland@hack.frob.com>
39979         * elf/rtld-Rules (rtld-compile-command.S): New variable.
39980         (rtld-compile-command.s, rtld-compile-command.c): New variables.
39981         ($(objpfx)rtld-%.os rules): Use them.
39983 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39985         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
39986         fields.
39988 2013-06-17  Roland McGrath  <roland@hack.frob.com>
39990         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
39991         length of target pattern, then descending length of dependency pattern.
39992         * configure.in (AWK): Require gawk 3.1.2 or newer.
39993         * manual/install.texi (Tools for Compilation): Say that we do.
39994         * configure: Regenerated.
39996         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
39997         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
39998         * scripts/sysd-rules.awk: ... this new script.
39999         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
40000         than a glob-style pattern.
40002 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
40004         * math/test-misc.c (main): Do not treat incorrectly rounded
40005         conversions as failure unless ROUNDING_TESTS passes.
40007 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
40009         [BZ #15631]
40010         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
40011         restore exception state around main square root computation, then
40012         check for inexactness explicitly.
40014         * math/libm-test.inc (fma_test_data): Add another test.
40016 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40018         * manual/threads.texi (Non-POSIX Extensions): New document
40019         node.  Document pthread_getattr_default_np and
40020         pthread_setattr_default_np.
40022         * Versions.def (libpthread): Add GLIBC_2.18.
40023         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
40024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40025         Likewise.
40026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40027         Likewise.
40028         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40029         Likewise.
40030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40031         Likewise.
40032         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
40033         Likewise.
40034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40035         Likewise.
40036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40037         Likewise.
40038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40039         Likewise.
40040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40041         Likewise.
40043 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40045         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40046         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
40048 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40049             H.J. Lu  <hjl.tools@gmail.com>
40051         [BZ #15627]
40052         * sysdeps/x86_64/rtld-memset.c: Remove file.
40053         * sysdeps/x86_64/rtld-memset.S: New file.
40055 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
40057         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
40058         (test_in_one_mode): Take arguments for whether the rounding mode
40059         is supported for each floating-point type.
40060         (do_test): Pass new arguments to test_in_one_mode using
40061         ROUNDING_TESTS.
40063 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40065         * posix/tst-waitid.c (do_test): Distinguish different instances of
40066         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
40067         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
40068         before entering the kernel for waitpid.
40070 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40072         * NEWS: Fix note on clock function precision.  Text by Roland
40073         McGrath.
40075 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40077         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
40078         it into place only when and if the sanity check passes.
40080 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
40082         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
40083         output for whether conversion result is exact.  Take argument
40084         indicating whether type is IBM long double.
40085         (round_for_all): Change need_exact field to ibm_ld.
40086         * stdlib/tst-strtod-round.c (struct exactness): New type.
40087         (struct test): Change bool ld_ok field to struct exactness exact.
40088         (TEST): Update all definitions for change to field.
40089         (tests): Regenerate array contents.
40090         (test_in_one_mode): Take pointer to new field instead of old ld_ok
40091         field value.  Check for IBM long double here.
40092         (do_test): Update calls to test_in_one_mode.
40094 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40096         [BZ #12515]
40097         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
40098         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
40100 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40102         [BZ #15605]
40103         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
40104         generated by the compiler on loop optimizations.
40105         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
40106         general definitions.
40108 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
40110         * math/bug-nextafter.c: Include <math-tests.h>.
40111         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40112         the relevant type.
40113         * math/bug-nexttoward.c: Include <math-tests.h>.
40114         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40115         the relevant type.
40116         * math/test-misc.c: Include <math-tests.h>.
40117         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40118         the relevant type.
40120 2013-06-12  Andreas Jaeger  <aj@suse.de>
40122         * po/ia.po: Update Interlingua translation from translation
40123         project.
40125 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40127         * include/fenv.h: Include stdbool.h.
40128         (struct rm_ctx): New structure.
40129         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
40130         Define macro.
40131         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
40132         (SET_RESTORE_ROUNDF): Likewise.
40133         (SET_RESTORE_ROUNDL): Likewise.
40134         (SET_RESTORE_ROUND_NOEX): Likewise.
40135         (SET_RESTORE_ROUND_NOEXF): Likewise.
40136         (SET_RESTORE_ROUND_NOEXL): Likewise.
40137         (SET_RESTORE_ROUND_53BIT): Likewise.
40138         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
40139         (libc_feresetround_noexf_ctx): Likewise.
40140         (libc_feresetround_noexl_ctx): Likewise.
40141         (libc_feholdsetround_53bit_ctx): Likewise.
40142         (libc_feresetround_53bit_ctx): Likewise.
40143         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
40144         (libc_feholdexcept_setround_sse_ctx): New function.
40145         (libc_fesetenv_sse_ctx): Likewise.
40146         (libc_feupdateenv_sse_ctx): Likewise.
40147         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
40148         (libc_feholdexcept_setround_387_ctx): Likewise.
40149         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
40150         (libc_feholdsetround_387_prec_ctx): Likewise.
40151         (libc_feholdsetround_387_ctx): Likewise.
40152         (libc_feholdsetround_387_53bit_ctx): Likewise.
40153         (libc_feholdsetround_sse_ctx): Likewise.
40154         (libc_feresetround_sse_ctx): Likewise.
40155         (libc_feresetround_387_ctx): Likewise.
40156         (libc_feupdateenv_387_ctx): Likewise.
40157         (libc_feholdexcept_setroundf_ctx): Define macro.
40158         (libc_fesetenvf_ctx): Likewise.
40159         (libc_feupdateenvf_ctx): Likewise.
40160         (libc_feholdsetroundf_ctx): Likewise.
40161         (libc_feresetroundf_ctx): Likewise.
40162         (libc_feholdexcept_setround_ctx): Likewise.
40163         (libc_fesetenv_ctx): Likewise.
40164         (libc_feupdateenv_ctx): Likewise.
40165         (libc_feholdsetround_ctx): Likewise.
40166         (libc_feresetround_ctx): Likewise.
40167         (libc_feholdexcept_setroundl_ctx): Likewise.
40168         (libc_feupdateenvl_ctx): Likewise.
40169         (libc_feholdsetroundl_ctx): Likewise.
40170         (libc_feresetroundl_ctx): Likewise.
40171         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
40172         (libc_feresetround_53bit_ctx): Likewise.
40174 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40176         * locale/iso-639.def: Convert to UTF-8.
40178 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
40180         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
40181         (EXCEPTION_TESTS_double): Likewise.
40182         (EXCEPTION_TESTS_long_double): Likewise.
40183         (EXCEPTION_TESTS): Likewise.
40184         * math/libm-test.inc (test_exceptions): Only test exceptions if
40185         EXCEPTION_TESTS (FLOAT).
40187 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40189         * benchtests/Makefile (string-bench): Add strcpy_chk and
40190         stpcpy_chk.
40191         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
40192         * benchtests/bench-stpcpy_chk.c: New file.
40193         * benchtests/bench-strcpy_chk-ifunc.c: New file.
40194         * benchtests/bench-strcpy_chk.c: New file.
40195         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
40196         code.
40197         (do_test): Likewise.
40199 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40201         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
40202         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
40203         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
40204         with tabs where appropriate.
40205         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
40206         dl-procinfo.h.
40207         [PPC_PLATFORM_PPC440]: Likewise.
40208         [PPC_PLATFORM_PPC464]: Likewise.
40209         [PPC_PLATFORM_PPC476]: Likewise.
40210         (_dl_string_platform): Add support for detecting ppc405, ppc440,
40211         ppc464, and ppc476 platform strings merging from ports/
40212         dl-procinfo.h.
40214 2013-06-11  Andreas Schwab  <schwab@suse.de>
40216         [BZ #14991]
40217         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
40218         (from_ucs4_idx): Regenerate.
40219         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
40220         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
40221         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
40222         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
40223         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
40224         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
40225         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
40226         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
40227         from FROM_LOOP and TO_LOOP specific macros.
40228         (BODY): Handle combining characters.
40229         * iconvdata/BIG5HKSCS.irreversible: Update.
40230         * iconvdata/BIG5HKSCS.precomposed: New file.
40231         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
40232         characters.
40233         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
40235 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40237         * include/sys/time.h: Fix indentation and add copyright header.
40239         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
40240         (do_test): Likewise.
40241         * string/test-memchr.c (do_one_test): Likewise.
40242         (do_test): Likewise.
40243         * string/test-memcmp.c (do_one_test): Likewise.
40244         (do_test): Likewise.
40245         * string/test-memcpy.c (do_one_test): Likewise.
40246         (do_test): Likewise.
40247         * string/test-memmem.c (do_one_test): Likewise.
40248         (do_test): Likewise.
40249         (do_random_tests): Likewise.
40250         * string/test-memmove.c (do_one_test): Likewise.
40251         (do_test): Likewise.
40252         * string/test-memset.c (do_one_test): Likewise.
40253         (do_test): Likewise.
40254         * string/test-rawmemchr.c (do_one_test): Likewise.
40255         (do_test): Likewise.
40256         * string/test-strcasecmp.c (do_one_test): Likewise.
40257         (do_test): Likewise.
40258         * string/test-strcasestr.c (do_one_test): Likewise.
40259         (do_test): Likewise.
40260         * string/test-strcat.c (do_one_test): Likewise.
40261         (do_test): Likewise.
40262         * string/test-strchr.c (do_one_test): Likewise.
40263         (do_test): Likewise.
40264         * string/test-strcmp.c (do_one_test): Likewise.
40265         (do_test): Likewise.
40266         * string/test-strcpy.c (do_one_test): Likewise.
40267         (do_test): Likewise.
40268         * string/test-string.h: Likewise.
40269         (test_init): Likewise.
40270         * string/test-strlen.c (do_one_test): Likewise.
40271         (do_test): Likewise.
40272         * string/test-strncasecmp.c (do_one_test): Likewise.
40273         (do_test): Likewise.
40274         * string/test-strncat.c (do_one_test): Likewise.
40275         (do_test): Likewise.
40276         * string/test-strncmp.c (do_one_test): Likewise.
40277         (do_test_limit): Likewise.
40278         (do_test): Likewise.
40279         * string/test-strncpy.c (do_one_test): Likewise.
40280         (do_test): Likewise.
40281         * string/test-strnlen.c (do_one_test): Likewise.
40282         (do_test): Likewise.
40283         * string/test-strpbrk.c (do_one_test): Likewise.
40284         (do_test): Likewise.
40285         * string/test-strrchr.c (do_one_test): Likewise.
40286         (do_test): Likewise.
40287         * string/test-strspn.c (do_one_test): Likewise.
40288         (do_test): Likewise.
40289         * string/test-strstr.c (do_one_test): Likewise.
40290         (do_test): Likewise.
40292         * benchtests/Makefile (string-bench): Add string benchmarks.
40293         * benchtests/bench-bcopy-ifunc.c: New file.
40294         * benchtests/bench-bcopy.c: New file.
40295         * benchtests/bench-bzero-ifunc.c: New file.
40296         * benchtests/bench-bzero.c: New file.
40297         * benchtests/bench-memccpy-ifunc.c: New file.
40298         * benchtests/bench-memccpy.c: New file.
40299         * benchtests/bench-memchr-ifunc.c: New file.
40300         * benchtests/bench-memchr.c: New file.
40301         * benchtests/bench-memcmp-ifunc.c: New file.
40302         * benchtests/bench-memcmp.c: New file.
40303         * benchtests/bench-memmem-ifunc.c: New file.
40304         * benchtests/bench-memmem.c: New file.
40305         * benchtests/bench-memmove-ifunc.c: New file.
40306         * benchtests/bench-memmove.c: New file.
40307         * benchtests/bench-mempcpy-ifunc.c: New file.
40308         * benchtests/bench-mempcpy.c: New file.
40309         * benchtests/bench-memset-ifunc.c: New file.
40310         * benchtests/bench-memset.c: New file.
40311         * benchtests/bench-rawmemchr-ifunc.c: New file.
40312         * benchtests/bench-rawmemchr.c: New file.
40313         * benchtests/bench-stpcpy-ifunc.c: New file.
40314         * benchtests/bench-stpcpy.c: New file.
40315         * benchtests/bench-stpncpy-ifunc.c: New file.
40316         * benchtests/bench-stpncpy.c: New file.
40317         * benchtests/bench-strcasecmp-ifunc.c: New file.
40318         * benchtests/bench-strcasecmp.c: New file.
40319         * benchtests/bench-strcasestr-ifunc.c: New file.
40320         * benchtests/bench-strcasestr.c: New file.
40321         * benchtests/bench-strcat-ifunc.c: New file.
40322         * benchtests/bench-strcat.c: New file.
40323         * benchtests/bench-strchr-ifunc.c: New file.
40324         * benchtests/bench-strchr.c: New file.
40325         * benchtests/bench-strchrnul-ifunc.c: New file.
40326         * benchtests/bench-strchrnul.c: New file.
40327         * benchtests/bench-strcmp-ifunc.c: New file.
40328         * benchtests/bench-strcmp.c: New file.
40329         * benchtests/bench-strcpy-ifunc.c: New file.
40330         * benchtests/bench-strcpy.c: New file.
40331         * benchtests/bench-strcspn-ifunc.c: New file.
40332         * benchtests/bench-strcspn.c: New file.
40333         * benchtests/bench-strlen-ifunc.c: New file.
40334         * benchtests/bench-strlen.c: New file.
40335         * benchtests/bench-strncasecmp-ifunc.c: New file.
40336         * benchtests/bench-strncasecmp.c: New file.
40337         * benchtests/bench-strncat-ifunc.c: New file.
40338         * benchtests/bench-strncat.c: New file.
40339         * benchtests/bench-strncmp-ifunc.c: New file.
40340         * benchtests/bench-strncmp.c: New file.
40341         * benchtests/bench-strncpy-ifunc.c: New file.
40342         * benchtests/bench-strncpy.c: New file.
40343         * benchtests/bench-strnlen-ifunc.c: New file.
40344         * benchtests/bench-strnlen.c: New file.
40345         * benchtests/bench-strpbrk-ifunc.c: New file.
40346         * benchtests/bench-strpbrk.c: New file.
40347         * benchtests/bench-strrchr-ifunc.c: New file.
40348         * benchtests/bench-strrchr.c: New file.
40349         * benchtests/bench-strspn-ifunc.c: New file.
40350         * benchtests/bench-strspn.c: New file.
40351         * benchtests/bench-strstr-ifunc.c: New file.
40352         * benchtests/bench-strstr.c: New file.
40354         * benchtests/Makefile: Disable parallel execution of targets.
40355         (string-bench): Add memcpy.
40356         (benchset): New variable to store a list of benchmark sets.
40357         (bench-func): Renamed from bench.
40358         (bench-set): New target.
40359         (bench): Depend on bench-func and bench-set.
40360         * benchtests/README: Add section on benchmark sets.
40361         * benchtests/bench-memcpy-ifunc.c: New file.
40362         * benchtests/bench-memcpy.c: New file.
40363         * benchtests/bench-string.h: New file.
40365 2013-06-11  Andreas Schwab  <schwab@suse.de>
40367         [BZ #15577]
40368         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
40369         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
40370         values in the triple.
40371         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
40372         terminator in the group key.
40374 2013-06-11  Andreas Jaeger  <aj@suse.de>
40376         * po/zh_TW.po: Update Chinese (traditional) translation from
40377         translation project.
40379 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40381         * include/time.h (__clock_gettime): Add libc_hidden_proto.
40382         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
40383         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
40384         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40385         (clock_getcpuclockid): Likewise.
40386         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
40387         Add weak_alias and libc_hidden_def.
40388         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
40389         * rt/clock_gettime.c (clock_gettime): Rename to
40390         __clock_gettime.  Add weak_alias and libc_hidden_def.
40391         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
40392         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
40393         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
40394         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
40395         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
40396         Likewise.
40397         * rt/clock_settime.c (clock_settime): Rename to
40398         __clock_settime.  Add weak_alias and libc_hidden_def.
40399         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
40401 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
40403         * mach/err_boot.sub: Remove trailing whitespace.
40404         * mach/err_ipc.sub: Likewise.
40405         * mach/err_mach.sub: Likewise.
40407         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
40408         (ROUNDING_TESTS_double): Likewise.
40409         (ROUNDING_TESTS_long_double): Likewise.
40410         (ROUNDING_TESTS): Likewise.
40411         * math/libm-test.inc: Include <math-tests.h>.
40412         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
40413         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40414         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40415         (IF_ROUND_INIT_FE_UPWARD): Likewise.
40417 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40419         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
40420         of assigning.
40422 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
40424         * sysdeps/gnu/errlist.awk: Do not generate space at end of
40425         otherwise empty TRANS lines.
40426         * sysdeps/gnu/errlist.c: Regenerated.
40428         * catgets/gencat.c (error_print): Use (void) in function
40429         definition.
40430         * crypt/crypt_util.c (__init_des): Likewise.
40431         * crypt/speeds.c (Stop): Likewise.
40432         (main): Likewise.
40433         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
40434         * inet/ruserpass.c (token): Likewise.
40435         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
40436         * intl/localealias.c (extend_alias_table): Likewise.
40437         * intl/plural-exp.c (init_germanic_plural): Likewise.
40438         * libio/fcloseall.c (__fcloseall): Likewise.
40439         * libio/genops.c (_IO_flush_all): Likewise.
40440         (_IO_flush_all_linebuffered): Likewise.
40441         (_IO_cleanup): Likewise.
40442         (_IO_iter_begin): Likewise.
40443         (_IO_iter_end): Likewise.
40444         (_IO_list_lock): Likewise.
40445         (_IO_list_unlock): Likewise.
40446         (_IO_list_resetlock): Likewise.
40447         * libio/getchar.c (getchar): Likewise.
40448         * libio/getchar_u.c (getchar_unlocked): Likewise.
40449         * libio/getwchar.c (getwchar): Likewise.
40450         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
40451         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
40452         * login/getpt.c (__getpt): Likewise.
40453         * login/tst-utmp.c (main): Likewise.
40454         * malloc/hooks.c (__malloc_check_init): Likewise.
40455         * malloc/malloc.c (__malloc_stats): Likewise.
40456         * malloc/mtrace.c (tr_break): Likewise.
40457         (mtrace): Likewise.
40458         (muntrace): Likewise.
40459         * misc/fstab.c (endfsent): Likewise.
40460         * misc/getclktck.c (__getclktck): Likewise.
40461         * misc/getdtsz.c (__getdtablesize): Likewise.
40462         * misc/gethostid.c (gethostid): Likewise.
40463         * misc/getpagesize.c (__getpagesize): Likewise.
40464         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
40465         (__get_nprocs): Likewise.
40466         (__get_phys_pages): Likewise.
40467         (__get_avphys_pages): Likewise.
40468         * misc/getttyent.c (getttyent): Likewise.
40469         (setttyent): Likewise.
40470         (endttyent): Likewise.
40471         * misc/getusershell.c (getusershell): Likewise.
40472         (endusershell): Likewise.
40473         (setusershell): Likewise.
40474         (initshells): Likewise.
40475         * misc/hsearch.c (__hdestroy): Likewise.
40476         * misc/sync.c (sync): Likewise.
40477         * misc/syslog.c (closelog_internal): Likewise.
40478         (closelog): Likewise.
40479         * misc/ttyslot.c (ttyslot): Likewise.
40480         * misc/vhangup.c (vhangup): Likewise.
40481         * posix/fork.c (__fork): Likewise.
40482         * posix/getegid.c (__getegid): Likewise.
40483         * posix/geteuid.c (__geteuid): Likewise.
40484         * posix/getgid.c (__getgid): Likewise.
40485         * posix/getpid.c (__getpid): Likewise.
40486         * posix/getppid.c (__getppid): Likewise.
40487         * posix/getuid.c (__getuid): Likewise.
40488         * posix/pause.c (pause): Likewise.
40489         * posix/setpgrp.c (setpgrp): Likewise.
40490         * posix/setsid.c (__setsid): Likewise.
40491         * posix/test-vfork.c (noop): Likewise.
40492         * resolv/gethnamaddr.c (_endhtent): Likewise.
40493         (_gethtent): Likewise.
40494         (ht_endhostent): Likewise.
40495         (gethostent): Likewise.
40496         (dns_service): Likewise.
40497         * stdlib/drand48.c (drand48): Likewise.
40498         * stdlib/lrand48.c (lrand48): Likewise.
40499         * stdlib/mrand48.c (mrand48): Likewise.
40500         * stdlib/rand.c (rand): Likewise.
40501         * stdlib/random.c (__random): Likewise.
40502         * stdlib/setenv.c (clearenv): Likewise.
40503         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
40504         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
40505         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
40506         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
40507         (__get_nprocs): Likewise.
40508         (__get_phys_pages): Likewise.
40509         (__get_avphys_pages): Likewise.
40510         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
40511         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
40512         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
40513         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
40514         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
40515         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
40516         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
40517         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
40518         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
40519         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
40520         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
40521         * sysdeps/mach/hurd/sync.c (sync): Likewise.
40522         * sysdeps/posix/clock.c (clock): Likewise.
40523         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
40524         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
40525         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
40526         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
40527         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
40528         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
40529         (__get_nprocs_conf): Likewise.
40530         (__get_phys_pages): Likewise.
40531         (__get_avphys_pages): Likewise.
40532         * time/clock.c (clock): Likewise.
40533         * time/tzset.c (__tzname_max): Likewise.
40535 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
40537         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
40538         (__bswap_32): Do not use "register".
40539         * crypt/crypt.c (_ufc_doit_r): Likewise.
40540         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40541         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40542         * gmon/gmon.c (__monstartup): Likewise.
40543         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
40544         * hurd/hurdmalloc.c (more_memory): Likewise.
40545         (malloc): Likewise.
40546         (free): Likewise.
40547         (realloc): Likewise.
40548         (malloc_fork_prepare): Likewise.
40549         (malloc_fork_parent): Likewise.
40550         (malloc_fork_child): Likewise.
40551         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
40552         (_svcauth_des): Likewise.
40553         * inet/inet_lnaof.c (inet_lnaof): Likewise.
40554         * inet/inet_net.c (inet_network): Likewise.
40555         * inet/inet_netof.c (inet_netof): Likewise.
40556         * inet/rcmd.c (__validuser2_sa): Likewise.
40557         * io/fts.c (fts_open): Likewise.
40558         (fts_load): Likewise.
40559         (fts_close): Likewise.
40560         (fts_read): Likewise.
40561         (fts_children): Likewise.
40562         (fts_build): Likewise.
40563         (fts_stat): Likewise.
40564         (fts_sort): Likewise.
40565         (fts_alloc): Likewise.
40566         (fts_lfree): Likewise.
40567         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
40568         (_IO_file_xsgetn): Likewise.
40569         (_IO_file_xsgetn_mmap): Likewise.
40570         * libio/iofopncook.c (_IO_cookie_read): Likewise.
40571         (_IO_cookie_write): Likewise.
40572         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
40573         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
40574         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
40575         * malloc/obstack.c (_obstack_begin): Likewise.
40576         (_obstack_begin_1): Likewise.
40577         (_obstack_newchunk): Likewise.
40578         (_obstack_allocated_p): Likewise.
40579         (obstack_free): Likewise.
40580         (_obstack_memory_used): Likewise.
40581         * misc/getttyent.c (getttynam): Likewise.
40582         (getttyent): Likewise.
40583         (skip): Likewise.
40584         (value): Likewise.
40585         * misc/getusershell.c (initshells): Likewise.
40586         * misc/syslog.c (__vsyslog_chk): Likewise.
40587         * misc/ttyslot.c (ttyslot): Likewise.
40588         * nis/nis_hash.c (__nis_hash): Likewise.
40589         * posix/fnmatch_loop.c (FCT): Likewise.
40590         * posix/getconf.c (print_all): Likewise.
40591         (main): Likewise.
40592         * posix/getopt.c (exchange): Likewise.
40593         * posix/glob.c (globfree): Likewise.
40594         (prefix_array): Likewise.
40595         (__glob_pattern_type): Likewise.
40596         * resolv/arpa/nameser.h (NS_GET16): Likewise.
40597         (NS_GET32): Likewise.
40598         (NS_PUT16): Likewise.
40599         (NS_PUT32): Likewise.
40600         * resolv/gethnamaddr.c (getanswer): Likewise.
40601         (gethostbyname2): Likewise.
40602         (gethostbyaddr): Likewise.
40603         (_gethtent): Likewise.
40604         (_gethtbyname2): Likewise.
40605         (_gethtbyaddr): Likewise.
40606         * resolv/ns_print.c (dst_s_get_int16): Likewise.
40607         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
40608         * resolv/res_init.c (__res_vinit): Likewise.
40609         (net_mask): Likewise.
40610         * resolv/res_mkquery.c (outchar): Likewise.
40611         (PRINT): Likewise.
40612         * stdio-common/printf_fp.c (outchar): Likewise.
40613         (PRINT): Likewise.
40614         * stdio-common/printf_fphex.c (outchar): Likewise.
40615         (PRINT): Likewise.
40616         * stdio-common/printf_size.c (outchar): Likewise.
40617         (PRINT): Likewise.
40618         * stdio-common/test_rdwr.c (main): Likewise.
40619         * stdio-common/tfformat.c (matches): Likewise.
40620         * stdio-common/vfprintf.c (outchar): Likewise.
40621         (printf_unknown): Likewise.
40622         (buffered_vfprintf): Likewise.
40623         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40624         * stdio-common/xbug.c (AppendToBuffer): Likewise.
40625         (ReadFile): Likewise.
40626         * stdlib/qsort.c (SWAP): Likewise.
40627         (_quicksort): Likewise.
40628         * stdlib/setenv.c (__add_to_environ): Likewise.
40629         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40630         * stdlib/strtol_l.c (__strtol_l): Likewise.
40631         * stdlib/tst-strtod.c (main): Likewise.
40632         * stdlib/tst-strtol.c (main): Likewise.
40633         * stdlib/tst-strtoll.c (main): Likewise.
40634         * string/bits/string2.h (__strcmp_cc): Likewise.
40635         (__strcmp_cg): Likewise.
40636         (__strcspn_c1): Likewise.
40637         (__strcspn_c2): Likewise.
40638         (__strcspn_c3): Likewise.
40639         (__strspn_c1): Likewise.
40640         (__strspn_c2): Likewise.
40641         (__strspn_c3): Likewise.
40642         (__strsep_1c): Likewise.
40643         (__strsep_2c): Likewise.
40644         (__strsep_3c): Likewise.
40645         * string/memccpy.c (__memccpy): Likewise.
40646         * string/stpcpy.c (__stpcpy): Likewise.
40647         * string/strcmp.c (strcmp): Likewise.
40648         * string/strrchr.c (strrchr): Likewise.
40649         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
40650         Likewise.
40651         * sysdeps/mach/hurd/getcwd.c
40652         (_hurd_canonicalize_directory_name_internal): Likewise.
40653         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
40654         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
40655         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
40656         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
40657         Likewise, in both definitions.
40658         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
40659         definitions.
40660         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
40661         64] (__bswap_64): Likewise.
40662         * time/test_time.c (main): Likewise.
40663         * time/tzfile.c (__tzfile_read): Likewise.
40664         (__tzfile_compute): Likewise.
40665         * time/tzset.c (__tzset_parse_tz): Likewise.
40666         (tzset_internal): Likewise.
40667         (compute_change): Likewise.
40668         * wcsmbs/wcscat.c (__wcscat): Likewise.
40669         * wcsmbs/wcschr.c (wcschr): Likewise.
40670         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
40671         * wcsmbs/wcscspn.c (wcscspn): Likewise.
40672         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
40673         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
40674         * wcsmbs/wcsspn.c (wcsspn): Likewise.
40675         * wcsmbs/wcsstr.c (wcsstr): Likewise.
40676         * wcsmbs/wmemchr.c (wmemchr): Likewise.
40677         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40678         * wcsmbs/wmemset.c (wmemset): Likewise.
40680 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
40682         * scripts/config.guess: Update to version 2013-05-16.
40683         * scripts/config.sub: Update to version 2013-04-24.
40684         * scripts/install-sh: Update to version 2011-11-20.07.
40685         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
40686         * scripts/move-if-change: Update to version 2012-01-06 07:23.
40688 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
40690         * debug/fgetws_u_chk.c: Fix leading whitespaces.
40691         * elf/sln.c: Likewise.
40692         * hurd/hurd/ioctl.h: Likewise.
40693         * hurd/hurdmalloc.c: Likewise.
40694         * hurd/xattr.c: Likewise.
40695         * include/shlib-compat.h: Likewise.
40696         * inet/ruserpass.c: Likewise.
40697         * libio/iofgets_u.c: Likewise.
40698         * libio/iofgetws_u.c: Likewise.
40699         * locale/programs/ld-identification.c: Likewise.
40700         * locale/programs/ld-time.c: Likewise.
40701         * mach/msg-destroy.c: Likewise.
40702         * nss/nss_files/files-netgrp.c: Likewise.
40703         * resolv/res_data.c: Likewise.
40704         * soft-fp/op-1.h: Likewise.
40705         * soft-fp/op-2.h: Likewise.
40706         * soft-fp/op-4.h: Likewise.
40707         * soft-fp/op-common.h: Likewise.
40708         * stdio-common/printf_fphex.c: Likewise.
40709         * stdlib/strtod_l.c: Likewise.
40710         * sunrpc/rpc/clnt.h: Likewise.
40711         * sysdeps/generic/framestate.c: Likewise.
40712         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40713         * sysdeps/i386/bsd-setjmp.S: Likewise.
40714         * sysdeps/i386/__longjmp.S: Likewise.
40715         * sysdeps/i386/setjmp.S: Likewise.
40716         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40717         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40718         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40719         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40720         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40721         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40722         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40723         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40724         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40725         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40726         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40727         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40728         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40729         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40730         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40731         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40732         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40733         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
40734         * sysdeps/ieee754/support.c: Likewise.
40735         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40736         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
40737         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
40738         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
40739         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
40740         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
40741         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
40742         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
40743         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
40744         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
40745         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
40746         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
40747         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
40748         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
40749         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
40750         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
40751         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
40754 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
40756         * posix/transbug.c: Remove executable mode.
40758 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
40760         * crypt/speeds.c: Remove trailing whitespace.
40761         * dlfcn/default.c: Likewise.
40762         * elf/ifuncdep2.c: Likewise.
40763         * elf/ifuncmain1.c: Likewise.
40764         * elf/ifuncmain1vis.c: Likewise.
40765         * elf/testobj.h: Likewise.
40766         * elf/tst-stackguard1.c: Likewise.
40767         * gmon/sys/gmon.h: Likewise.
40768         * hurd/hurdmsg.c: Likewise.
40769         * hurd/new-fd.c: Likewise.
40770         * hurd/ports-get.c: Likewise.
40771         * iconvdata/ibm1008_420.c: Likewise.
40772         * inet/tst-getni1.c: Likewise.
40773         * inet/tst-getni2.c: Likewise.
40774         * libio/ioungetc.c: Likewise.
40775         * libio/wfiledoalloc.c: Likewise.
40776         * manual/libm-err-tab.pl: Likewise.
40777         * math/w_dremf.c: Likewise.
40778         * misc/ftruncate.c: Likewise.
40779         * posix/bug-glob2.c: Likewise.
40780         * posix/tst-pcre.c: Likewise.
40781         * posix/wait4.c: Likewise.
40782         * resolv/README: Likewise.
40783         * resolv/res_debug.h: Likewise.
40784         * resolv/tst-inet_ntop.c: Likewise.
40785         * setjmp/bug269-setjmp.c: Likewise.
40786         * soft-fp/extended.h: Likewise.
40787         * soft-fp/op-1.h: Likewise.
40788         * soft-fp/op-2.h: Likewise.
40789         * soft-fp/op-4.h: Likewise.
40790         * soft-fp/op-8.h: Likewise.
40791         * soft-fp/testit.c: Likewise.
40792         * stdio-common/bug16.c: Likewise.
40793         * stdlib/random.c: Likewise.
40794         * sunrpc/rpcsvc/rquota.x: Likewise.
40795         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
40796         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40797         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40798         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40799         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40800         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40801         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40802         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40803         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40804         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40805         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40806         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40807         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40808         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40809         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40810         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40811         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40812         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40813         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40814         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40815         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40816         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40817         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
40818         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40819         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40820         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40821         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40822         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40823         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40824         * sysdeps/ieee754/s_lib_version.c: Likewise.
40825         * sysdeps/mach/hurd/check_fds.c: Likewise.
40826         * sysdeps/mach/hurd/getsockname.c: Likewise.
40827         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
40828         * sysdeps/mach/hurd/recvfrom.c: Likewise.
40829         * sysdeps/powerpc/bits/link.h: Likewise.
40830         * sysdeps/powerpc/dl-procinfo.c: Likewise.
40831         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
40832         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
40833         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
40834         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40835         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40836         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
40837         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40838         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
40839         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40840         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
40841         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
40842         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
40843         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40844         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40845         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40846         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
40847         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
40848         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40849         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40850         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40851         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
40852         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40853         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
40854         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
40855         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
40856         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
40857         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40858         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40859         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
40860         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
40861         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
40862         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40863         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40864         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
40865         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40866         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
40867         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
40868         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
40869         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
40870         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
40871         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
40872         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
40873         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
40874         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
40875         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
40876         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
40877         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
40878         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
40879         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
40880         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40881         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40882         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40883         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40884         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
40885         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
40886         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
40887         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40888         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
40889         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
40890         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
40891         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
40892         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
40893         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40894         * sysdeps/powerpc/sysdep.h: Likewise.
40895         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40896         * sysdeps/s390/s390-64/sub_n.S: Likewise.
40897         * sysdeps/sh/dl-trampoline.S: Likewise.
40898         * sysdeps/sh/memset.S: Likewise.
40899         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
40900         * sysdeps/sh/strlen.S: Likewise.
40901         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
40902         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
40903         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
40904         * sysdeps/sparc/sparc32/rem.S: Likewise.
40905         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
40906         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
40907         * sysdeps/sparc/sparc32/strchr.S: Likewise.
40908         * sysdeps/sparc/sparc32/udiv.S: Likewise.
40909         * sysdeps/sparc/sparc32/urem.S: Likewise.
40910         * sysdeps/sparc/sparc64/add_n.S: Likewise.
40911         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40912         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
40913         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
40914         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
40915         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
40916         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
40917         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
40918         * sysdeps/unix/bsd/times.c: Likewise.
40919         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
40920         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
40921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
40922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
40923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40924         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
40925         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40926         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
40927         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
40928         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
40929         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
40930         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
40931         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
40932         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40933         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
40934         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
40935         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
40936         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
40937         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
40938         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
40939         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
40940         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
40941         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40942         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
40943         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
40944         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
40945         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
40946         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40947         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
40948         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
40949         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
40950         * sysdeps/x86_64/strcspn.S: Likewise.
40952 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40954         * locale/C-translit.h: Revert #include <stdint.h> because this is a
40955         generated file.  Regenerate properly from gen-translit.pl.
40956         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
40957         locale/C-translit.h.
40959 2013-06-05  Andreas Schwab  <schwab@suse.de>
40961         [BZ #15100]
40962         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
40963         week as 6 instead of -1.
40964         * time/tst-strptime.c (day_tests): Add test case.
40966 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40968         * sysdeps/generic/math_private.h
40969         (libc_feholdexcept_setround_53bit): Replace with
40970         libc_feholdsetround_53bit.
40971         (libc_feupdateenv_53bit): Replace with
40972         libc_feresetround_53bit.
40973         (SET_RESTORE_ROUND_53BIT): Adjust.
40975 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40977         * string/test-strchrnul.c: Add copyright header.
40979         * posix/tst-getaddrinfo4.c: Increase test timeout.
40981 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
40983         [BZ #15536]
40984         * math/libm-test.inc (MAX_EXP): Remove
40985         (MIN_EXP): Define.
40986         (ulp): Use MIN_EXP - MANT_DIG.
40987         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
40989 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
40991         * po/be.po: Revert last change.
40992         * po/zh_CN.po: Likewise.
40993         * po/header.pot: Likewise.
40995 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
40997         * Makefile ($(common-objpfx)linkobj/libc.so): Define
40998         link-libc-deps to empty as target-specific variable.
40999         * Makerules (link-libc-args): New variable.
41000         (libc-for-link): Likewise.
41001         (link-libc-deps): Likewise.
41002         (lib%.so): Depend on $(link-libc-deps).  Link with
41003         $(link-libc-args).
41004         (build-module): Link with $(link-libc-args).
41005         (build-module-asneeded): Likewise.
41006         (build-module-helper-objlist): Filter out $(link-libc-deps) from
41007         list of objects.
41008         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
41009         target-specific variable.
41010         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
41011         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
41012         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
41013         libc.
41014         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
41015         libc and ld.so.
41016         ($(objpfx)libpcprofile.so): Likewise.
41017         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
41018         libc_nonshared.a.
41019         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
41020         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
41021         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
41022         $(link-libc-deps).
41023         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
41024         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
41025         * login/Makefile ($(objpfx)libutil.so): Likewise.
41026         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
41027         * math/Makefile ($(objpfx)libm.so): Likewise.
41028         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
41029         $(objpfx)libnsl.so): Define libc-for-link as target-specific
41030         variable instead of depending directly on libc.
41031         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
41032         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
41033         $(link-libc-deps).
41034         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
41035         libc.
41036         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
41037         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
41038         ($(objpfx)libanl.so): Likewise.
41039         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
41040         ld.so.
41041         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
41042         $(link-libc-deps).
41043         * sysdeps/i386/fpu/Makefile: Remove file.
41044         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
41045         ($(objpfx)libm.so): Remove dependency on ld.so.
41047 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
41049         [BZ # 15553]
41050         * nis/yp_xdr.c (XDRMAXNAME): Define.
41051         (XDRMAXRECORD): Define.
41052         (xdr_domainname): Use XDRMAXNAME.
41053         (xdr_mapname): Likewise.
41054         (xdr_peername): Likewise.
41055         (xdr_keydat): Use XDRMAXRECORD.
41056         (xdr_valdat): Likewise.
41058 2013-05-30  Jeff Law  <law@redhat.com>
41060         [BZ #14256]
41061         * manual/errno.texi (ESTALE): Update to account for more than
41062         just NFS file systems.
41063         * sysdeps/gnu/errlist.c: Regenerated.
41065 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41067         [BZ #15465]
41068         * elf/Makefile (tests): Add tst-null-argv.
41069         (modules-names):  Add tst-null-argv-lib.
41070         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
41071         (tst-null-argv-ENV): Set environment for tst-null-argv.
41072         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
41073         (RTLD_PROGNAME): New macro.
41074         * elf/tst-null-argv.c: New test case.
41075         * elf/tst-null-argv-lib.c: Library for test case.
41076         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
41077         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
41078         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
41079         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
41080         * elf/dl-init.c (call_init): Likewise.
41081         (_dl_init): Likewise.
41082         * elf/dl-load.c (print_search_path): Likewise.
41083         (_dl_map_object): Likewise.
41084         * elf/dl-lookup.c (do_lookup_x): Likewise.
41085         (add_dependency): Likewise.
41086         (_dl_lookup_symbol_x): Likewise.
41087         (_dl_debug_bindings): Likewise.
41088         * elf/dl-open.c (_dl_show_scope): Likewise.
41089         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41090         * elf/dl-version.c (match_symbol): Likewise.
41091         (_dl_check_map_versions): Likewise.
41092         * elf/rtld.c (dl_main): Likewise.
41093         (print_unresolved): Use RTLD_PROGNAME.
41094         (print_missing_version): Likewise.
41095         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
41096         (elf_machine_rela): Likewise.
41097         * sysdeps/powerpc/powerpc32/dl-machine.c
41098         (__process_machine_rela): Likewise.
41099         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41100         Likewise.
41101         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41102         Likewise.
41103         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
41104         Likewise.
41105         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41106         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
41107         Likewise.
41108         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
41109         Likewise.
41110         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41112 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
41114         * po/be.po: Add descriptive title.
41115         * po/zh_CN.po: Likewise.
41116         * po/header.pot: Likewise.
41118 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
41120         * locale/programs/locarchive.c (create_archive): Inlucde fname in
41121         error message.
41122         (enlarge_archive): Likewise.
41124 2013-05-28  Ben North  <ben@redfrontdoor.org>
41126         * manual/arith.texi (frexp): It is the magnitude of the return
41127         value which lies in [0.5, 1), not the return value itself.
41129 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41133 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
41135         * stdio-common/bug26.c (main): Correct fscanf template.
41137         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
41138         declare _dl_skip_args.
41140         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
41141         Don't declare.
41143         * manual/platform.texi: Add missing @end deftypefun.
41145 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41147         [BZ #15529]
41148         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
41149         bit of mantissa of 2^16382.
41150         * math/libm-test.inc (hypot_test_data): Add more tests.
41152         * math/libm-test.inc: Add drem and pow10 to list of tested
41153         functions.
41154         (pow10_test): New function.
41155         (drem_test): Likewise.
41156         (drem_test_tonearest): Likewise.
41157         (drem_test_towardzero): Likewise.
41158         (drem_test_downward): Likewise.
41159         (drem_test_upward): Likewise.
41160         (main): Call the new functions.
41162         * math/libm-test.inc (finite_test_data): Remove.
41163         (finite_test): Run tests from isfinite_test_data.
41164         (gamma_test_data): Remove.
41165         (gamma_test): Run tests from lgamma_test_data.
41166         * sysdeps/i386/fpu/libm-test-ulps: Update.
41167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41169 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41171         * manual/platform.texi: Add PowerPC PPR function set documentation.
41172         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
41173         implementation.
41175 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
41177         * math/libm-test.inc (MAX_EXP): Define.
41178         (ULPDIFF): Define.
41179         (ulp): New function.
41180         (check_float_internal): Use ULPDIFF.
41181         (cpow_test): Disable failing test.
41182         (check_ulp): Test ulp() implemetnation.
41183         (main): Call check_ulp before starting tests.
41185 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41187         * math/gen-libm-test.pl (generate_testfile): Do not handle
41188         START_DATA and END_DATA.
41189         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
41190         END_DATA.
41191         (acos_tonearest_test_data): Likewise.
41192         (acos_towardzero_test_data): Likewise.
41193         (acos_downward_test_data): Likewise.
41194         (acos_upward_test_data): Likewise.
41195         (acosh_test_data): Likewise.
41196         (asin_test_data): Likewise.
41197         (asin_tonearest_test_data): Likewise.
41198         (asin_towardzero_test_data): Likewise.
41199         (asin_downward_test_data): Likewise.
41200         (asin_upward_test_data): Likewise.
41201         (asinh_test_data): Likewise.
41202         (atan_test_data): Likewise.
41203         (atanh_test_data): Likewise.
41204         (atan2_test_data): Likewise.
41205         (cabs_test_data): Likewise.
41206         (cacos_test_data): Likewise.
41207         (cacosh_test_data): Likewise.
41208         (carg_test_data): Likewise.
41209         (casin_test_data): Likewise.
41210         (casinh_test_data): Likewise.
41211         (catan_test_data): Likewise.
41212         (catanh_test_data): Likewise.
41213         (cbrt_test_data): Likewise.
41214         (ccos_test_data): Likewise.
41215         (ccosh_test_data): Likewise.
41216         (ceil_test_data): Likewise.
41217         (cexp_test_data): Likewise.
41218         (cimag_test_data): Likewise.
41219         (clog_test_data): Likewise.
41220         (clog10_test_data): Likewise.
41221         (conj_test_data): Likewise.
41222         (copysign_test_data): Likewise.
41223         (cos_test_data): Likewise.
41224         (cos_tonearest_test_data): Likewise.
41225         (cos_towardzero_test_data): Likewise.
41226         (cos_downward_test_data): Likewise.
41227         (cos_upward_test_data): Likewise.
41228         (cosh_test_data): Likewise.
41229         (cosh_tonearest_test_data): Likewise.
41230         (cosh_towardzero_test_data): Likewise.
41231         (cosh_downward_test_data): Likewise.
41232         (cosh_upward_test_data): Likewise.
41233         (cpow_test_data): Likewise.
41234         (cproj_test_data): Likewise.
41235         (creal_test_data): Likewise.
41236         (csin_test_data): Likewise.
41237         (csinh_test_data): Likewise.
41238         (csqrt_test_data): Likewise.
41239         (ctan_test_data): Likewise.
41240         (ctan_tonearest_test_data): Likewise.
41241         (ctan_towardzero_test_data): Likewise.
41242         (ctan_downward_test_data): Likewise.
41243         (ctan_upward_test_data): Likewise.
41244         (ctanh_test_data): Likewise.
41245         (ctanh_tonearest_test_data): Likewise.
41246         (ctanh_towardzero_test_data): Likewise.
41247         (ctanh_downward_test_data): Likewise.
41248         (ctanh_upward_test_data): Likewise.
41249         (erf_test_data): Likewise.
41250         (erfc_test_data): Likewise.
41251         (exp_test_data): Likewise.
41252         (exp_tonearest_test_data): Likewise.
41253         (exp_towardzero_test_data): Likewise.
41254         (exp_downward_test_data): Likewise.
41255         (exp_upward_test_data): Likewise.
41256         (exp10_test_data): Likewise.
41257         (exp2_test_data): Likewise.
41258         (expm1_test_data): Likewise.
41259         (fabs_test_data): Likewise.
41260         (fdim_test_data): Likewise.
41261         (finite_test_data): Likewise.
41262         (floor_test_data): Likewise.
41263         (fma_test_data): Likewise.
41264         (fma_towardzero_test_data): Likewise.
41265         (fma_downward_test_data): Likewise.
41266         (fma_upward_test_data): Likewise.
41267         (fmax_test_data): Likewise.
41268         (fmin_test_data): Likewise.
41269         (fmod_test_data): Likewise.
41270         (fpclassify_test_data): Likewise.
41271         (frexp_test_data): Likewise.
41272         (gamma_test_data): Likewise.
41273         (hypot_test_data): Likewise.
41274         (ilogb_test_data): Likewise.
41275         (isfinite_test_data): Likewise.
41276         (isgreater_test_data): Likewise.
41277         (isgreaterequal_test_data): Likewise.
41278         (isinf_test_data): Likewise.
41279         (isless_test_data): Likewise.
41280         (islessequal_test_data): Likewise.
41281         (islessgreater_test_data): Likewise.
41282         (isnan_test_data): Likewise.
41283         (isnormal_test_data): Likewise.
41284         (issignaling_test_data): Likewise.
41285         (isunordered_test_data): Likewise.
41286         (j0_test_data): Likewise.
41287         (j1_test_data): Likewise.
41288         (jn_test_data): Likewise.
41289         (ldexp_test_data): Likewise.
41290         (lgamma_test_data): Likewise.
41291         (lrint_test_data): Likewise.
41292         (lrint_tonearest_test_data): Likewise.
41293         (lrint_towardzero_test_data): Likewise.
41294         (lrint_downward_test_data): Likewise.
41295         (lrint_upward_test_data): Likewise.
41296         (llrint_test_data): Likewise.
41297         (llrint_tonearest_test_data): Likewise.
41298         (llrint_towardzero_test_data): Likewise.
41299         (llrint_downward_test_data): Likewise.
41300         (llrint_upward_test_data): Likewise.
41301         (log_test_data): Likewise.
41302         (log10_test_data): Likewise.
41303         (log1p_test_data): Likewise.
41304         (log2_test_data): Likewise.
41305         (logb_test_data): Likewise.
41306         (logb_downward_test_data): Likewise.
41307         (lround_test_data): Likewise.
41308         (llround_test_data): Likewise.
41309         (modf_test_data): Likewise.
41310         (nearbyint_test_data): Likewise.
41311         (nextafter_test_data): Likewise.
41312         (nexttoward_test_data): Likewise.
41313         (pow_test_data): Likewise.
41314         (pow_tonearest_test_data): Likewise.
41315         (pow_towardzero_test_data): Likewise.
41316         (pow_downward_test_data): Likewise.
41317         (pow_upward_test_data): Likewise.
41318         (remainder_test_data): Likewise.
41319         (remainder_tonearest_test_data): Likewise.
41320         (remainder_towardzero_test_data): Likewise.
41321         (remainder_downward_test_data): Likewise.
41322         (remainder_upward_test_data): Likewise.
41323         (remquo_test_data): Likewise.
41324         (rint_test_data): Likewise.
41325         (rint_tonearest_test_data): Likewise.
41326         (rint_towardzero_test_data): Likewise.
41327         (rint_downward_test_data): Likewise.
41328         (rint_upward_test_data): Likewise.
41329         (round_test_data): Likewise.
41330         (scalb_test_data): Likewise.
41331         (scalbn_test_data): Likewise.
41332         (scalbln_test_data): Likewise.
41333         (signbit_test_data): Likewise.
41334         (sin_test_data): Likewise.
41335         (sin_tonearest_test_data): Likewise.
41336         (sin_towardzero_test_data): Likewise.
41337         (sin_downward_test_data): Likewise.
41338         (sin_upward_test_data): Likewise.
41339         (sincos_test_data): Likewise.
41340         (sinh_test_data): Likewise.
41341         (sinh_tonearest_test_data): Likewise.
41342         (sinh_towardzero_test_data): Likewise.
41343         (sinh_downward_test_data): Likewise.
41344         (sinh_upward_test_data): Likewise.
41345         (sqrt_test_data): Likewise.
41346         (tan_test_data): Likewise.
41347         (tan_tonearest_test_data): Likewise.
41348         (tan_towardzero_test_data): Likewise.
41349         (tan_downward_test_data): Likewise.
41350         (tan_upward_test_data): Likewise.
41351         (tanh_test_data): Likewise.
41352         (tgamma_test_data): Likewise.
41353         (trunc_test_data): Likewise.
41354         (y0_test_data): Likewise.
41355         (y1_test_data): Likewise.
41356         (yn_test_data): Likewise.
41357         (significand_test_data): Likewise.
41359         * math/gen-libm-test.pl (@functions): Remove variable.
41360         (generate_testfile): Don't handle START and END lines.
41361         * math/libm-test.inc (START): New macro.
41362         (END): Likewise.
41363         (END_COMPLEX): Likewise.
41364         (acos_test): Use END macro without arguments.
41365         (acos_test_tonearest): Likewise.
41366         (acos_test_towardzero): Likewise.
41367         (acos_test_downward): Likewise.
41368         (acos_test_upward): Likewise.
41369         (acosh_test): Likewise.
41370         (asin_test): Likewise.
41371         (asin_test_tonearest): Likewise.
41372         (asin_test_towardzero): Likewise.
41373         (asin_test_downward): Likewise.
41374         (asin_test_upward): Likewise.
41375         (asinh_test): Likewise.
41376         (atan_test): Likewise.
41377         (atanh_test): Likewise.
41378         (atan2_test): Likewise.
41379         (cabs_test): Likewise.
41380         (cacos_test): Use END_COMPLEX macro without arguments.
41381         (cacosh_test): Likewise.
41382         (carg_test): Use END macro without arguments.
41383         (casin_test): Use END_COMPLEX macro without arguments.
41384         (casinh_test): Likewise.
41385         (catan_test): Likewise.
41386         (catanh_test): Likewise.
41387         (cbrt_test): Use END macro without arguments.
41388         (ccos_test): Use END_COMPLEX macro without arguments.
41389         (ccosh_test): Likewise.
41390         (ceil_test): Use END macro without arguments.
41391         (cexp_test): Use END_COMPLEX macro without arguments.
41392         (cimag_test): Use END macro without arguments.
41393         (clog_test): Use END_COMPLEX macro without arguments.
41394         (clog10_test): Likewise.
41395         (conj_test): Likewise.
41396         (copysign_test): Use END macro without arguments.
41397         (cos_test): Likewise.
41398         (cos_test_tonearest): Likewise.
41399         (cos_test_towardzero): Likewise.
41400         (cos_test_downward): Likewise.
41401         (cos_test_upward): Likewise.
41402         (cosh_test): Likewise.
41403         (cosh_test_tonearest): Likewise.
41404         (cosh_test_towardzero): Likewise.
41405         (cosh_test_downward): Likewise.
41406         (cosh_test_upward): Likewise.
41407         (cpow_test): Use END_COMPLEX macro without arguments.
41408         (cproj_test): Likewise.
41409         (creal_test): Use END macro without arguments.
41410         (csin_test): Use END_COMPLEX macro without arguments.
41411         (csinh_test): Likewise.
41412         (csqrt_test): Likewise.
41413         (ctan_test): Likewise.
41414         (ctan_test_tonearest): Likewise.
41415         (ctan_test_towardzero): Likewise.
41416         (ctan_test_downward): Likewise.
41417         (ctan_test_upward): Likewise.
41418         (ctanh_test): Likewise.
41419         (ctanh_test_tonearest): Likewise.
41420         (ctanh_test_towardzero): Likewise.
41421         (ctanh_test_downward): Likewise.
41422         (ctanh_test_upward): Likewise.
41423         (erf_test): Use END macro without arguments.
41424         (erfc_test): Likewise.
41425         (exp_test): Likewise.
41426         (exp_test_tonearest): Likewise.
41427         (exp_test_towardzero): Likewise.
41428         (exp_test_downward): Likewise.
41429         (exp_test_upward): Likewise.
41430         (exp10_test): Likewise.
41431         (exp2_test): Likewise.
41432         (expm1_test): Likewise.
41433         (fabs_test): Likewise.
41434         (fdim_test): Likewise.
41435         (finite_test): Likewise.
41436         (floor_test): Likewise.
41437         (fma_test): Likewise.
41438         (fma_test_towardzero): Likewise.
41439         (fma_test_downward): Likewise.
41440         (fma_test_upward): Likewise.
41441         (fmax_test): Likewise.
41442         (fmin_test): Likewise.
41443         (fmod_test): Likewise.
41444         (fpclassify_test): Likewise.
41445         (frexp_test): Likewise.
41446         (gamma_test): Likewise.
41447         (hypot_test): Likewise.
41448         (ilogb_test): Likewise.
41449         (isfinite_test): Likewise.
41450         (isgreater_test): Likewise.
41451         (isgreaterequal_test): Likewise.
41452         (isinf_test): Likewise.
41453         (isless_test): Likewise.
41454         (islessequal_test): Likewise.
41455         (islessgreater_test): Likewise.
41456         (isnan_test): Likewise.
41457         (isnormal_test): Likewise.
41458         (issignaling_test): Likewise.
41459         (isunordered_test): Likewise.
41460         (j0_test): Likewise.
41461         (j1_test): Likewise.
41462         (jn_test): Likewise.
41463         (ldexp_test): Likewise.
41464         (lgamma_test): Likewise.
41465         (lrint_test): Likewise.
41466         (lrint_test_tonearest): Likewise.
41467         (lrint_test_towardzero): Likewise.
41468         (lrint_test_downward): Likewise.
41469         (lrint_test_upward): Likewise.
41470         (llrint_test): Likewise.
41471         (llrint_test_tonearest): Likewise.
41472         (llrint_test_towardzero): Likewise.
41473         (llrint_test_downward): Likewise.
41474         (llrint_test_upward): Likewise.
41475         (log_test): Likewise.
41476         (log10_test): Likewise.
41477         (log1p_test): Likewise.
41478         (log2_test): Likewise.
41479         (logb_test): Likewise.
41480         (logb_test_downward): Likewise.
41481         (lround_test): Likewise.
41482         (llround_test): Likewise.
41483         (modf_test): Likewise.
41484         (nearbyint_test): Likewise.
41485         (nextafter_test): Likewise.
41486         (nexttoward_test): Likewise.
41487         (pow_test): Likewise.
41488         (pow_test_tonearest): Likewise.
41489         (pow_test_towardzero): Likewise.
41490         (pow_test_downward): Likewise.
41491         (pow_test_upward): Likewise.
41492         (remainder_test): Likewise.
41493         (remainder_test_tonearest): Likewise.
41494         (remainder_test_towardzero): Likewise.
41495         (remainder_test_downward): Likewise.
41496         (remainder_test_upward): Likewise.
41497         (remquo_test): Likewise.
41498         (rint_test): Likewise.
41499         (rint_test_tonearest): Likewise.
41500         (rint_test_towardzero): Likewise.
41501         (rint_test_downward): Likewise.
41502         (rint_test_upward): Likewise.
41503         (round_test): Likewise.
41504         (scalb_test): Likewise.
41505         (scalbn_test): Likewise.
41506         (scalbln_test): Likewise.
41507         (signbit_test): Likewise.
41508         (sin_test): Likewise.
41509         (sin_test_tonearest): Likewise.
41510         (sin_test_towardzero): Likewise.
41511         (sin_test_downward): Likewise.
41512         (sin_test_upward): Likewise.
41513         (sincos_test): Likewise.
41514         (sinh_test): Likewise.
41515         (sinh_test_tonearest): Likewise.
41516         (sinh_test_towardzero): Likewise.
41517         (sinh_test_downward): Likewise.
41518         (sinh_test_upward): Likewise.
41519         (sqrt_test): Likewise.
41520         (tan_test): Likewise.
41521         (tan_test_tonearest): Likewise.
41522         (tan_test_towardzero): Likewise.
41523         (tan_test_downward): Likewise.
41524         (tan_test_upward): Likewise.
41525         (tanh_test): Likewise.
41526         (tgamma_test): Likewise.
41527         (trunc_test): Likewise.
41528         (y0_test): Likewise.
41529         (y1_test): Likewise.
41530         (yn_test): Likewise.
41531         (significand_test): Likewise.
41533 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
41535         [BZ #15381]
41536         * libio/genops.c (_IO_no_init): Initialize wide struct info.
41538 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
41540         [BZ #14894]
41541         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
41542         __ppc_mdoio and __ppc_mdoom.
41543         * manual/platform.texi: Document new functions __ppc_yield,
41544         __ppc_mdoio and __ppc_mdoom.
41546 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
41548         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
41549         (main): Mention "tls" pseudo-hwcap is legacy.
41550         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
41552 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
41554         * math/gen-libm-test.pl (parse_args): Output only string of
41555         arguments as text for test name, not full call or descriptions of
41556         tests for extra outputs.
41557         (generate_testfile): Do not pass function name to parse_args.
41558         Generate this_func variable from START.
41559         * math/libm-test.inc (struct test_f_f_data): Rename test_name
41560         field to arg_str.
41561         (struct test_ff_f_data): Likewise.
41562         (test_ff_f_data_nexttoward): Likewise.
41563         (struct test_fi_f_data): Likewise.
41564         (struct test_fl_f_data): Likewise.
41565         (struct test_if_f_data): Likewise.
41566         (struct test_fff_f_data): Likewise.
41567         (struct test_c_f_data): Likewise.
41568         (struct test_f_f1_data): Likewise.  Remove field extra_name.
41569         (struct test_fF_f1_data): Likewise.
41570         (struct test_ffI_f1_data): Likewise.
41571         (struct test_c_c_data): Rename test_name field to arg_str.
41572         (struct test_cc_c_data): Likewise.
41573         (struct test_f_i_data): Likewise.
41574         (struct test_ff_i_data): Likewise.
41575         (struct test_f_l_data): Likewise.
41576         (struct test_f_L_data): Likewise.
41577         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
41578         and extra2_name.
41579         (COMMON_TEST_SETUP): New macro.
41580         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
41581         (COMMON_TEST_CLEANUP): Likewise.
41582         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
41583         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
41584         macros.
41585         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
41586         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
41587         macros.
41588         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
41589         (RUN_TEST_fff_f): Take argument string.  Call new setup and
41590         cleanup macros.
41591         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
41592         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
41593         macros.
41594         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
41595         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
41596         macros.
41597         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
41598         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
41599         cleanup macros.
41600         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
41601         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
41602         cleanup macros.
41603         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
41604         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
41605         cleanup macros.
41606         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
41607         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
41608         macros.
41609         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
41610         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
41611         macros.
41612         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
41613         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
41614         macros.
41615         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
41616         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
41617         cleanup macros.
41618         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
41619         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
41620         cleanup macros.
41621         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
41622         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
41623         macros.
41624         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
41625         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
41626         cleanup macros.
41627         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
41628         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
41629         macros.
41630         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
41631         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
41632         macros.
41633         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
41634         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
41635         cleanup macros.
41636         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
41638 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
41640         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
41641         to _sifields.sigfault.
41642         (si_addr_lsb): Define new macro.
41643         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41644         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41645         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
41647 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
41649         [BZ #15441]
41650         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
41651         returns -1.
41652         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
41653         null return -1.
41654         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
41655         loading the domain.
41657 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
41659         * math/gen-libm-test.pl (parse_args): Do not include expected
41660         result in test name.
41661         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
41662         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41663         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41664         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41665         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41668 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41670         * benchtests/Makefile: Sort function entries.
41672         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
41673         tanh, asinh, acosh, atanh.
41674         * benchtests/acos-inputs: New file.
41675         * benchtests/acosh-inputs: New file.
41676         * benchtests/asin-inputs: New file.
41677         * benchtests/asinh-inputs: New file.
41678         * benchtests/atanh-inputs: New file.
41679         * benchtests/cosh-inputs: New file.
41680         * benchtests/log-inputs: New file.
41681         * benchtests/sinh-inputs: New file.
41682         * benchtests/tanh-inputs: New file.
41684 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
41686         [BZ #15339]
41687         * posix/tst-getaddrinfo4.c: New test.
41688         * posix/Makefile (tests): Add it.
41690 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41692         [BZ #15339]
41693         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
41694         when no services were used.
41695         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
41696         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
41698 2013-05-21  Andreas Schwab  <schwab@suse.de>
41700         [BZ #15014]
41701         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
41702         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
41703         successful.
41704         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
41705         redundant variable declarations and reallocation of buffer when
41706         parsing as IPv6 address.  Always set NSS status when called from
41707         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
41708         buffer too small.  Correct computation of needed size.
41709         * nss/Makefile (tests): Add test-digits-dots.
41710         * nss/test-digits-dots.c: New test.
41712 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41714         * benchtests/Makefile: Remove instructions for adding
41715         benchmark tests.
41716         * benchtests/README: New file to explain how to execute and
41717         enhance the benchmark tests.
41719 2013-05-21  Andreas Schwab  <schwab@suse.de>
41721         [BZ #15493]
41722         * setjmp/Makefile (tests): Add tst-sigsetjmp.
41723         * setjmp/tst-sigsetjmp.c: New test.
41725 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
41727         * sysdeps/x86_64/memset.S (memset): New implementation.
41728         (__bzero): Likewise.
41729         (__memset_tail): New function.
41731 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
41733         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
41734         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
41735         __memcpy_sse2_unaligned ifunc selection.
41736         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41737         Add memcpy-sse2-unaligned.S.
41738         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41739         Add: __memcpy_sse2_unaligned.
41741 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
41743         [BZ #15490]
41744         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41745         math_force_eval before restoring floating-point envrionment.
41746         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
41747         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
41748         Likewise.
41749         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
41750         <math_private.h>.
41751         (__nearbyintl): Use math_force_eval before restoring
41752         floating-point environment.
41753         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
41755         * math/gen-libm-test.pl (special_functions): Remove.
41756         (parse_args): Don't handle TEST_extra.  Handle functions with no
41757         return value.
41758         * math/libm-test.inc (struct test_sincos_data): Replace with
41759         struct test_fFF_11_data.
41760         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
41761         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
41762         (sincos_test_data): Change element type to struct
41763         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
41764         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
41765         RUN_TEST_LOOP_sincos.
41766         * math/README.libm-test: Don't mention special handling of
41767         individual functions.
41768         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
41769         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41770         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41771         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41772         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41775         * math/gen-libm-test.pl (get_variable): Remove function.
41776         (parse_args): Don't show pointer parameters to call in test
41777         names.  Use "extra output N" in test names for extra outputs
41778         rather than naming variables.
41780 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
41782         [BZ #15488]
41783         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
41784         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
41785         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
41786         double tests.
41787         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
41788         disable.
41789         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
41790         check_long_double.
41792         * math/gen-libm-test.pl (@tests): Remove variable.
41793         ($count): Likewise.
41794         (new_test): Remove function.
41795         (show_exceptions): New function.
41796         (special_functions): Use show_exceptions instead of new_test.
41797         (parse_args): Likewise.
41798         (generate_testfile): Pass only function name in generated call to
41799         print_max_error or print_complex_max_error.
41800         (get_ulps): Do not handle complex tests specially.
41801         (output_test): Rename to ...
41802         (get_all_ulps_for_test): ... this.  Return a string rather than
41803         printing to a file.  Require ulps to be present.
41804         (output_ulps): Generate arrays rather than #defines.
41805         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
41806         (struct ulp_data): New type.
41807         (BUILD_COMPLEX_ULP): Remove macro.
41808         (compare_ulp_data): New function.
41809         (find_ulps): Likewise.
41810         (find_test_ulps): Likewise.
41811         (find_function_ulps): Likewise.
41812         (find_complex_function_ulps): Likewise.
41813         (print_max_error): Determine allowed ulps using
41814         find_function_ulps.
41815         (print_complex_max_error): Determine allowed ulps using
41816         find_complex_function_ulps.
41817         (check_float_internal): Determine max ulps using find_test_ulps.
41818         (check_float): Do not take max_ulp parameter.  Update call to
41819         check_float_internal.
41820         (check_complex): Likewise.
41821         (check_int): Do not take max_ulp parameter.
41822         (check_long): Likewise.
41823         (check_bool): Likewise.
41824         (check_longlong): Likewise.
41825         (struct test_f_f_data): Remove max_ulp field.
41826         (struct test_ff_f_data): Likewise.
41827         (struct test_ff_f_data_nexttoward): Likewise.
41828         (struct test_fi_f_data): Likewise.
41829         (struct test_fl_f_data): Likewise.
41830         (struct test_if_f_data): Likewise.
41831         (struct test_fff_f_data): Likewise.
41832         (struct test_c_f_data): Likewise.
41833         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
41834         (struct test_fF_f1_data): Likewise.
41835         (struct test_ffI_f1_data): Likewise.
41836         (struct test_c_c_data): Remove max_ulp field.
41837         (struct test_cc_c_data): Likewise.
41838         (struct test_f_i_data): Likewise.
41839         (struct test_ff_i_data): Likewise.
41840         (struct test_f_l_data): Likewise.
41841         (struct test_f_L_data): Likewise.
41842         (struct test_sincos_data): Likewise.
41843         (RUN_TEST_f_f): Do not handle ulps.
41844         (RUN_TEST_LOOP_f_f): Likewise.
41845         (RUN_TEST_2_f): Likewise.
41846         (RUN_TEST_LOOP_2_f): Likewise.
41847         (RUN_TEST_fff_f): Likewise.
41848         (RUN_TEST_LOOP_fff_f): Likewise.
41849         (RUN_TEST_c_f): Likewise.
41850         (RUN_TEST_LOOP_c_f): Likewise.
41851         (RUN_TEST_f_f1): Likewise.
41852         (RUN_TEST_LOOP_f_f1): Likewise.
41853         (RUN_TEST_fF_f1): Likewise.
41854         (RUN_TEST_LOOP_fF_f1): Likewise.
41855         (RUN_TEST_fI_f1): Likewise.
41856         (RUN_TEST_LOOP_fI_f1): Likewise.
41857         (RUN_TEST_ffI_f1): Likewise.
41858         (RUN_TEST_LOOP_ffI_f1): Likewise.
41859         (RUN_TEST_c_c): Likewise.
41860         (RUN_TEST_LOOP_c_c): Likewise.
41861         (RUN_TEST_cc_c): Likewise.
41862         (RUN_TEST_LOOP_cc_c): Likewise.
41863         (RUN_TEST_f_i): Likewise.
41864         (RUN_TEST_LOOP_f_i): Likewise.
41865         (RUN_TEST_f_i_tg): Likewise.
41866         (RUN_TEST_LOOP_f_i_tg): Likewise.
41867         (RUN_TEST_ff_i_tg): Likewise.
41868         (RUN_TEST_LOOP_ff_i_tg): Likewise.
41869         (RUN_TEST_f_b): Likewise.
41870         (RUN_TEST_LOOP_f_b): Likewise.
41871         (RUN_TEST_f_b_tg): Likewise.
41872         (RUN_TEST_LOOP_f_b_tg): Likewise.
41873         (RUN_TEST_f_l): Likewise.
41874         (RUN_TEST_LOOP_f_l): Likewise.
41875         (RUN_TEST_f_L): Likewise.
41876         (RUN_TEST_LOOP_f_L): Likewise.
41877         (RUN_TEST_sincos): Likewise.
41878         (RUN_TEST_LOOP_sincos): Likewise.
41880 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
41882         [BZ #15480]
41883         [BZ #15485]
41884         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
41885         main case of finite arguments, set rounding mode to FE_TONEAREST
41886         and discard exceptions.
41887         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
41888         exceptions.
41889         (remainder_tonearest_test_data): New variable.
41890         (remainder_test_tonearest): New function.
41891         (remainder_towardzero_test_data): New variable.
41892         (remainder_test_towardzero): New function.
41893         (remainder_downward_test_data): New variable.
41894         (remainder_test_downward): New function.
41895         (remainder_upward_test_data): New variable.
41896         (remainder_test_upward): New function.
41897         (main): Call the new test functions.
41899         * math/libm-test.inc (struct test_f_f1_data): Remove field
41900         extra_init.
41901         (struct test_fF_f1_data): Likewise.
41902         (struct test_ffI_f1_data): Likewise.
41903         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
41904         based on value of EXTRA_EXPECTED.
41905         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
41906         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
41907         EXTRA_VAR based on value of EXTRA_EXPECTED.
41908         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
41909         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
41910         EXTRA_VAR based on value of EXTRA_EXPECTED.
41911         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
41912         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
41913         EXTRA_VAR based on value of EXTRA_EXPECTED.
41914         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
41915         * math/gen-libm-test.pl (parse_args): Don't output initializers
41916         for extra output values.
41918         * math/libm-test.inc (check_int): Expect result to be exactly
41919         equal to expected value and do not handle ulps.
41920         (check_long): Likewise.
41921         (check_longlong): Likewise.
41923         * math/libm-test.inc (ceil_test_data): Test for "inexact"
41924         exceptions.
41925         (cimag_test_data): Likewise.
41926         (conj_test_data): Likewise.
41927         (copysign_test_data): Likewise.
41928         (cproj_test_data): Likewise.
41929         (creal_test_data): Likewise.
41930         (fabs_test_data): Likewise.
41931         (fdim_test_data): Likewise.
41932         (finite_test_data): Likewise.
41933         (floor_test_data): Likewise.
41934         (fmax_test_data): Likewise.
41935         (fmin_test_data): Likewise.
41936         (fmod_test_data): Likewise.
41937         (fpclassify_test_data): Likewise.
41938         (frexp_test_data): Likewise.
41939         (ilogb_test_data): Likewise.
41940         (isfinite_test_data): Likewise.
41941         (isgreater_test_data): Likewise.
41942         (isgreaterequal_test_data): Likewise.
41943         (isinf_test_data): Likewise.
41944         (isless_test_data): Likewise.
41945         (islessequal_test_data): Likewise.
41946         (islessgreater_test_data): Likewise.
41947         (isnan_test_data): Likewise.
41948         (isnormal_test_data): Likewise.
41949         (issignaling_test_data): Likewise.
41950         (isunordered_test_data): Likewise.
41951         (ldexp_test_data): Likewise.
41952         (lrint_test_data): Likewise.
41953         (lrint_test_data) [TEST_FLOAT]: Disable one test.
41954         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
41955         (lrint_tonearest_test_data): Test for "inexact" exceptions.
41956         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
41957         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
41958         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
41959         test input.
41960         (lrint_towardzero_test_data): Test for "inexact" exceptions.
41961         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
41962         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
41963         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
41964         that test input.
41965         (lrint_downward_test_data): Test for "inexact" exceptions.
41966         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
41967         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
41968         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
41969         test input.
41970         (lrint_upward_test_data): Test for "inexact" exceptions.
41971         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
41972         test input.
41973         (llrint_test_data): Test for "inexact" exceptions.
41974         (llrint_test_data) [TEST_FLOAT]: Disable one test.
41975         (llrint_tonearest_test_data): Test for "inexact" exceptions.
41976         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
41977         (llrint_towardzero_test_data): Test for "inexact" exceptions.
41978         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
41979         (llrint_downward_test_data): Test for "inexact" exceptions.
41980         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
41981         (llrint_upward_test_data): Test for "inexact" exceptions.
41982         (logb_test_data): Likewise.
41983         (logb_downward_test_data): Likewise.
41984         (nextafter_test_data): Likewise.
41985         (nexttoward_test_data): Likewise.
41986         (remainder_test_data): Likewise.
41987         (remquo_test_data): Likewise.
41988         (scalbn_test_data): Likewise.
41989         (scalbln_test_data): Likewise.
41990         (signbit_test_data): Likewise.
41991         (sqrt_test_data): Likewise.
41992         (significand_test_data): Likewise.
41994 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41996         [BZ #15424]
41997         * benchtests/bench-modf.c (struct args): Mark arg0 as
41998         volatile.
41999         * scripts/bench.pl: Mark members of struct args as volatile.
42001 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42003         [BZ # 15497]
42004         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
42005         negative infinity on POWER6 or lower.
42006         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
42008 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
42010         [BZ #15442]
42011         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
42012         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
42013         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
42014         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
42015         (_FP_SETQNAN): New macro.
42016         (_FP_SETQNAN_SEMIRAW): Likewise.
42017         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
42018         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
42019         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
42020         (FP_EXTEND): Use _FP_FRAC_SNANP.
42021         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
42022         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
42023         into account.
42024         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42025         New macro.
42026         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42027         Likewise.
42029 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42031         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
42032         with DIVIDE_BY_ZERO_EXCEPTION.
42033         (gamma_test_data): Likewise.
42034         (lgamma_test_data): Likewise.
42035         (log_test_data): Likewise.
42036         (log10_test_data): Likewise.
42037         (log2_test_data): Likewise.
42038         (tgamma_test_data): Likewise.
42040         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
42041         (acos_test_tonearest): Likewise.
42042         (acos_test_towardzero): Likewise.
42043         (acos_test_downward): Likewise.
42044         (acos_test_upward): Likewise.
42045         (acosh_test): Likewise.
42046         (asin_test): Likewise.
42047         (asin_test_tonearest): Likewise.
42048         (asin_test_towardzero): Likewise.
42049         (asin_test_downward): Likewise.
42050         (asin_test_upward): Likewise.
42051         (asinh_test): Likewise.
42052         (atan_test): Likewise.
42053         (atanh_test): Likewise.
42054         (atan2_test): Likewise.
42055         (cabs_test): Likewise.
42056         (cacos_test): Likewise.
42057         (cacosh_test): Likewise.
42058         (casin_test): Likewise.
42059         (casinh_test): Likewise.
42060         (catan_test): Likewise.
42061         (catanh_test): Likewise.
42062         (cbrt_test): Likewise.
42063         (ccos_test): Likewise.
42064         (ccosh_test): Likewise.
42065         (cexp_test): Likewise.
42066         (clog_test): Likewise.
42067         (clog10_test): Likewise.
42068         (cos_test): Likewise.
42069         (cos_test_tonearest): Likewise.
42070         (cos_test_towardzero): Likewise.
42071         (cos_test_downward): Likewise.
42072         (cos_test_upward): Likewise.
42073         (cosh_test): Likewise.
42074         (cosh_test_tonearest): Likewise.
42075         (cosh_test_towardzero): Likewise.
42076         (cosh_test_downward): Likewise.
42077         (cosh_test_upward): Likewise.
42078         (cpow_test): Likewise.
42079         (csin_test): Likewise.
42080         (csinh_test): Likewise.
42081         (csqrt_test): Likewise.
42082         (ctan_test): Likewise.
42083         (ctan_test_tonearest): Likewise.
42084         (ctan_test_towardzero): Likewise.
42085         (ctan_test_downward): Likewise.
42086         (ctan_test_upward): Likewise.
42087         (ctanh_test): Likewise.
42088         (ctanh_test_tonearest): Likewise.
42089         (ctanh_test_towardzero): Likewise.
42090         (ctanh_test_downward): Likewise.
42091         (ctanh_test_upward): Likewise.
42092         (erf_test): Likewise.
42093         (erfc_test): Likewise.
42094         (exp_test): Likewise.
42095         (exp_test_tonearest): Likewise.
42096         (exp_test_towardzero): Likewise.
42097         (exp_test_downward): Likewise.
42098         (exp_test_upward): Likewise.
42099         (exp10_test): Likewise.
42100         (exp2_test): Likewise.
42101         (expm1_test): Likewise.
42102         (fmod_test): Likewise.
42103         (gamma_test): Likewise.
42104         (hypot_test): Likewise.
42105         (j0_test): Likewise.
42106         (j1_test): Likewise.
42107         (jn_test): Likewise.
42108         (lgamma_test): Likewise.
42109         (log_test): Likewise.
42110         (log10_test): Likewise.
42111         (log1p_test): Likewise.
42112         (log2_test): Likewise.
42113         (logb_test_downward): Likewise.
42114         (pow_test): Likewise.
42115         (pow_test_tonearest): Likewise.
42116         (pow_test_towardzero): Likewise.
42117         (pow_test_downward): Likewise.
42118         (pow_test_upward): Likewise.
42119         (remainder_test): Likewise.
42120         (remquo_test): Likewise.
42121         (sin_test): Likewise.
42122         (sin_test_tonearest): Likewise.
42123         (sin_test_towardzero): Likewise.
42124         (sin_test_downward): Likewise.
42125         (sin_test_upward): Likewise.
42126         (sincos_test): Likewise.
42127         (sinh_test): Likewise.
42128         (sinh_test_tonearest): Likewise.
42129         (sinh_test_towardzero): Likewise.
42130         (sinh_test_downward): Likewise.
42131         (sinh_test_upward): Likewise.
42132         (sqrt_test): Likewise.
42133         (tan_test): Likewise.
42134         (tan_test_tonearest): Likewise.
42135         (tan_test_towardzero): Likewise.
42136         (tan_test_downward): Likewise.
42137         (tan_test_upward): Likewise.
42138         (tanh_test): Likewise.
42139         (tgamma_test): Likewise.
42140         (y0_test): Likewise.
42141         (y1_test): Likewise.
42142         (yn_test): Likewise.
42144         * math/gen-libm-test.pl (adjust_arg): Remove function.
42145         (special_function): Remove argument $in_func.  Only handle
42146         generating output for tables of tests, not inside functions.
42147         (parse_args): Likewise.
42148         (generate_testfile): Remove variable $in_func.  Update call to
42149         parse_args.
42150         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
42151         (MINUS_ZERO_INIT): Rename macro to minus_zero.
42152         (PLUS_INFTY_INIT): Rename macro to plus_infty.
42153         (MINUS_INFTY_INIT): Rename macro to minus_infty.
42154         (QNAN_VALUE_INIT): Rename macro to qnan_value.
42155         (MAX_VALUE_INIT): Rename macro to max_value.
42156         (MIN_VALUE_INIT): Rename macro to min_value.
42157         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
42158         (plus_zero): Remove variable.
42159         (minus_zero): Likewise.
42160         (plus_infty): Likewise.
42161         (minus_infty): Likewise.
42162         (qnan_value): Likewise.
42163         (max_value): Likewise.
42164         (min_value): Likewise.
42165         (min_subnorm_value): Likewise.
42167 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42169         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
42170         uint64_t or uint32_t usage.
42171         * crypt/sha256-block.c: Likewise.
42172         * crypt/sha256-crypt.c: Likewise.
42173         * crypt/sha256.c: Likewise.
42174         * crypt/sha512-block.c: Likewise.
42175         * crypt/sha512-crypt.c: Likewise.
42176         * crypt/sha512.c: Likewise.
42177         * debug/backtrace-tst.c: Likewise.
42178         * debug/pcprofiledump.c: Likewise.
42179         * elf/cache.c: Likewise.
42180         * elf/dl-cache.c: Likewise.
42181         * elf/dl-misc.c: Likewise.
42182         * elf/dl-profile.c: Likewise.
42183         * elf/dl-support.c: Likewise.
42184         * elf/ldconfig.c: Likewise.
42185         * elf/sprof.c: Likewise.
42186         * iconv/dummy-repertoire.c: Likewise.
42187         * iconv/iconv_charmap.c: Likewise.
42188         * iconv/skeleton.c: Likewise.
42189         * iconvdata/8bit-generic.c: Likewise.
42190         * iconvdata/cp737.h: Likewise.
42191         * iconvdata/cp775.h: Likewise.
42192         * iconvdata/ibm1008.h: Likewise.
42193         * iconvdata/ibm1025.h: Likewise.
42194         * iconvdata/ibm1046.h: Likewise.
42195         * iconvdata/ibm1097.h: Likewise.
42196         * iconvdata/ibm1112.h: Likewise.
42197         * iconvdata/ibm1122.h: Likewise.
42198         * iconvdata/ibm1123.h: Likewise.
42199         * iconvdata/ibm1124.h: Likewise.
42200         * iconvdata/ibm1129.h: Likewise.
42201         * iconvdata/ibm1130.h: Likewise.
42202         * iconvdata/ibm1132.h: Likewise.
42203         * iconvdata/ibm1133.h: Likewise.
42204         * iconvdata/ibm1137.h: Likewise.
42205         * iconvdata/ibm1140.h: Likewise.
42206         * iconvdata/ibm1141.h: Likewise.
42207         * iconvdata/ibm1142.h: Likewise.
42208         * iconvdata/ibm1143.h: Likewise.
42209         * iconvdata/ibm1144.h: Likewise.
42210         * iconvdata/ibm1145.h: Likewise.
42211         * iconvdata/ibm1146.h: Likewise.
42212         * iconvdata/ibm1147.h: Likewise.
42213         * iconvdata/ibm1148.h: Likewise.
42214         * iconvdata/ibm1149.h: Likewise.
42215         * iconvdata/ibm1153.h: Likewise.
42216         * iconvdata/ibm1154.h: Likewise.
42217         * iconvdata/ibm1155.h: Likewise.
42218         * iconvdata/ibm1156.h: Likewise.
42219         * iconvdata/ibm1157.h: Likewise.
42220         * iconvdata/ibm1158.h: Likewise.
42221         * iconvdata/ibm1160.h: Likewise.
42222         * iconvdata/ibm1161.h: Likewise.
42223         * iconvdata/ibm1162.h: Likewise.
42224         * iconvdata/ibm1163.h: Likewise.
42225         * iconvdata/ibm1164.h: Likewise.
42226         * iconvdata/ibm1166.h: Likewise.
42227         * iconvdata/ibm1167.h: Likewise.
42228         * iconvdata/ibm12712.h: Likewise.
42229         * iconvdata/ibm1390.h: Likewise.
42230         * iconvdata/ibm1399.h: Likewise.
42231         * iconvdata/ibm16804.h: Likewise.
42232         * iconvdata/ibm4517.h: Likewise.
42233         * iconvdata/ibm4899.h: Likewise.
42234         * iconvdata/ibm4909.h: Likewise.
42235         * iconvdata/ibm4971.h: Likewise.
42236         * iconvdata/ibm5347.h: Likewise.
42237         * iconvdata/ibm803.h: Likewise.
42238         * iconvdata/ibm856.h: Likewise.
42239         * iconvdata/ibm901.h: Likewise.
42240         * iconvdata/ibm902.h: Likewise.
42241         * iconvdata/ibm9030.h: Likewise.
42242         * iconvdata/ibm9066.h: Likewise.
42243         * iconvdata/ibm921.h: Likewise.
42244         * iconvdata/ibm922.h: Likewise.
42245         * iconvdata/ibm9448.h: Likewise.
42246         * iconvdata/isiri-3342.h: Likewise.
42247         * iconvdata/jis0201.h: Likewise.
42248         * include/link.h: Likewise.
42249         * include/netdb.h: Likewise.
42250         * inet/check_native.c: Likewise.
42251         * inet/check_pf.c: Likewise.
42252         * inet/getipv4sourcefilter.c: Likewise.
42253         * inet/getnameinfo.c: Likewise.
42254         * inet/getsourcefilter.c: Likewise.
42255         * inet/htonl.c: Likewise.
42256         * inet/setipv4sourcefilter.c: Likewise.
42257         * inet/setsourcefilter.c: Likewise.
42258         * inet/test-inet6_opt.c: Likewise.
42259         * inet/tst-network.c: Likewise.
42260         * locale/C-collate.c: Likewise.
42261         * locale/C-ctype.c: Likewise.
42262         * locale/C-time.c: Likewise.
42263         * locale/C-translit.h: Likewise.
42264         * locale/loadarchive.c: Likewise.
42265         * locale/programs/3level.h: Likewise.
42266         * locale/programs/charmap.c: Likewise.
42267         * locale/programs/charmap.h: Likewise.
42268         * locale/programs/ld-address.c: Likewise.
42269         * locale/programs/ld-collate.c: Likewise.
42270         * locale/programs/ld-ctype.c: Likewise.
42271         * locale/programs/ld-identification.c: Likewise.
42272         * locale/programs/ld-measurement.c: Likewise.
42273         * locale/programs/ld-messages.c: Likewise.
42274         * locale/programs/ld-monetary.c: Likewise.
42275         * locale/programs/ld-name.c: Likewise.
42276         * locale/programs/ld-numeric.c: Likewise.
42277         * locale/programs/ld-paper.c: Likewise.
42278         * locale/programs/ld-telephone.c: Likewise.
42279         * locale/programs/ld-time.c: Likewise.
42280         * locale/programs/linereader.c: Likewise.
42281         * locale/programs/locale.c: Likewise.
42282         * locale/programs/locarchive.c: Likewise.
42283         * locale/programs/locfile.h: Likewise.
42284         * locale/programs/repertoire.c: Likewise.
42285         * locale/programs/simple-hash.c: Likewise.
42286         * locale/programs/simple-hash.h: Likewise.
42287         * malloc/memusage.c: Likewise.
42288         * malloc/memusagestat.c: Likewise.
42289         * nis/nis_defaults.c: Likewise.
42290         * nis/nis_hash.c: Likewise.
42291         * nis/nis_print.c: Likewise.
42292         * nis/nis_xdr.c: Likewise.
42293         * nscd/connections.c: Likewise.
42294         * nscd/hstcache.c: Likewise.
42295         * nscd/nscd_gethst_r.c: Likewise.
42296         * nscd/nscd_getserv_r.c: Likewise.
42297         * nscd/nscd_helper.c: Likewise.
42298         * nscd/servicescache.c: Likewise.
42299         * nss/makedb.c: Likewise.
42300         * nss/nss_db/db-XXX.c: Likewise.
42301         * nss/nss_db/db-initgroups.c: Likewise.
42302         * nss/nss_db/db-netgrp.c: Likewise.
42303         * nss/nss_files/files-network.c: Likewise.
42304         * nss/nss_files/files-parse.c: Likewise.
42305         * posix/bug-regex5.c: Likewise.
42306         * posix/fnmatch_loop.c: Likewise.
42307         * posix/regcomp.c: Likewise.
42308         * posix/regexec.c: Likewise.
42309         * posix/tst-rfc3484-2.c: Likewise.
42310         * posix/tst-rfc3484-3.c: Likewise.
42311         * posix/tst-rfc3484.c: Likewise.
42312         * resolv/nss_dns/dns-canon.c: Likewise.
42313         * resolv/nss_dns/dns-network.c: Likewise.
42314         * resolv/res_init.c: Likewise.
42315         * resolv/res_mkquery.c: Likewise.
42316         * resolv/tst-aton.c: Likewise.
42317         * stdlib/cxa_atexit.c: Likewise.
42318         * stdlib/cxa_finalize.c: Likewise.
42319         * stdlib/gen-fpioconst.c: Likewise.
42320         * stdlib/strtol_l.c: Likewise.
42321         * string/tst-endian.c: Likewise.
42322         * sunrpc/auth_des.c: Likewise.
42323         * sunrpc/clnt_udp.c: Likewise.
42324         * sunrpc/rtime.c: Likewise.
42325         * sunrpc/svcauth_des.c: Likewise.
42326         * sunrpc/xdr.c: Likewise.
42327         * sunrpc/xdr_intXX_t.c: Likewise.
42328         * sunrpc/xdr_rec.c: Likewise.
42329         * sysdeps/generic/ldconfig.h: Likewise.
42330         * sysdeps/generic/ldsodefs.h: Likewise.
42331         * sysdeps/generic/memusage.h: Likewise.
42332         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42333         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
42334         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
42335         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42336         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42337         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42338         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42339         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42340         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42341         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42342         * sysdeps/posix/getaddrinfo.c: Likewise.
42343         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42344         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42345         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42346         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42347         * sysdeps/powerpc/test-gettimebase.c: Likewise.
42348         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42349         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
42350         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
42351         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42352         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
42353         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42354         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42355         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
42356         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
42357         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
42358         * sysdeps/x86_64/dl-tls.h: Likewise.
42359         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
42360         * time/alt_digit.c: Likewise.
42361         * time/era.c: Likewise.
42362         * wcsmbs/tst-c16c32-1.c: Likewise.
42364 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42366         * math/libm-test.inc (struct test_sincos_data): New type.
42367         (RUN_TEST_LOOP_sincos): New macro.
42368         (sincos_test_data): New variable.
42369         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
42371 2013-05-16  Richard Henderson  <rth@redhat.com>
42373         * math/atest-exp2.c (LIMB64): New macro.
42374         (CONSTSZ): New macro.
42375         (mp_exp1, mp_exp_m1, mp_log2): New variables.
42376         (hexdig): Move ...
42377         (print_mpn_fp): ... to function scope.
42378         (read_mpn_hex): Remove.
42379         (get_log2): Remove.
42380         (exp2_mpn): Use mp_log2.
42381         (main): Use mp_exp1.
42383 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42385         * math/libm-test.inc: Remove comment about not testing "inexact"
42386         exceptions.
42387         (INEXACT_EXCEPTION): New macro.
42388         (NO_INEXACT_EXCEPTION): Likewise.
42389         (INVALID_EXCEPTION_OK): Update value.
42390         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42391         (OVERFLOW_EXCEPTION_OK): Likewise.
42392         (UNDERFLOW_EXCEPTION_OK): Likewise.
42393         (IGNORE_ZERO_INF_SIGN): Likewise.
42394         (ERRNO_UNCHANGED): Likewise.
42395         (ERRNO_EDOM): Likewise.
42396         (ERRNO_ERANGE): Likewise.
42397         (test_exceptions): Handle testing "inexact" exceptions.
42398         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
42399         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
42400         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
42401         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
42402         INEXACT_EXCEPTION.
42403         (rint_towardzero_test_data): Likewise.
42404         (rint_downward_test_data): Likewise.
42405         (rint_upward_test_data): Likewise.
42407         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
42408         with OVERFLOW_EXCEPTION.
42409         (exp10_test_data): Likewise.
42410         (exp2_test_data): Likewise.
42411         (expm1_test_data): Likewise.
42412         (lgamma_test_data): Likewise.
42413         (pow_test_data): Likewise.
42414         (tgamma_test_data): Likewise.
42415         (yn_test_data): Remove duplicate test of overflow.
42417         * math/libm-test.inc (struct test_cc_c_data): New type.
42418         (RUN_TEST_LOOP_cc_c): New macro.
42419         (cpow_test_data): New variable.
42420         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
42422         * math/libm-test.inc (struct test_f_L_data): New type.
42423         (RUN_TEST_LOOP_f_L): New macro.
42424         (llrint_test_data): New variable.
42425         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
42426         (llrint_tonearest_test_data): New variable.
42427         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
42428         (llrint_towardzero_test_data): New variable.
42429         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
42430         (llrint_downward_test_data): New variable.
42431         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
42432         (llrint_upward_test_data): New variable.
42433         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
42434         (llround_test_data): New variable.
42435         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
42437 2013-05-13  Peter Collingbourne  <pcc@google.com>
42439         * math/atest-exp2.c (get_log2): Remove const attribute.
42441 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42443         * math/libm-test.inc (struct test_f_l_data): New type.
42444         (RUN_TEST_LOOP_f_l): New macro.
42445         (lrint_test_data): New variable.
42446         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
42447         (lrint_tonearest_test_data): New variable.
42448         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
42449         (lrint_towardzero_test_data): New variable.
42450         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
42451         (lrint_downward_test_data): New variable.
42452         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
42453         (lrint_upward_test_data): New variable.
42454         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
42455         (lround_test_data): New variable.
42456         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
42458 2013-05-15  Peter Collingbourne  <pcc@google.com>
42460         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
42461         (EXTRACT_WORDS64) Use where appropriate.
42462         (INSERT_WORDS64) Likewise.
42464         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
42465         constraints with x constraints.
42466         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
42468         * malloc/obstack.c (_obstack_compat): Add initializer.
42470 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42472         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
42473         si_trapno and add si_addr_lsb to _sifields.sigfault.
42474         (si_trapno): Remove macro.
42475         (si_addr_lsb): Define new macro.
42476         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42478 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42480         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
42481         instead of TEST_f_l.
42482         (llrint_test_tonearest): Likewise.
42483         (llrint_test_towardzero): Likewise.
42484         (llrint_test_downward): Likewise.
42485         (llrint_test_upward): Likewise.
42486         (llround_test): Likewise.
42488         * math/libm-test.inc (struct test_f_i_data): Add comment.
42489         (RUN_TEST_LOOP_f_b): New macro.
42490         (RUN_TEST_LOOP_f_b_tg): Likewise.
42491         (finite_test_data): New variable.
42492         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
42493         (isfinite_test_data): New variable.
42494         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42495         (isinf_test_data): New variable.
42496         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42497         (isnan_test_data): New variable.
42498         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42499         (isnormal_test_data): New variable.
42500         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42501         (issignaling_test_data): New variable.
42502         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42503         (signbit_test_data): New variable.
42504         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42506         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
42507         with INVALID_EXCEPTION.
42508         (acosh_test_data): Likewise.
42509         (asin_test_data): Likewise.
42510         (atanh_test_data): Likewise.
42511         (fmod_test_data): Likewise.
42512         (log_test_data): Likewise.
42513         (log10_test_data): Likewise.
42514         (log2_test_data): Likewise.
42515         (pow_test_data): Likewise.
42516         (sqrt_test_data): Likewise.
42517         (y0_test_data): Likewise.
42518         (y1_test_data): Likewise.
42519         (yn_test_data): Likewise.
42521         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
42522         function contents.
42524         * math/libm-test.inc (struct test_ff_i_data): New type.
42525         (RUN_TEST_LOOP_ff_i_tg): New macro.
42526         (isgreater_test_data): New variable.
42527         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42528         (isgreaterequal_test_data): New variable.
42529         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42530         (isless_test_data): New variable.
42531         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42532         (islessequal_test_data): New variable.
42533         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42534         (islessgreater_test_data): New variable.
42535         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42536         (isunordered_test_data): New variable.
42537         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42539 2013-05-14  David S. Miller  <davem@davemloft.net>
42541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42543 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
42545         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
42547         * math/libm-test.inc (struct test_fF_f1_data): Change type of
42548         extra_test to int.
42549         (struct test_f_i_data): Change type of max_ulp to int.
42551         * math/libm-test.inc (test_ffI_f1_data): New type.
42552         (RUN_TEST_LOOP_ffI_f1): New macro.
42553         (remquo_test_data): New variable.
42554         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
42556         * setjmp/tst-setjmp-fp.c: New file.
42557         * setjmp/Makefile (tests): Add tst-setjmp-fp.
42558         (link-libm): New variable.
42559         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
42561         * math/libm-test.inc (struct test_f_i_data): New type.
42562         (RUN_TEST_LOOP_f_i): New macro.
42563         (RUN_TEST_LOOP_f_i_tg): Likewise.
42564         (fpclassify_test_data): New variable.
42565         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
42566         (ilogb_test_data): New variable.
42567         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
42569         * math/libm-test.inc (scalbln_test): Correct function name in END
42570         call.
42572         * math/libm-test.inc (struct test_f_f1_data): Add comment.
42573         (RUN_TEST_LOOP_fI_f1): New macro.
42574         (frexp_test_data): New variable.
42575         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
42577         * math/libm-test.inc (struct test_fF_f1_data): New type.
42578         (RUN_TEST_LOOP_fF_f1): New macro.
42579         (modf_test_data): New variable.
42580         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
42582         * math/libm-test.inc (struct test_f_f1_data): New type.
42583         (RUN_TEST_LOOP_f_f1): New macro.
42584         (gamma_test_data): New variable.
42585         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42586         (lgamma_test_data): New variable.
42587         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42589 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
42591         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
42592         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
42593         (main): Comment "tls" pseudo-hwcap.
42595 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
42597         * math/libm-test.inc (struct test_fl_f_data): New type.
42598         (RUN_TEST_LOOP_fl_f): New variable.
42599         (scalbln_test_data): New variable.
42600         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
42602         * math/libm-test.inc (struct test_fi_f_data): New type.
42603         (RUN_TEST_LOOP_fi_f): New macro.
42604         (ldexp_test_data): New variable.
42605         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
42606         (scalbn_test_data): New variable.
42607         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
42609         * math/libm-test.inc (struct test_c_f_data): New type.
42610         (RUN_TEST_LOOP_c_f): New macro.
42611         (cabs_test_data): New variable.
42612         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
42613         (carg_test_data): New variable.
42614         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
42615         (cimag_test_data): New variable.
42616         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
42617         (creal_test_data): New variable.
42618         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
42620         * math/libm-test.inc (struct test_if_f_data): New type.
42621         (RUN_TEST_LOOP_if_f): New macro.
42622         (jn_test_data): New variable.
42623         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
42624         (yn_test_data): New variable.
42625         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
42627         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
42629 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42631         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
42632         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
42634 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42636         * benchtests/Makefile (CPPFLAGS-nonlib): Add
42637         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
42638         (bench-deps): Add bench-timing.h.
42639         * benchtests-bench-skeleton.c: Include bench-timing.h.
42640         (main): Use TIMING_* macros instead of clock_gettime.
42641         * benchtests/bench-timing.h: New file.
42643         [BZ #14582]
42644         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
42645         Renamed from _LIB_VERSION.
42646         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
42648 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
42650         * math/libm-test.inc (struct test_fff_f_data): New type.
42651         (RUN_TEST_LOOP_fff_f): New macro.
42652         (fma_test_data): New variable.
42653         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
42654         (fma_towardzero_test_data): New variable.
42655         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
42656         (fma_downward_test_data): New variable.
42657         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
42658         (fma_upward_test_data): New variable.
42659         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
42661         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
42662         (struct test_c_c_data): New type.
42663         (RUN_TEST_LOOP_c_c): New macro.
42664         (cacos_test_data): New variable.
42665         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
42666         (cacosh_test_data): New variable.
42667         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
42668         (casin_test_data): New variable.
42669         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
42670         (casinh_test_data): New variable.
42671         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
42672         (catan_test_data): New variable.
42673         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
42674         (catanh_test_data): New variable.
42675         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
42676         (ccos_test_data): New variable.
42677         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
42678         (ccosh_test_data): New variable.
42679         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
42680         (cexp_test_data): New variable.
42681         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
42682         (clog_test_data): New variable.
42683         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
42684         (clog10_test_data): New variable.
42685         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
42686         (conj_test_data): New variable.
42687         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
42688         (cproj_test_data): New variable.
42689         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
42690         (csin_test_data): New variable.
42691         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
42692         (csinh_test_data): New variable.
42693         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
42694         (csqrt_test_data): New variable.
42695         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
42696         (ctan_test_data): New variable.
42697         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
42698         (ctan_tonearest_test_data): New variable.
42699         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42700         (ctan_towardzero_test_data): New variable.
42701         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
42702         (ctan_downward_test_data): New variable.
42703         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
42704         (ctan_upward_test_data): New variable.
42705         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
42706         (ctanh_test_data): New variable.
42707         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
42708         (ctanh_tonearest_test_data): New variable.
42709         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42710         (ctanh_towardzero_test_data): New variable.
42711         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
42712         (ctanh_downward_test_data): New variable.
42713         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
42714         (ctanh_upward_test_data): New variable.
42715         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
42716         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
42717         of BUILD_COMPLEX.
42719         * math/libm-test.inc (struct test_ff_f_data): New type.
42720         (struct test_ff_f_data_nexttoward): Likewise.
42721         (RUN_TEST_LOOP_2_f): New macro.
42722         (RUN_TEST_LOOP_ff_f): Likewise.
42723         (atan2_test_data): New variable.
42724         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
42725         (copysign_test_data): New variable.
42726         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
42727         (fdim_test_data): New variable.
42728         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
42729         (fmax_test_data): New variable.
42730         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
42731         (fmin_test_data): New variable.
42732         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
42733         (fmod_test_data): New variable.
42734         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
42735         (hypot_test_data): New variable.
42736         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
42737         (nextafter_test_data): New variable.
42738         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
42739         (nexttoward_test_data): New variable.
42740         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
42741         (pow_test_data): New variable.
42742         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
42743         (pow_tonearest_test_data): New variable.
42744         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
42745         (pow_towardzero_test_data): New variable.
42746         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
42747         (pow_downward_test_data): New variable.
42748         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
42749         (pow_upward_test_data): New variable.
42750         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
42751         (remainder_test_data): New variable.
42752         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
42753         (scalb_test_data): New variable.
42754         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
42755         * sysdeps/i386/fpu/libm-test-ulps: Update.
42757 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
42759         * math/libm-test.inc (fma_test): Use max_value instead of local
42760         variable fltmax.
42761         (nextafter_test): Likewise.
42763         * math/libm-test.inc (acos_towardzero_test_data): New variable.
42764         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42765         (acos_downward_test_data): New variable.
42766         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42767         (acos_upward_test_data): New variable.
42768         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42769         (acosh_test_data): New variable.
42770         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
42771         (asin_test_data): New variable.
42772         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
42773         (asin_tonearest_test_data): New variable.
42774         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42775         (asin_towardzero_test_data): New variable.
42776         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42777         (asin_downward_test_data): New variable.
42778         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42779         (asin_upward_test_data): New variable.
42780         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42781         (asinh_test_data): New variable.
42782         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
42783         (atan_test_data): New variable.
42784         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
42785         (atanh_test_data): New variable.
42786         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
42787         (cbrt_test_data): New variable.
42788         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
42789         (ceil_test_data): New variable.
42790         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
42791         (cos_test_data): New variable.
42792         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
42793         (cos_tonearest_test_data): New variable.
42794         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42795         (cos_towardzero_test_data): New variable.
42796         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42797         (cos_downward_test_data): New variable.
42798         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42799         (cos_upward_test_data): New variable.
42800         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42801         (cosh_test_data): New variable.
42802         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
42803         (cosh_tonearest_test_data): New variable.
42804         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42805         (cosh_towardzero_test_data): New variable.
42806         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42807         (cosh_downward_test_data): New variable.
42808         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42809         (cosh_upward_test_data): New variable.
42810         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42811         (erf_test_data): New variable.
42812         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
42813         (erfc_test_data): New variable.
42814         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
42815         (exp_test_data): New variable.
42816         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
42817         (exp_tonearest_test_data): New variable.
42818         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42819         (exp_towardzero_test_data): New variable.
42820         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42821         (exp_downward_test_data): New variable.
42822         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42823         (exp_upward_test_data): New variable.
42824         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42825         (exp10_test_data): New variable.
42826         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
42827         (exp2_test_data): New variable.
42828         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
42829         (expm1_test_data): New variable.
42830         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
42831         (fabs_test_data): New variable.
42832         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
42833         (floor_test_data): New variable.
42834         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
42835         (j0_test_data): New variable.
42836         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
42837         (j1_test_data): New variable.
42838         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
42839         (log_test_data): New variable.
42840         (log_test): Run tests with RUN_TEST_LOOP_f_f.
42841         (log10_test_data): New variable.
42842         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
42843         (log1p_test_data): New variable.
42844         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
42845         (log2_test_data): New variable.
42846         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
42847         (logb_test_data): New variable.
42848         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
42849         (logb_downward_test_data): New variable.
42850         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42851         (nearbyint_test_data): New variable.
42852         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
42853         (rint_test_data): New variable.
42854         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
42855         (rint_tonearest_test_data): New variable.
42856         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42857         (rint_towardzero_test_data): New variable.
42858         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42859         (rint_downward_test_data): New variable.
42860         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42861         (rint_upward_test_data): New variable.
42862         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42863         (round_test_data): New variable.
42864         (round_test): Run tests with RUN_TEST_LOOP_f_f.
42865         (sin_test_data): New variable.
42866         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
42867         (sin_tonearest_test_data): New variable.
42868         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42869         (sin_towardzero_test_data): New variable.
42870         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42871         (sin_downward_test_data): New variable.
42872         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42873         (sin_upward_test_data): New variable.
42874         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42875         (sinh_test_data): New variable.
42876         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
42877         (sinh_tonearest_test_data): New variable.
42878         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42879         (sinh_towardzero_test_data): New variable.
42880         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42881         (sinh_downward_test_data): New variable.
42882         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42883         (sinh_upward_test_data): New variable.
42884         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42885         (sqrt_test_data): New variable.
42886         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
42887         (tan_test_data): New variable.
42888         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
42889         (tan_tonearest_test_data): New variable.
42890         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42891         (tan_towardzero_test_data): New variable.
42892         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42893         (tan_downward_test_data): New variable.
42894         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42895         (tan_upward_test_data): New variable.
42896         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42897         (tanh_test_data): New variable.
42898         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
42899         (tgamma_test_data): New variable.
42900         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
42901         (trunc_test_data): New variable.
42902         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
42903         (y0_test_data): New variable.
42904         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
42905         (y1_test_data): New variable.
42906         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
42907         (significand_test_data): New variable.
42908         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
42910 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
42912         [BZ #12387]
42913         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
42915 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42917         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
42919 2013-05-10  Andreas Jaeger  <aj@suse.de>
42921         [BZ #15448]
42922         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
42923         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
42925 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
42927         * math/gen-libm-test.pl (adjust_arg): New function.
42928         (special_functions): Handle generating output in both functions
42929         and arrays.
42930         (parse_args): Likewise.
42931         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
42932         $in_func argument to parse_args.
42933         * math/libm-test.inc (struct test_f_f_data): New type.
42934         (IF_ROUND_INIT_): New macro.
42935         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
42936         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42937         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42938         (IF_ROUND_INIT_FE_UPWARD): Likewise.
42939         (ROUND_RESTORE_): Likewise.
42940         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
42941         (ROUND_RESTORE_FE_TONEAREST): Likewise.
42942         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
42943         (ROUND_RESTORE_FE_UPWARD): Likewise.
42944         (RUN_TEST_LOOP_f_f): New macro.
42945         (acos_test_data): New variable.
42946         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
42947         (acos_tonearest_test_data): New variable.
42948         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42950 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42952         * benchtests/bench-skeleton.c (startup): Fix coding style.
42954 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
42956         [BZ #6809]
42957         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
42958         negative infinity argument.
42959         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
42960         negative infinity argument.
42961         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
42962         negative infinity argument.
42963         * math/libm-test.inc (tgamma_test): Expect errno to be set for
42964         domain errors.
42966 2013-05-10  Florian Weimer  <fweimer@redhat.com>
42968         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
42969         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
42970         * iconv/iconv_prog.c (main): Likewise.
42971         * locale/programs/charmap-dir.c (charmap_readdir)
42972         (fopen_uncompressed): Likewise.
42973         * locale/programs/locfile.c (siblings_uncached)
42974         (write_locale_data): Use lstat64 instead of lstat.
42975         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
42976         stat.
42978 2013-05-10  Andreas Jaeger  <aj@suse.de>
42980         [BZ #15395]
42981         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
42982         localization.
42983         Include <locale.h>.
42985 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
42987         * elf/dl-close.c (_dl_close_worker): Add comments.
42989 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
42991         [BZ #15359]
42992         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
42993         high part of pi/2.
42994         (__ieee754_rem_pio2l): Update comments.
42996         [BZ #15429]
42997         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
42998         high part of pi/2.
42999         (__ieee754_rem_pio2l): Update comments.
43001         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
43002         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
43004         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
43005         M_PI_4l.
43007         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
43008         (M_PI_34_LOG10El): Likewise.
43009         (M_PI2_LOG10El): Likewise.
43010         (M_PI4_LOG10El): Likewise.
43011         (M_PI_LOG10El): Likewise.
43013 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43017 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
43019         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
43020         (MINUS_ZERO_INIT): Likewise.
43021         (PLUS_INFTY_INIT): Likewise.
43022         (MINUS_INFTY_INIT): Likewise.
43023         (QNAN_VALUE_INIT): Likewise.
43024         (MAX_VALUE_INIT): Likewise.
43025         (MIN_VALUE_INIT): Likewise.
43026         (MIN_SUBNORM_VALUE_INIT): Likewise.
43027         (plus_zero): Initialize with PLUS_ZERO_INIT.
43028         (minus_zero): Initialize with MINUS_ZERO_INIT.
43029         (plus_infty): Initialize with PLUS_INFTY_INIT.
43030         (minus_infty): Initialize with MINUS_INFTY_INIT.
43031         (qnan_value): Initialize with QNAN_VALUE_INIT.
43032         (max_value): Initialize with MAX_VALUE_INIT.
43033         (min_value): Initialize with MIN_VALUE_INIT.
43034         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
43036         * math/libm-test.inc (RUN_TEST_if_f): New macro.
43037         (jn_test): Use TEST_if_f instead of TEST_ff_f.
43038         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
43039         (yn_test): Use TEST_if_f instead of TEST_ff_f.
43041         * math/libm-test.inc (RUN_TEST_f_f): New macro.
43042         (RUN_TEST_2_f): Likewise.
43043         (RUN_TEST_ff_f): Likewise.
43044         (RUN_TEST_fi_f): Likewise.
43045         (RUN_TEST_fl_f): Likewise.
43046         (RUN_TEST_fff_f): Likewise.
43047         (RUN_TEST_c_f): Likewise.
43048         (RUN_TEST_f_f1): Likewise.
43049         (RUN_TEST_fF_f1): Likewise.
43050         (RUN_TEST_fI_f1): Likewise.
43051         (RUN_TEST_ffI_f1): Likewise.
43052         (RUN_TEST_c_c): Likewise.
43053         (RUN_TEST_cc_c): Likewise.
43054         (RUN_TEST_f_i): Likewise.
43055         (RUN_TEST_f_i_tg): Likewise.
43056         (RUN_TEST_ff_i_tg): Likewise.
43057         (RUN_TEST_f_b): Likewise.
43058         (RUN_TEST_f_b_tg): Likewise.
43059         (RUN_TEST_f_l): Likewise.
43060         (RUN_TEST_f_L): Likewise.
43061         (RUN_TEST_sincos): Likewise.
43062         * math/gen-libm-test.pl (new_test): Take new argument to indicate
43063         whether to show exceptions.  Do not include ");\n" in return
43064         value.
43065         (special_functions): Output call to RUN_TEST_sincos instead of
43066         check_float calls.  Update calls to new_test.
43067         (parse_args): Output call to single RUN_TEST_* macro instead of
43068         check_* calls and other assignments.  Update calls to new_test.
43070         [BZ #2546]
43071         [BZ #2560]
43072         [BZ #5159]
43073         [BZ #15426]
43074         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
43075         input to result for tgamma overflow.
43076         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
43077         (gamma_coeff): New variable.
43078         (NCOEFF): New macro.
43079         (gamma_positive): New function.
43080         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
43081         underflow here.  Use gamma_positive instead of exp (lgamma) for
43082         other arguments.
43083         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
43084         (gamma_coeff): New variable.
43085         (NCOEFF): New macro.
43086         (gammaf_positive): New function.
43087         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
43088         underflow here.  Use gamma_positive instead of exp (lgamma) for
43089         other arguments.
43090         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
43091         (gamma_coeff): New variable.
43092         (NCOEFF): New macro.
43093         (gammal_positive): New function.
43094         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
43095         underflow here.  Use gamma_positive instead of exp (lgamma) for
43096         other arguments.
43097         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
43098         (gamma_coeff): New variable.
43099         (NCOEFF): New macro.
43100         (gammal_positive): New function.
43101         (__ieee754_gammal_r): Handle positive infinity, overflow and
43102         underflow here.  Handle NaN the same as positive infinity.  Remove
43103         check x < 0xffffffff for negative integers.  Use gamma_positive
43104         instead of exp (lgamma) for other arguments.
43105         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
43106         (gamma_coeff): New variable.
43107         (NCOEFF): New macro.
43108         (gammal_positive): New function.
43109         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
43110         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
43111         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
43112         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
43113         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
43114         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
43115         * sysdeps/generic/math_private.h (__gamma_productf): New
43116         prototype.
43117         (__gamma_product): Likewise.
43118         (__gamma_productl): Likewise.
43119         * math/Makefile (libm-calls): Add gamma_product.
43120         * math/libm-test.inc (tgamma_test): Add more tests.
43121         * sysdeps/i386/fpu/libm-test-ulps: Update.
43122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43124 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
43126         * benchtests/bench-skeleton.c (main): Preheat CPU.
43128 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
43130         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
43132 2013-05-07  Roland McGrath  <roland@hack.frob.com>
43134         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
43135         and _dl_skip_args_internal.
43137 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
43139         * manual/message.texi (Message Translation): Talk about users.
43140         Message to key mapping impacts design.
43142 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43144         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
43146         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
43148         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
43149         * sysdeps/wordsize-64/glob64.c: ... here.
43151         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
43152         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
43153         New macros.
43155         * debug/getlogin_r_chk.c: Moved to ...
43156         * login/getlogin_r_chk.c: ... here.
43157         * debug/Makefile (routines): Move getlogin_r_chk to ...
43158         * login/Makefile (routines): ... here.
43159         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
43160         * login/Versions (libc: GLIBC_2.4): ... here.
43162         * io/poll.c (__poll): Renamed from poll.
43163         Add libc_hidden_def.
43164         (poll): Define as weak alias.
43166         * debug/ptsname_r_chk.c: Moved to ...
43167         * login/ptsname_r_chk.c: ... here.
43168         * debug/Makefile (routines): Move ptsname_r_chk to ...
43169         * login/Makefile (routines): ... here.
43170         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
43171         * login/Versions (libc: GLIBC_2.4): ... here.
43173         * posix/getlogin.c: Moved to ...
43174         * login/getlogin.c: ... here.
43175         * posix/getlogin_r.c: Moved to ...
43176         * login/getlogin_r.c: ... here.
43177         * posix/getlogin_r.c: Moved to ...
43178         * login/getlogin_r.c: ... here.
43179         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
43180         * login/Makefile (routines): ... here.
43181         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
43182         * login/Versions (libc: GLIBC_2.0): ... here.
43184         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
43185         (setrlimit): Define as weak alias.
43187         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
43188         Call __ names for open, ftruncate, and close.
43189         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
43190         (truncate): Define as weak alias.
43192 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
43194         * math/gen-libm-test.pl (parse_args): Initialize x before each
43195         test of frexp, modf and remquo.
43197         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
43198         test signgam value.
43200 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43202         [BZ #15418]
43203         [BZ #15419]
43204         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
43205         internal tests.
43206         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43208 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43210         * elf/dl-writev.h: New file.
43211         * elf/dl-misc.c: Include it.
43212         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
43213         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
43215 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
43217         * math/libm-test.inc (noXFails): Remove variable.
43218         (noXPasses): Likewise.
43219         (BUILD_COMPLEX_INT): Remove macro.
43220         (print_screen): Remove xfail argument.
43221         (print_screen_max_error): Likewise.
43222         (update_stats): Likewise.
43223         (print_max_error): Likewise.  Update calls to other affected
43224         functions.
43225         (print_complex_max_error): Likewise.
43226         (test_single_exception): Update calls to print_screen.
43227         (test_single_errno): Likewise.
43228         (check_float_internal): Remove xfail argument.  Update calls to
43229         other affected functions.
43230         (check_float): Likewise.
43231         (check_complex): Likewise.
43232         (check_int): Likewise.
43233         (check_long): Likewise.
43234         (check_bool): Likewise.
43235         (check_longlong): Likewise.
43236         (main): Don't print noXFails and noXPasses.
43237         * math/gen-libm-test.pl (top level): Don't mention expected
43238         failure handling in comment.
43239         (new_test): Don't handle expected failures.
43240         (parse_args): Don't mention expected failure handling in comment.
43241         (generate_testfile): Don't handle expected failures.
43242         (parse_ulps): Likewise.
43243         (print_ulps_file): Likewise.
43244         (get_failure): Remove function.
43245         (output_test): Don't handle expected failures.
43246         * make/README.libm-test: Don't mention expected failure handling.
43248         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
43249         (minus_zero): Likewise.
43250         (plus_infty): Likewise.
43251         (minus_infty): Likewise.
43252         (qnan_value): Likewise.
43253         (max_value): Likewise.
43254         (min_value): Likewise.
43255         (min_subnorm_value): Likewise.
43256         (initialize): Do not initialize those variables dynamically.
43258 2013-05-03  Roland McGrath  <roland@hack.frob.com>
43260         * io/open.c (__open_2): Moved to ...
43261         * io/open_2.c: ... this new file.
43262         * io/open64.c (__open64_2): Moved to ...
43263         * io/open64_2.c: ... this new file.
43264         * io/openat.c (__openat_2): Moved to ...
43265         * io/openat_2.c: ... this new file.
43266         * io/openat64.c (__openat64_2): Moved to ...
43267         * io/openat64_2.c: ... this new file.
43268         * io/Makefile (routines): Add them.
43269         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
43270         * sysdeps/unix/sysv/linux/open_2.c: File removed.
43271         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
43272         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
43273         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
43274         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
43275         (__openat64): Add hidden_ver.
43276         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
43277         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
43279         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
43280         Separately conditionalize setting of GLRO(dl_sysinfo) so
43281         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
43282         as well, but the actual setting is only under [NEED_DL_SYSINFO].
43284 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43286         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
43287         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
43288         definition.
43289         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
43290         * sysdeps/unix/sysv/linux/powerpc/init-first.c
43291         (_libc_vdso_platform_setup): Add __vdso_time initialization.
43292         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
43293         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
43295 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
43297         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
43298         test signgam value.
43300         * math/libm-test.inc (hypot_test): Do not use
43301         IGNORE_ZERO_INF_SIGN.
43303 2013-05-03  Andreas Jaeger  <aj@suse.de>
43305         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
43306         Linux 3.9.
43307         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
43308         (PF_MAX): Adjust for VSOCK change.
43310 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43314 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
43316         [BZ #15264]
43317         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
43318         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
43319         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
43321 2013-05-02  David S. Miller  <davem@davemloft.net>
43323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43325 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
43327         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
43329 2013-05-01  Roland McGrath  <roland@hack.frob.com>
43331         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
43333 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
43335         [BZ #14952]
43336         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
43337         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43338         Use __attribute__ ((__gnu_inline__)).
43339         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43340         Don't use __attribute__ ((__gnu_inline__)).
43342 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
43344         [BZ #15423]
43345         * math/s_catan.c (__catan): Handle small real or imaginary part of
43346         input specially to avoid spurious underflow.
43347         * math/s_catanf.c (__catanf): Likewise.
43348         * math/s_catanh.c (__catanh): Likewise.
43349         * math/s_catanhf.c (__catanhf): Likewise.
43350         * math/s_catanhl.c (__catanhl): Likewise.
43351         * math/s_catanl.c (__catanl): Likewise.
43352         * math/libm-test.inc (catan_test): Add more tests.
43353         (catanh_test): Likewise.
43354         * sysdeps/i386/fpu/libm-test-ulps: Update.
43355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43357 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43361 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
43363         [BZ #15416]
43364         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
43365         accurately for denominator in atan2.
43366         * math/s_catanf.c (__catanf): Likewise.
43367         * math/s_catanh.c (__catanh): Likewise.
43368         * math/s_catanhf.c (__catanhf): Likewise.
43369         * math/s_catanhl.c (__catanhl): Likewise.
43370         * math/s_catanl.c (__catanl): Likewise.
43371         * math/libm-test.inc (catan_test): Add more tests.
43372         (catanh_test): Likewise.
43373         * sysdeps/i386/fpu/libm-test-ulps: Update.
43374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43376 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43378         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
43380         * benchtests/Makefile (bench): Remove slow benchmarks.
43381         * benchtests/atan-inputs: Add slow benchmark inputs.
43382         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
43383         (BENCH_FUNC): Accept variant offset.
43384         (VARIANT): Define.
43385         * benchtests/bench-skeleton.c (main): Run benchmark for each
43386         variant.
43387         * benchtests/cos-inputs: Add slow benchmark inputs.
43388         * benchtests/exp-inputs: Likewise.
43389         * benchtests/pow-inputs: Likewise.
43390         * benchtests/sin-inputs: Likewise.
43391         * benchtests/slowatan-inputs: Remove.
43392         * benchtests/slowatan.c: Remove.
43393         * benchtests/slowcos-inputs: Remove.
43394         * benchtests/slowcos.c: Remove.
43395         * benchtests/slowexp-inputs: Remove.
43396         * benchtests/slowexp.c: Remove.
43397         * benchtests/slowpow-inputs: Remove.
43398         * benchtests/slowpow.c: Remove.
43399         * benchtests/slowsin-inputs: Remove.
43400         * benchtests/slowsin.c: Remove.
43401         * benchtests/slowtan-inputs: Remove.
43402         * benchtests/slowtan.c: Remove.
43403         * benchtests/tan-inputs: Add slow benchmark inputs.
43404         * scripts/bench.pl: Parse comments and directives.
43406         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
43407         in CPPFLAGS.
43408         ($(objpfx)bench-%.c): Remove *-ITER.
43409         * benchtests/bench-modf.c: Remove definition of ITER.
43410         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
43411         (main): Loop for DURATION seconds instead of fixed number of
43412         iterations.
43413         * scripts/bench.pl: Don't expect iterations in parameters.
43415 2013-04-29  Roland McGrath  <roland@hack.frob.com>
43417         * io/fchdir.c (__fchdir): Renamed from fchdir.
43418         (fchdir): Define as weak alias.
43420 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43422         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
43423         (ERRNO_EDOM): Likewise.
43424         (ERRNO_ERANGE): Likewise.
43425         (noErrnoTests): New variable.
43426         (init_max_error): Set errno to 0.
43427         (test_single_errno): New function.
43428         (test_errno): Likewise.
43429         (check_float_internal): Call test_errno.  Set errno to 0.
43430         (check_complex): Refer to errno tests in comment.
43431         (check_int): Call test_errno.  Set errno to 0.
43432         (check_long): Likewise.
43433         (check_bool): Likewise.
43434         (check_longlong): Likewise.
43435         (cos_test): Use ERRNO_* flags for errno tests instead of
43436         check_int.
43437         (expm1_test): Likewise.
43438         (fmod_test): Likewise.
43439         (ilogb_test): Likewise.
43440         (lgamma_test): Likewise.
43441         (pow_test): Likewise.
43442         (remainder_test): Likewise.
43443         (sin_test): Likewise.
43444         (tan_test): Likewise.
43445         (yn_test): Likewise.
43446         (initialize): Set errno to 0.
43447         (main): Print number of errno tests.
43448         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
43450 2013-04-29  Andreas Jaeger  <aj@suse.de>
43452         [BZ #15084]
43453         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
43454         and RES_USEVC.
43456         [BZ #15085]
43457         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
43458         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
43459         unimplemented.
43461         [BZ #15380]
43462         * stdlib/random.c (__initstate): Return NULL if
43463         __initstate fails.
43465         [BZ #15086]
43466         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
43467         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
43468         RES_SNGLKUPREOP.
43470 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43474 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43476         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
43477         of individual tests.
43478         (casin_test): Likewise.
43479         (casinh_test): Likewise.
43481 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
43483         [BZ #15409]
43484         * math/s_catan.c (__catan): Handle arguments with large real or
43485         imaginary part separately without squaring.
43486         * math/s_catanf.c (__catanf): Likewise.
43487         * math/s_catanh.c (__catanh): Likewise.
43488         * math/s_catanhf.c (__catanhf): Likewise.
43489         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43490         and redefine.
43491         (__catanhl): Handle arguments with large real or imaginary part
43492         separately without squaring.
43493         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43494         and redefine.
43495         (__catanl): Handle arguments with large real or imaginary part
43496         separately without squaring.
43497         * math/libm-test.inc (catan_test): Add more tests.
43498         (catanh_test): Likewise.
43499         * sysdeps/i386/fpu/libm-test-ulps: Update.
43500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43502 2013-04-27  Andreas Jaeger  <aj@suse.de>
43504         [BZ #15007]
43505         * stdlib/stdlib.h: Update guards for qecvt.
43506         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
43507         <stdlib.h>.
43509 2013-04-27  Allan McRae  <allan@archlinux.org>
43511         * sysdeps/i386/fpu/libm-test-ulps: Update.
43513 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
43515         [BZ #15406]
43516         * math/s_catan.c: Include <float.h>.
43517         (__catan): Ensure underflow exception occurs for underflowed
43518         result.
43519         * math/s_catanf.c: Include <float.h>.
43520         (__catanf): Ensure underflow exception occurs for underflowed
43521         result.
43522         * math/s_catanh.c: Include <float.h>.
43523         (__catanh): Ensure underflow exception occurs for underflowed
43524         result.
43525         * math/s_catanhf.c: Include <float.h>.
43526         (__catanhf): Ensure underflow exception occurs for underflowed
43527         result.
43528         * math/s_catanhl.c: Include <float.h>.
43529         (__catanhl): Ensure underflow exception occurs for underflowed
43530         result.
43531         * math/s_catanl.c: Include <float.h>.
43532         (__catanl): Ensure underflow exception occurs for underflowed
43533         result.
43534         * math/libm-test.inc (catan_test): Add more tests.
43535         (catanh_test): Likewise.
43537         [BZ #15405]
43538         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
43539         underflowed result.
43540         * math/s_ccoshf.c (__ccoshf): Likewise.
43541         * math/s_ccoshl.c (__ccoshl): Likewise.
43542         * math/s_csin.c (__csin): Likewise.
43543         * math/s_csinf.c (__csinf): Likewise.
43544         * math/s_csinh.c (__csinh): Likewise.
43545         * math/s_csinhf.c (__csinhf): Likewise.
43546         * math/s_csinhl.c (__csinhl): Likewise.
43547         * math/s_csinl.c (__csinl): Likewise.
43548         * math/libm-test.inc (ccos_test): Add more tests.
43549         (ccosh_test): Likewise.
43550         (csin_test): Likewise.
43551         (csinh_test): Likewise.
43553 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43555         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
43556         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
43557         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
43558         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
43559         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
43560         powerpc/power5+/fpu folders.
43561         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
43564 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43566         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43568 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
43570         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
43571         additions to variable.
43572         [$(config-machine) = x86_64] (modules-names): Likewise.
43573         ($(objpfx)tst-audit3): Remove dependency.
43574         ($(objpfx)tst-audit3.out): Likewise.
43575         ($(objpfx)tst-audit4): Likewise.
43576         ($(objpfx)tst-audit4.out): Likewise.
43577         ($(objpfx)tst-audit5): Likewise.
43578         ($(objpfx)tst-audit5.out): Likewise.
43579         ($(objpfx)tst-audit6): Likewise.
43580         ($(objpfx)tst-audit6.out): Likewise.
43581         ($(objpfx)tst-audit7): Likewise.
43582         ($(objpfx)tst-audit7.out): Likewise.
43583         (tst-audit3-ENV): Remove variable.
43584         (tst-audit4-ENV): Likewise.
43585         (tst-audit5-ENV): Likewise.
43586         (tst-audit6-ENV): Likewise.
43587         (tst-audit7-ENV): Likewise.
43588         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
43589         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
43590         addition to variable.
43591         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
43592         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
43593         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
43594         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
43595         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
43596         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
43597         tst-audit3, tst-audit4 and tst-audit5.
43598         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
43599         tst-audit6 and tst-audit7.
43600         [$(subdir) = elf] (modules-names): Add audit modules for those
43601         tests.
43602         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
43603         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
43604         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
43605         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
43606         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
43607         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
43608         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
43609         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
43610         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
43611         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
43612         [$(subdir) = elf] (tst-audit3-ENV): New variable.
43613         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
43614         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
43615         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
43616         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
43617         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
43618         Likewise.
43619         [$(subdir) = elf && $(config-cflags-avx) = yes]
43620         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
43621         [$(subdir) = elf && $(config-cflags-avx) = yes]
43622         (CFLAGS-tst-auditmod4a.c): Likewise.
43623         [$(subdir) = elf && $(config-cflags-avx) = yes]
43624         (CFLAGS-tst-auditmod4b.c): Likewise.
43625         [$(subdir) = elf && $(config-cflags-avx) = yes]
43626         (CFLAGS-tst-auditmod6b.c): Likewise.
43627         [$(subdir) = elf && $(config-cflags-avx) = yes]
43628         (CFLAGS-tst-auditmod6c.c): Likewise.
43629         [$(subdir) = elf && $(config-cflags-avx) = yes]
43630         (CFLAGS-tst-auditmod7b.c): Likewise.
43631         * elf/tst-audit3.c: Move to ...
43632         * sysdeps/x86_64/tst-audit3.c: ... here.
43633         * elf/tst-audit4.c: Move to ...
43634         * sysdeps/x86_64/tst-audit4.c: ... here.
43635         * elf/tst-audit5.c: Move to ...
43636         * sysdeps/x86_64/tst-audit5.c: ... here.
43637         * elf/tst-audit6.c: Move to ...
43638         * sysdeps/x86_64/tst-audit6.c: ... here.
43639         * elf/tst-audit7.c: Move to ...
43640         * sysdeps/x86_64/tst-audit7.c: ... here.
43641         * elf/tst-auditmod3a.c: Move to ...
43642         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
43643         * elf/tst-auditmod3b.c: Move to ...
43644         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
43645         * elf/tst-auditmod4a.c: Move to ...
43646         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
43647         * elf/tst-auditmod4b.c: Move to ...
43648         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
43649         * elf/tst-auditmod5a.c: Move to ...
43650         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
43651         * elf/tst-auditmod5b.c: Move to ...
43652         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
43653         * elf/tst-auditmod6a.c: Move to ...
43654         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
43655         * elf/tst-auditmod6b.c: Move to ...
43656         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
43657         * elf/tst-auditmod6c.c: Move to ...
43658         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
43659         * elf/tst-auditmod7a.c: Move to ...
43660         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
43661         * elf/tst-auditmod7b.c: Move to ...
43662         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
43664 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
43666         [BZ #15366]
43667         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
43668         define unconditionally.
43669         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
43670         define unconditionally.
43671         (INT8_C, INT16_C, etc.): Likewise.
43673 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
43675         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
43676         __ehdr_start with hidden visibility.
43678         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
43680 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
43682         * math/libm-test.inc (cos_test): Use accurate hex constants.
43683         (sincost_test): Likewise.
43685 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
43687         * math/libm-test.inc (catan_test): Add more tests.
43688         (catanh_test): Likewise.
43690         * math/s_catanf.c (__catanf): Use suffixed floating-point
43691         constants.
43692         * math/s_catanhf.c (__catanhf): Likewise.
43693         * math/s_catanhl.c (__catanhl): Likewise.
43694         * math/s_catanl.c (__catanl): Likewise.
43696         [BZ #15394]
43697         * math/s_catan.c (__catan): Calculate imaginary part of result
43698         with log1p not log unless computing log of number close to 0.
43699         * math/s_catanf.c (__catanf): Likewise.
43700         * math/s_catanl.c (__catanl): Likewise.
43701         * math/s_catanh.c (__catanh): Calculate real part of result with
43702         log1p not log unless computing log of number close to 0.
43703         * math/s_catanhf.c (__catanhf): Likewise.
43704         * math/s_catanhl.c (__catanhl): Likewise.
43705         * math/libm-test.inc (catan_test): Add more tests.
43706         (catanh_test): Likewise.
43707         * sysdeps/i386/fpu/libm-test-ulps: Update.
43708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43710 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43712         * benchtests/Makefile: Mention files in which fast and slow
43713         paths of math functions are implemented.
43715 2013-04-23  Roland McGrath  <roland@hack.frob.com>
43717         * sysdeps/posix/timespec_get.c: New file.
43719 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43721         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
43722         POWER.
43723         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
43724         for POWER.
43725         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
43726         powerpc/power5/fpu folders.
43727         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
43728         * benchtests/Makefile: Add modf testcase.
43729         * benchtests/bench-modf.c: New file: Benchmark test for mo
43731 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43733         [BZ #14888]
43734         * time/Makefile (tests): Add tst-strptime-whitespace.
43735         * time/strptime_l.c (get_number): Use ISSPACE.
43736         (__strptime_internal): Likewise.
43737         * time/tst-strptime-whitespace.c: New test case.
43739 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
43741         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
43742         member.
43743         (_nss_files_init): Set it here.
43745 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
43747         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
43748         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
43749         unsigned.
43751 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
43753         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
43755 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43757         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
43758         size just once.
43760 2013-04-21  David S. Miller  <davem@davemloft.net>
43762         * po/ru.po: Update Russion translation from translation project.
43764 2013-04-17  Adam Conrad  <adconrad@0c3.net>
43766         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
43767         and setfsgid.
43769 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
43771         * configure.in: Remove i386 configure warning. Remove i386 case.
43772         * configure: Regenerate.
43773         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
43774         Add example to error message.
43775         * sysdeps/i386/configure: Regenerate.
43777 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43779         * benchtests/Makefile (bench): Add cos, tan, slowcos and
43780         slowtan.
43781         * benchtests/cos-inputs: New file.
43782         * benchtests/slowcos-inputs: New file.
43783         * benchtests/slowcos.c: New file.
43784         * benchtests/slowtan-inputs: New file.
43785         * benchtests/slowtan.c: New file.
43786         * benchtests/tan-inputs: New file.
43788 2013-04-16  Roland McGrath  <roland@hack.frob.com>
43790         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
43791         considered kosher.
43793 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43795         * benchtests/Makefile: Include cppflags-iterator.mk to add
43796         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
43798         * Makefile.in (bench-clean): New target.
43799         * benchtests/Makefile (bench-clean): Likewise.
43801 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
43803         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
43805 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
43807         * stdio-common/tstdiomisc.c: Fix coding-style violation.
43809 2013-04-15  Andreas Schwab  <schwab@suse.de>
43811         * nscd/grpcache.c (cache_addgr): Properly check for short write.
43812         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43813         * nscd/pwdcache.c (cache_addpw): Likewise.
43814         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
43815         more than recsize.
43817 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43819         * benchtests/Makefile (bench): Write all output to
43820         bench-out.tmp together.
43822 2013-04-15  Andreas Schwab  <schwab@suse.de>
43824         * nscd/nscd.c (main): Don't fork again after closing files.
43826 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43828         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
43830         * benchtests/Rules (bench-deps): Collect dependencies into a
43831         single variable.  Add Makefile to dependencies.
43832         ($(objpfx)bench-%.c): Depend on bench-deps.
43834 2013-04-12  Roland McGrath  <roland@hack.frob.com>
43835             Xavier Roche  <roche+kml2@exalead.com>
43837         [BZ #15361]
43838         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
43839         just that it's a file descriptor.
43840         * manual/llio.texi (Synchronizing AIO Operations): Update description
43841         for EBADF error from aio_fsync.
43843 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43845         * Rules (bench): Move target definition...
43846         * benchtests/Makefile: ... here.
43848 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
43850         * math/libm-test.inc (cos_test): Fix PI/2 test.
43851         (sincos_test): Likewise.
43852         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43853         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
43855 2013-04-11  Andreas Schwab  <schwab@suse.de>
43857         [BZ #13988]
43858         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
43859         accept exponent character only when digits were seen.
43860         * stdio-common/Makefile (tests): Add bug26.
43861         * stdio-common/bug26.c: New file.
43863         [BZ #14293]
43864         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
43865         non-freeable.
43867 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43869         * Makeconfig (rtld-prefix): Define built linker prefix.
43870         * Rules (run-bench): Use it.
43871         * math/Makefile (run-regen-ulps): Likewise.
43873         * Rules (bench): Remove eval.
43875 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43876             Roland McGrath  <roland@hack.frob.com>
43877             Ondrej Bilka  <neleai@seznam.cz>
43879         [BZ #15346]
43880         * time/getdate.c: Include ctype.h and alloca.h.
43881         (__getdate_r): Trim leading and trailing spaces of input.
43882         * time/tst-getdate.c (tests): Add tests with leading and
43883         trailing spaces.
43885 2013-04-08  Roland McGrath  <roland@hack.frob.com>
43887         [BZ #14280]
43888         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
43889         when computing value.
43891 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43893         * math/README.libm-test (How can I generate "libm-test-ulps"?):
43894         Use testrun.sh to run libm tests.
43896         [BZ #15309]
43897         * elf/dl-open.c (dl_open_worker): memset all of seen array.
43899 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
43901         [BZ #15264]
43902         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
43904 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43906         * Makefile.in (regen-ulps): New target.
43907         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
43908         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
43909         [ifneq (no,$(PERL)] (regen-ulps): New target.
43910         [ifeq (no,$(PERL)] (regen-ulps): New target.
43911         * math/libm-test.inc (ulps_file_name): Define.
43912         (output_dir): New variable.
43913         (options): Add "output-dir" option.
43914         (parse_opt): Handle 'o' case.
43915         (main): If output_dir is non-NULL use it as a prefix
43916         otherwise use "".
43917         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
43919 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43921         [BZ #10060, #10062]
43922         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
43923         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
43924         fail configure if __sync_val_compare_and_swap is not inlined.
43925         * sysdeps/i386/configure: Regenerate.
43926         * configure.in: Build for i686 when configured for i386.
43927         * configure: Regenerate.
43928         * README: Remove i386 reference.
43930 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43932         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
43933         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43935 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43937         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
43938         (lmsnanval): New variables.
43939         (F): Add conversion tests.
43940         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
43941         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
43943         * stdio-common/tstdiomisc.c (F): Properly collect individual
43944         tests' results.
43946         [BZ #14686, #15336]
43947         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
43948         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
43949         Instead, use input NaN values or generate a qNaN by arithmetic
43950         operation.  Also fix bugs to comply with the standard.
43951         * math/libm-test.inc (remainder_test): Add more tests.
43953         [BZ #15335, #15342]
43954         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
43955         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
43956         input NaN values or generate a qNaN by arithmetic operation.
43958         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
43959         unreachable code.
43961         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
43962         definitions.
43964 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
43966         [BZ #14478]
43967         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
43968         underflowed result.
43969         * math/s_cexpf.c (__cexpf): Likewise.
43970         * math/s_cexpl.c (__cexpl): Likewise.
43971         * math/libm-test.inc (cexp_test): Add more tests.
43973 2013-04-03  Andreas Schwab  <schwab@suse.de>
43975         [BZ #15330]
43976         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
43977         order arrays from heap if bigger than alloca cutoff.
43979 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
43981         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
43982         (SNAN_TESTS_double): Refer to GCC PR56831.
43983         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
43984         GCC PR56828.
43986 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43988         * Rules (bench): Move bench.out after the run is complete.
43990         * Rules (bench): Echo currently running benchmark.
43992         * benchtests/Makefile (bench): Add atan and slowatan.
43993         * benchtests/atan-inputs: New file.
43994         * benchtests/slowatan-inputs: New file.
43995         * benchtests/slowatan.c: New file.
43997         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
43998         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
43999         its value.
44001         [BZ #15305]
44002         * sysdeps/unix/sysv/linux/kernel-features.h
44003         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
44004         __ASSUME_XFS_RESTRICTED_CHOWN.
44005         * sysdeps/unix/sysv/linux/pathconf.c
44006         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
44007         Save and restore errno.
44009 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
44011         [BZ #15327]
44012         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
44013         arguments using __kernel_casinh.
44014         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
44015         arguments using __kernel_casinhf.
44016         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
44017         arguments using __kernel_casinhl.
44018         * math/libm-test.inc (cacosh_test): Add more tests.
44019         * sysdeps/i386/fpu/libm-test-ulps: Update.
44020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44022 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44024         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
44025         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
44027         * bench/Makefile (bench): Add sin and slowsin.
44028         * benchtests/sin-inputs: New file.
44029         * benchtests/slowsin-inputs: New file.
44030         * benchtests/slowsin.c: New file.
44032         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
44033         (bench): Add slowexp and slowpow.
44034         (exp-ITER): Increase iterations.
44035         (pow-ITER): Likewise.
44036         * benchtests/exp-inputs: Change input.
44037         * benchtests/pow-inputs: Likewise.
44038         * benchtests/slowexp-inputs: New file.
44039         * benchtests/slowexp.c: New file.
44040         * benchtests/slowpow-inputs: New file.
44041         * benchtests/slowpow.c: New file.
44043 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44045         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
44046         instructions.
44047         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44048         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
44049         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44050         * benchtests/Makefile: Add rint benchtest.
44051         * benchtests/rint-inputs: Input for rint benchtest.
44053 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
44055         * Versions.def (libm): Add GLIBC_2.18.
44056         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
44057         hidden libm prototypes.
44058         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
44059         * math/Makefile (libm-calls): Add s_issignaling.
44060         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
44061         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
44062         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
44063         declaration.
44064         * math/math.h [__USE_GNU] (issignaling): New macro.
44065         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
44066         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
44067         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
44068         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
44069         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
44070         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
44071         * manual/arith.texi (issignaling): New section.
44072         * manual/libm-err-tab.pl (@all_functions): Update comment.
44073         * math/gen-libm-test.pl (parse_args): Apply special handling for
44074         issignaling.
44075         * math/libm-test.inc (print_float, issignaling_test): New
44076         functions.
44077         (check_float_internal): Add issignaling checks.
44078         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
44079         default definition.
44080         * sysdeps/powerpc/math-tests.h: New file.
44081         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
44082         tests.
44083         * math/test-snan.c (TEST_FUNC): Likewise.
44085 2013-03-30  David S. Miller  <davem@davemloft.net>
44087         * po/de.po: Update from translation team.
44089 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
44091         [BZ #10357]
44092         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44093         imaginary part less than 1.0 and real part less than 0.5
44094         specially.
44095         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44096         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44097         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
44098         (cacos_test): Add more tests.
44099         (casin_test): Likewise.
44100         (casinh_test): Likewise.
44101         * sysdeps/i386/fpu/libm-test-ulps: Update.
44102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44104 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44106         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
44107         ONE with its value.
44109         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
44110         (__pow_mp): Replace ONE and MONE with their values.
44111         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44112         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
44113         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44114         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
44115         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44116         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44118         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
44120         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
44121         (__pow_mp): Replace ZERO and MZERO with their values.
44122         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44123         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44124         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44125         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44126         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44127         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
44128         (__sqr): Likewise.
44130         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
44132         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
44134 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44136         * include/stdlib.h [!SHARED] (__call_tls_dtors):
44137         Declare with __attribute__ ((weak)).
44138         * stdlib/exit.c (__libc_atexit) [!SHARED]:
44139         Call __call_tls_dtors only if it's not NULL.
44141 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44143         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
44144         didn't do it already, then set _dl_phdr and _dl_phnum based on the
44145         magic __ehdr_start linker symbol if it's defined.
44146         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
44147         them up here if it was already done.
44149         * elf/dl-support.c (_dl_phdr): Make pointer to const.
44150         (_dl_aux_init): Use const in cast when setting it.
44151         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
44152         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
44153         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
44155         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
44156         Declare them here.
44157         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
44158         * csu/libc-tls.c: Nor here.
44159         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
44161         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
44162         (__libc_message): Never call vsyslog.
44164 2013-03-28  Alan Modra  <amodra@gmail.com>
44166         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
44167         Define as empty.
44168         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
44169         Likewise.
44171 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44173         [BZ #15214]
44174         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
44175         underflow.
44176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44178 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44180         [BZ #15304]
44181         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44182         Don't add gid passed as argument.
44184         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
44186 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
44188         [BZ #15307]
44189         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44190         imaginary part between 1.0 and 1.5 and real part less than 0.5
44191         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-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44202         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
44203         constants.
44204         (norm): Likewise.
44205         (denorm): Likewise.
44206         (__dbl_mp): Likewise.
44207         (add_magnitudes): Likewise.
44208         (sub_magnitudes): Likewise.
44209         (__add): Likewise.
44210         (__sub): Likewise.
44211         (__mul): Likewise.
44212         (__sqr): Likewise.
44213         (__inv): Likewise.
44214         (__dvd): Likewise.
44216         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
44217         commented code.
44218         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
44219         (__dubcos): Likewise.
44220         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
44221         (__ieee754_acos): Likewise.
44222         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44223         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
44224         (__exp1): Likewise.
44225         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44226         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44227         (log1): Likewise.
44228         (my_log2): Likewise.
44229         (checkint): Likewise.
44230         * sysdeps/ieee754/dbl-64/e_remainder.c
44231         (__ieee754_remainder): Likewise.
44232         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44233         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
44234         (bsloww): Likewise.
44235         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44237         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44238         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
44239         MANTISSA_STORE_T to store computations on mantissa.  Use
44240         macros for rounding and division.
44241         (denorm): Likewise.
44242         (__dbl_mp): Likewise.
44243         (add_magnitudes): Likewise.
44244         (sub_magnitudes): Likewise.
44245         (__mul): Likewise.
44246         (__sqr): Likewise.
44247         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
44248         powers of two in terms of TWOPOW macro.
44249         (mp_no): Make type of mantissa as MANTISSA_T.
44250         [!RADIXI]: Define RADIXI.
44251         [!TWO52]: Define TWO52.
44252         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44254 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44256         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
44257         llroundl symbol when building for PPC32.
44259 2013-03-24  Mark H Weaver  <mhw@netris.org>
44261         * manual/arith.texi (Normalization Functions): Fix prototypes for
44262         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
44264 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44266         [BZ #13889]
44267         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
44268         high value to check if expl overflow.
44269         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
44270         to check for underflow and overflow.
44271         * math/libm-test.inc: Add exp test.
44273 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
44275         [BZ #11120]
44276         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
44277         with NOT_IN_libc.
44279 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44281         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
44282         symbol.
44284 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44286         * math/gen-libm-test.pl (parse_args, special_functions): Properly
44287         wrap blocks consisting of several statements.
44289         * sysdeps/generic/math-tests.h: New file.
44290         * sysdeps/i386/fpu/math-tests.h: Likewise.
44291         * math/test-snan.c: Include it.
44292         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
44294 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
44296         [BZ #15285]
44297         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
44298         (__ieee754_j0l): Do not improve calculations using cos of twice
44299         input for inputs above LDBL_MAX / 2.0L.
44300         (__ieee754_y0l): Likewise.
44301         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
44302         (__ieee754_j1l): Do not improve calculations using cos of twice
44303         input for inputs above LDBL_MAX / 2.0L.
44304         (__ieee754_y1l): Likewise.
44305         * math/libm-test.inc (j0_test): Add another test.
44306         (j1_test): Likewise.
44307         (y0_test): Likewise.
44308         (y1_test): Likewise.
44309         * sysdeps/i386/fpu/libm-test-ulps: Update.
44311 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44313         * Rules ($(objpfx)bench-%.c): Include code from a C source
44314         file.
44316 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
44318         [BZ #15287]
44319         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44320         imaginary part 1.0 and real part less than 0.5 specially.
44321         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44322         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44323         * math/libm-test.inc (cacos_test): Add more tests.
44324         (casin_test): Likewise.
44325         (casinh_test): Likewise.
44326         * sysdeps/i386/fpu/libm-test-ulps: Update.
44327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44329 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44331         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
44332         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
44334 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
44336         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
44337         * config.make.in (config-cflags-sse4): Remove variable.
44338         (config-cflags-avx): Likewise.
44339         (config-cflags-sse2avx): Likewise.
44340         (config-cflags-novzeroupper): Likewise.
44341         (config-asflags-i686): Likewise.
44342         (have-mfma4): Likewise.
44343         (have-as-vis3): Likewise.
44344         (MIG): Likewise.
44345         * configure.in (MIG): Do not AC_SUBST.
44346         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
44347         (libc_cv_cc_sse4): Do not AC_SUBST.
44348         (libc_cv_cc_avx): Likewise.
44349         (libc_cv_cc_sse2avx): Likewise.
44350         (libc_cv_cc_novzeroupper): Likewise.
44351         (libc_cv_cc_fma4): Likewise.
44352         (libc_cv_as_i686): Likewise.
44353         (libc_cv_sparc_as_vis3): Likewise.
44354         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
44355         LIBC_CONFIG_VAR.
44356         (config-asflags-i686): Likewise.
44357         (config-cflags-avx): Likewise.
44358         (config-cflags-sse2avx): Likewise.
44359         (have-mfma4): Likewise.
44360         (config-cflags-novzeroupper): Likewise.
44361         * sysdeps/mach/configure.in (MIG): Likewise.
44362         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
44363         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
44364         LIBC_CONFIG_VAR.
44365         (config-cflags-avx): Likewise.
44366         (config-cflags-sse2avx): Likewise.
44367         (have-mfma4): Likewise.
44368         (config-cflags-novzeroupper): Likewise.
44369         * configure: Regenerated.
44370         * sysdeps/i386/configure: Likewise.
44371         * sysdeps/mach/configure: Likewise.
44372         * sysdeps/sparc/configure: Likewise.
44373         * sysdeps/x86_64/configure: Likewise.
44375 2013-03-20  Roland McGrath  <roland@hack.frob.com>
44377         [BZ #14812]
44378         * locale/programs/localedef.c (options): Put N_ translation marker
44379         on argument names, not just descriptions.
44381 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44383         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
44385 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
44387         [BZ #14176]
44388         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
44390 2013-03-19  Roland McGrath  <roland@hack.frob.com>
44392         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
44393         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
44394         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
44395         [!BEFORE_ABORT] (before_abort): New function.
44396         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
44397         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
44398         (writev_for_fatal): New function.
44399         (WRITEV_FOR_FATAL): New macro; call that.
44400         (backtrace_and_maps): New function.
44401         (BEFORE_ABORT): New macro; call that.
44402         (struct str_list): Type removed.
44403         (__libc_message, __libc_fatal): Functions removed.
44404         Include <sysdeps/posix/libc_fatal.c> instead.
44406 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
44408         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
44409         constants.
44410         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
44411         double constants.
44413 2013-03-19  Andreas Schwab  <schwab@suse.de>
44415         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
44416         * sysdeps/gnu/configure: Regenerate.
44418         * configure.in: Substitute libc_cv_rtlddir.
44419         * configure: Regenerate.
44420         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
44421         * Makeconfig (rtlddir, inst_rtlddir): New variables.
44422         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
44423         * elf/Makefile (install-others, CFLAGS-interp.c)
44424         (ldso_install, common-ldd-rewrite): Likewise.
44425         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
44426         $(inst_slibdir)/$(rtld-installed-name).
44427         * scripts/rellns-sh: Add -p option.
44428         * Makerules (make-shlib-link): Use rellns-sh to get relative name
44429         for source.
44431 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44433         * manual/nptl.texi: Renamed to ...
44434         * manual/threads.texi: ... this.
44435         * manual/Makefile (chapters): Update.
44437 2013-03-18  Roland McGrath  <roland@hack.frob.com>
44439         [BZ #14812]
44440         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
44441         on argument names, not just descriptions.
44442         * malloc/memusagestat.c (options): Likewise.
44443         * nss/getent.c (options): Likewise.
44445 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
44447         [BZ #14812]
44448         * iconv/iconv_prog.c (options): Put N_ translation marker
44449         on argument names, not just descriptions.
44450         * iconv/iconvconfig.c (options): Likewise.
44452 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
44454         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
44455         implementation which is faster on all x86_64 architectures.
44456         Tested on AMD, Intel Nehalem, SNB, IVB.
44457         * sysdeps/x86_64/strnlen.S: Likewise.
44459         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44460         Remove all multiarch strlen and strnlen versions.
44461         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44462         Remove strlen and strnlen related parts.
44464         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
44465         Inline strlen part.
44466         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
44468         * sysdeps/x86_64/multiarch/strlen.S: Remove.
44469         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
44470         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
44471         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
44472         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44473         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
44475 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
44477         * manual/memory.texi (Malloc Tunable Parameters):
44478         Sort parameters alphabetically. Add comments for missing entries.
44480 2013-03-17  David S. Miller  <davem@davemloft.net>
44482         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44484 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
44486         [BZ #15283]
44487         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
44488         for arguments at most half maximum finite value.
44489         * math/libm-test.inc (j0_test): Add more tests.
44490         (j1_test): Likewise.
44491         (y0_test): Likewise.
44492         (y1_test): Likewise.
44493         * sysdeps/i386/fpu/libm-test-ulps: Update.
44494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44496         [BZ #14155]
44497         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
44498         1 / x and functions P and Q for arguments above 0x1p256L.
44499         (__ieee754_y0l): Likewise.
44500         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
44501         (__ieee754_y1l): Likewise.
44502         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
44503         (j1_test): Likewise.
44504         (y0_test): Likewise.
44505         (y1_test): Likewise.
44507 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
44509         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
44510         variable.
44512 2013-03-15  Roland McGrath  <roland@hack.frob.com>
44514         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
44515         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
44516         zero since it's initialized to EXEC_PAGESIZE.
44518         * sysdeps/unix/sysv/linux/ldsodefs.h
44519         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
44520         * sysdeps/generic/ldsodefs.h: ... here.
44522 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
44524         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
44526         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
44527         math/test-snan.c.
44528         * math/test-snan.c: Renamed from
44529         sysdeps/powerpc/fpu/test-powerpc-snan.c.
44530         * math/Makefile (tests): Add test-snan.
44531         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
44532         test-powerpc-snan.
44534         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
44535         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
44536         functions.
44537         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
44538         __builtin_nan family of functions.
44539         * math/libm-test.inc (initialize): Initialize qnan_value with
44540         __builtin_nan family of functions.
44541         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
44542         Remove variables.
44543         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
44544         Remove functions.
44545         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
44546         storage class.  Initialize qNaN_var and sNaN_var with
44547         __builtin_nan and __builtin_nans families of functions,
44548         respectively.
44550         * math/libm-test.inc (acosh_test): Also test with qNaN input.
44551         (sqrt_test): Remove duplicate test with qNaN input.
44552         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
44553         (round_test, signbit_test, significand_test): Note missing +/-Inf
44554         as well as qNaN tests.
44556         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
44557         qNaN_var.  Fix a few strings, too.
44558         * math/libm-test.inc (nan_value): Rename to qnan_value.
44559         * math/gen-libm-test.pl (%beautify): Adjust to that.
44560         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
44561         * math/test-misc.c (main): Likewise.
44562         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
44563         to __qnan_bytes, and __qnan_union, respectively.
44564         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
44565         Likewise.
44566         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
44567         and lqnanval, respectively.
44568         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
44569         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
44570         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
44571         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
44573         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
44574         * math/test-misc.c (main) [__x86_64__]: Enable test for long
44575         doubles.
44577         * math/test-misc.c (main): Fix copy'n'pastos.
44578         * misc/tst-efgcvt.c (special): Likewise.
44580         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
44581         Remove declarations.
44583 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44585         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
44586         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
44587         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
44588         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
44590 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44592         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
44593         macro to return vdso values correctly in IFUNC implementations.
44594         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
44595         Optimization by using IFUNC.
44597 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44598             Richard Henderson  <rth@redhat.com>
44599             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44601         * Makefile.in (bench): New target.
44602         * NEWS: Mention the benchmark framework.
44603         * Rules (bench): Likewise.
44604         (binaries-bench): Generate binaries for functions to
44605         benchmark.
44606         * benchtests/Makefile: New makefile for benchmark tests.
44607         * benchtests/bench-skeleton.c: New skeleton file for benchmark
44608         programs.
44609         * benchtests/exp-inputs: New input file for EXP function.
44610         * benchtests/pow-inputs: New input file for POW function.
44611         * scripts/bench.pl: New script to generate source files for
44612         benchmark programs.
44614 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44616         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44617         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
44618         computations on mantissa.  Use macros for rounding and
44619         division.
44620         (denorm): Likewise.
44621         (__dbl_mp): Likewise.
44622         (add_magnitudes): Likewise.
44623         (sub_magnitudes): Likewise.
44624         (__mul): Likewise.
44625         (__sqr): Likewise.
44626         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
44627         powers of two in terms of TWOPOW macro.
44628         (mp_no): Make type of mantissa as MANTISSA_T.
44629         [!RADIXI]: Define RADIXI.
44630         [!TWO52]: Define TWO52.
44631         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44633         * manual/nptl.texi (cindex): Modify threads to pthreads.
44635 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
44637         * sysdeps/x86_64/preconfigure: Regenerated.
44639 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
44641         [BZ #14155]
44642         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
44643         0x1p28 and above.
44644         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
44645         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
44646         0x1p28 and above.
44647         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
44648         * math/libm-test.inc (j0_test): Do not allow one spurious
44649         underflow exception.
44650         (y1_test): Likewise.
44652 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44654         * manual/Makefile (chapters): Add nptl.
44655         * manual/debug.texi (Debugging Support): Add link to Threads
44656         chapter.
44657         * manual/nptl.texi: New file.
44659         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
44661 2013-03-14  Petr Baudis  <pasky@ucw.cz>
44663         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
44664         for non-NULL pointer before the memory validity test. Pointed
44665         out by Holger Brunck <holger.brunck@keymile.com>.
44667 2013-03-13  Andreas Schwab  <schwab@suse.de>
44669         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
44670         instead of .os.
44672 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
44674         * timezone/zic.c: Update from tzcode 2013b.
44676 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
44678         * manual/install.texi (Configuring and compiling):
44679         Mention i686 and i586.
44680         * INSTALL: Regenerate.
44682 2013-03-12  Roland McGrath  <roland@hack.frob.com>
44684         * sysdeps/init_array/elf-init.c: New file.
44685         * csu/elf-init.c
44686         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
44687         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
44689         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
44690         __gmon_start__ as global, but as static with a .preinit_array pointer.
44691         * sysdeps/init_array/gmon-start.c: New file.  Use that.
44692         * sysdeps/init_array/crti.S: New file, empty except for comments.
44693         * sysdeps/init_array/crtn.S: Likewise.
44695 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
44697         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
44698         definining bcopy.
44699         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44700         Remove Prefer_SSE_for_memop.
44701         * sysdeps/x86_64/multiarch/init-arch.h: Remove
44702         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
44703         HAS_PREFER_SSE_FOR_MEMOP.
44704         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
44705         memset-x86-64.
44706         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44707         Remove bzero, memset ifunc support.
44708         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
44709         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
44710         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44711         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44713 2013-03-11  Andreas Schwab  <schwab@suse.de>
44715         [BZ #15234]
44716         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
44717         by SHLIB_COMPAT.
44718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
44719         (GLIBC_2.16): Remove pthread_atfork.
44721 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
44723         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
44724         (ptestcases.h): Likewise.
44726 2013-03-08  Roland McGrath  <roland@hack.frob.com>
44728         * Makeconfig ($(common-objpfx)config.status): Depend on
44729         sysdeps/*/preconfigure{,.in} too.
44731 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
44733         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
44734         (__free_hook): Use void * instead of __malloc_ptr_t.
44735         (__malloc_hook): Likewise.
44736         (__realloc_hook): Likewise.
44737         (__memalign_hook): Likewise.
44738         (__after_morecore_hook): Likewise.
44739         * malloc/arena.c (save_malloc_hook): Likewise.
44740         (save_free_hook): Likewise.
44741         * malloc/hooks.c (malloc_hook_ini): Likewise.
44742         (realloc_hook_ini): Likewise.
44743         (memalign_hook_ini): Likewise.
44744         * malloc/malloc.c (malloc_hook_ini): Likewise.
44745         (realloc_hook_ini): Likewise.
44746         (memalign_hook_ini): Likewise.
44747         (__free_hook): Likewise.
44748         (__malloc_hook): Likewise.
44749         (__realloc_hook): Likewise.
44750         (__memalign_hook): Likewise.
44751         (__libc_malloc): Likewise.
44752         (__libc_free): Likewise.
44753         (__libc_realloc): Likewise.
44754         (__libc_memalign): Likewise.
44755         (__libc_valloc): Likewise.
44756         (__libc_pvalloc): Likewise.
44757         (__libc_calloc): Likewise.
44758         (__posix_memalign): Likewise.
44759         * malloc/morecore.c (__sbrk): Likewise.
44760         (__default_morecore): Likewise.
44762         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
44764         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
44765         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
44766         __malloc_ptrdiff_t.
44768         * malloc/malloc.h (__malloc_size_t): Remove macro.
44769         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
44770         __malloc_size_t.
44771         (old_memalign_hook): Likewise.
44772         (old_realloc_hook): Likewise.
44773         (struct hdr): Likewise.
44774         (flood): Likewise.
44775         (mallochook): Likewise.
44776         (memalignhook): Likewise.
44777         (reallochook): Likewise.
44778         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
44779         (tr_old_realloc_hook): Likewise.
44780         (tr_old_memalign_hook): Likewise.
44781         (tr_mallochook): Likewise.
44782         (tr_reallochook): Likewise.
44783         (tr_memalignhook): Likewise.
44785 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44787         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
44788         default_ldbl_pack and using as default implementation.
44789         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
44790         implementation.
44791         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
44792         redundant definition.
44793         (ldbl_insert_mantissa): Likewise.
44794         (ldbl_canonicalize): Likewise.
44795         (ldbl_nearbyint): Likewise.
44796         (ldbl_pack): Rename to ldbl_pack_ppc.
44797         (ldbl_unpack): Rename to ldbl_unpack_ppc.
44798         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
44799         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
44801 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44803         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
44804         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
44805         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
44806         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
44807         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
44808         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
44809         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
44810         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
44812 2013-03-07  Andreas Jaeger  <aj@suse.de>
44814         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44815         bits/mman-linux.h.
44817 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44819         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
44820         Include mpa.h and declare __MPEXP.
44821         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
44822         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
44823         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
44824         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
44825         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
44826         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
44827         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
44829         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
44830         (__slowpow): Use long double EXPL and LOGL functions to
44831         compute POW.
44832         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
44833         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
44834         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
44835         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
44836         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
44837         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
44839         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
44840         intermediate variable to calculate exponent.
44841         (__sqr): Likewise.
44842         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44843         Likewise.
44844         (__sqr): Likewise.
44846         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
44847         [!NO__SQR]: Define __sqr.
44848         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
44849         and NO__SQR.  Remove all code except __mul and __sqr.  Include
44850         sysdeps/ieee754/dbl-64/mpa.c.
44851         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44853         [BZ #12723]
44854         * posix/Makefile (tests): Add tst-pathconf.
44855         * posix/tst-pathconf.c: New test case.
44856         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
44857         _PC_PIPE_BUF.
44858         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
44860 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
44862         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
44864 2013-03-06  Andreas Jaeger  <aj@suse.de>
44866         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
44867         definition via __MAP_ANONYMOUS.
44869         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
44870         it's not part of Linux headers.
44872         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
44873         (MAP_HUGE_MASK): Define.
44875         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44876         Define.
44877         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44878         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44879         Define.
44880         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44881         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44882         Define.
44883         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44884         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
44885         Define.
44886         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44888         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
44889         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
44890         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
44891         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
44892         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
44893         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
44895         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44896         Handle f2fs.
44898         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44899         Handle f2fs and efivarfs.
44901         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
44902         f2fs.
44904         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
44905         (EFIVARFS_MAGIC): Add.
44906         (F2FS_LINK_MAX): Add.
44908 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44910         * stdio-common/vfprintf.c: Replace __builtin_expect with
44911         __glibc_unlikely.
44913 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
44915         [BZ #13550]
44916         * sysdeps/generic/bp-sym.h: Remove file.
44917         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
44918         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
44919         <bp-sym.h> and <bp-asm.h>.
44920         (__longjmp): Don't use BP_SYM.
44921         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
44922         and <bp-asm.h>.
44923         (memcpy): Don't use BP_SYM.
44924         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
44925         <bp-sym.h> and <bp-asm.h>.
44926         (memcpy): Don't use BP_SYM.
44927         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
44928         <bp-asm.h>.
44929         (memcpy): Don't use BP_SYM.
44930         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
44931         <bp-asm.h>.
44932         (memset): Don't use BP_SYM.
44933         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44934         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44935         (__bzero): Don't use BP_SYM.
44936         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44937         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44938         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
44939         <bp-sym.h> and <bp-asm.h>.
44940         (memcmp): Don't use BP_SYM.  Remove comment about bounded
44941         pointers.
44942         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
44943         <bp-sym.h> and <bp-asm.h>.
44944         (memcpy): Don't use BP_SYM.
44945         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
44946         <bp-sym.h> and <bp-asm.h>.
44947         (memset): Don't use BP_SYM.
44948         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44949         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44950         (__bzero): Don't use BP_SYM.
44951         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44952         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44953         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
44954         <bp-sym.h> and <bp-asm.h>.
44955         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44956         pointers.
44957         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
44958         <bp-sym.h> and <bp-asm.h>.
44959         (memcpy): Don't use BP_SYM.
44960         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
44961         <bp-sym.h> and <bp-asm.h>.
44962         (memset): Don't use BP_SYM.
44963         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44964         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44965         (__bzero): Don't use BP_SYM.
44966         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44967         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44968         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
44969         <bp-sym.h> and <bp-asm.h>.
44970         (__memchr): Don't use BP_SYM.
44971         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
44972         <bp-sym.h> and <bp-asm.h>.
44973         (memcmp): Don't use BP_SYM.  Remove comment about bounded
44974         pointers.
44975         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
44976         <bp-sym.h> and <bp-asm.h>.
44977         (memcpy): Don't use BP_SYM.
44978         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
44979         <bp-sym.h> and <bp-asm.h>.
44980         (__mempcpy): Don't use BP_SYM.
44981         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
44982         <bp-sym.h> and <bp-asm.h>.
44983         (__memrchr): Don't use BP_SYM.
44984         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
44985         <bp-sym.h> and <bp-asm.h>.
44986         (memset): Don't use BP_SYM.
44987         (__bzero): Likewise.
44988         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
44989         <bp-sym.h> and <bp-asm.h>.
44990         (__rawmemchr): Don't use BP_SYM.
44991         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
44992         <bp-sym.h> and <bp-asm.h>.
44993         (__STRCMP): Don't use BP_SYM.
44994         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
44995         <bp-sym.h> and <bp-asm.h>.
44996         (strchr): Don't use BP_SYM.
44997         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
44998         <bp-sym.h> and <bp-asm.h>.
44999         (__strchrnul): Don't use BP_SYM.
45000         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
45001         <bp-sym.h> and <bp-asm.h>.
45002         (strlen): Don't use BP_SYM.
45003         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
45004         <bp-sym.h> and <bp-asm.h>.
45005         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45006         pointers.
45007         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
45008         <bp-sym.h> and <bp-asm.h>.
45009         (__strnlen): Don't use BP_SYM.
45010         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
45011         <bp-sym.h> and <bp-asm.h>.
45012         (__GI__setjmp): Don't use BP_SYM.
45013         (_setjmp): Likewise.
45014         (__sigsetjmp): Likewise.
45015         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
45016         (L(start_addresses)): Don't use BP_SYM.
45017         (_start): Likewise.
45018         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
45019         <bp-asm.h>.
45020         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
45021         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
45022         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45023         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45024         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
45025         <bp-asm.h>.
45026         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
45027         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
45028         about bounded pointers.
45029         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45030         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45031         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
45032         <bp-asm.h>.
45033         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45034         about bounded pointers.  Remove GKM FIXME comments.
45035         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45036         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
45037         <bp-asm.h>.
45038         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
45039         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
45040         Remove GKM FIXME comments.
45041         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45042         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45043         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
45044         <bp-asm.h>.
45045         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45046         about bounded pointers.  Remove GKM FIXME comment.
45047         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
45048         and <bp-asm.h>.
45049         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45050         pointers.
45051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
45052         <bp-sym.h> and <bp-asm.h>.
45053         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
45055         <bp-sym.h> and <bp-asm.h>.
45056         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45057         comment.
45059 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45061         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
45062         call free(NULL).
45064 2013-03-05  David S. Miller  <davem@davemloft.net>
45066         * po/es.po: Update from translation team.
45068 2013-03-05  Andreas Jaeger  <aj@suse.de>
45070         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
45071         <bits/mman-linux.h>.
45072         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45073         is fine.
45074         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
45075         <bits/mman-linux.h> to end of file.
45076         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45077         is fine.
45078         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
45079         <bits/mman-linux.h> to end of file.
45080         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45081         is fine.
45082         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
45083         <bits/mman-linux.h> to end of file.
45085         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
45086         (MCL_CURRENT, MCL_FUTURE): Define here.
45088 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45090         [BZ #15232]
45091         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
45092         attribute_hidden.
45093         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45095 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45097         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
45098         fourth parameter needed for rt_sigprocmask syscall.
45099         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45100         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45101         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
45102         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45103         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45104         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
45106 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
45108         [BZ #13550]
45109         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
45110         comment about bounded pointers.
45111         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
45112         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
45114 2013-03-04  Andreas Jaeger  <aj@suse.de>
45116         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
45117         common definitions.
45119         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
45120         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
45121         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
45122         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45123         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45124         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45126 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45128         [BZ #15055]
45129         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
45130         __ieee754_sqrl instead of __sqrl.
45132 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
45134         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
45135         * sysdeps/powerpc/fpu_control.h: ... here.
45136         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
45137         * sysdeps/powerpc/bits/fenvinline.h: ... here.
45138         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
45139         * sysdeps/powerpc/bits/mathinline.h: ... here.
45141 2013-03-01  Roland McGrath  <roland@hack.frob.com>
45143         * elf/dl-hwcaps.c (_dl_important_hwcaps):
45144         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
45145         to just [NEED_DL_SYSINFO_DSO].
45146         * elf/dl-support.c: Likewise.
45147         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
45148         * elf/rtld.c (dl_main): Likewise.
45149         * elf/setup-vdso.h (setup_vdso): Likewise.
45150         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
45151         * sysdeps/unix/sysv/linux/dl-sysdep.c
45152         (_dl_discover_osversion): Likewise.
45154 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
45156         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
45157         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45159 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45161         * NEWS: Mention libm performance improvements and non-x86 PI
45162         futex support.
45164         * csu/libc-start.c (__pthread_initialize_minimal): Change
45165         function arguments.
45166         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45168 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
45170         [BZ #13550]
45171         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
45172         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
45173         <bp-sym.h> and <bp-asm.h>.
45174         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45175         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
45176         and <bp-asm.h>.
45177         (memcpy): Don't use BP_SYM.
45178         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
45179         <bp-asm.h>.
45180         (__mpn_add_n): Don't use BP_SYM.
45181         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
45182         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
45183         and <bp-asm.h>.
45184         (__mpn_addmul_1): Don't use BP_SYM.
45185         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45186         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
45187         <bp-sym.h>.
45188         (_setjmp): Don't use BP_SYM.
45189         (__novmx_setjmp): Likewise.
45190         (__GI__setjmp): Likewise.
45191         (__vmx_setjmp): Likewise.
45192         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
45193         <bp-sym.h>.
45194         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
45195         (__bzero): Don't use BP_SYM.
45196         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45197         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45198         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
45199         <bp-sym.h> and <bp-asm.h>.
45200         (memcpy): Don't use BP_SYM.
45201         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
45202         <bp-sym.h> and <bp-asm.h>.
45203         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45204         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
45205         <bp-sym.h> and <bp-asm.h>.
45206         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45207         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
45208         <bp-asm.h>.
45209         (__mpn_lshift): Don't use BP_SYM.
45210         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45211         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
45212         <bp-asm.h>.
45213         (memset): Don't use BP_SYM.
45214         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45215         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45216         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
45217         <bp-asm.h>.
45218         (__mpn_mul_1): Don't use BP_SYM.
45219         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45220         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
45221         <bp-sym.h> and <bp-asm.h>.
45222         (memcmp): Don't use BP_SYM.
45223         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
45224         <bp-sym.h> and <bp-asm.h>.
45225         (memcpy): Don't use BP_SYM.
45226         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
45227         <bp-sym.h> and <bp-asm.h>.
45228         (memset): Don't use BP_SYM.
45229         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
45230         <bp-sym.h> and <bp-asm.h>.
45231         (strncmp): Don't use BP_SYM.
45232         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
45233         <bp-sym.h> and <bp-asm.h>.
45234         (memcpy): Don't use BP_SYM.
45235         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
45236         <bp-sym.h> and <bp-asm.h>.
45237         (memset): Don't use BP_SYM.
45238         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
45239         <bp-sym.h> and <bp-asm.h>.
45240         (__memchr): Don't use BP_SYM.
45241         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
45242         <bp-sym.h> and <bp-asm.h>.
45243         (memcmp): Don't use BP_SYM.
45244         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
45245         <bp-sym.h> and <bp-asm.h>.
45246         (memcpy): Don't use BP_SYM.
45247         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
45248         <bp-sym.h> and <bp-asm.h>.
45249         (__mempcpy): Don't use BP_SYM.
45250         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
45251         <bp-sym.h> and <bp-asm.h>.
45252         (__memrchr): Don't use BP_SYM.
45253         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
45254         <bp-sym.h> and <bp-asm.h>.
45255         (memset): Don't use BP_SYM.
45256         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
45257         <bp-sym.h> and <bp-asm.h>.
45258         (__rawmemchr): Don't use BP_SYM.
45259         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
45260         <bp-sym.h> and <bp-asm.h>.
45261         (__STRCMP): Don't use BP_SYM.
45262         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
45263         <bp-sym.h> and <bp-asm.h>.
45264         (strchr): Don't use BP_SYM.
45265         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
45266         <bp-sym.h> and <bp-asm.h>.
45267         (__strchrnul): Don't use BP_SYM.
45268         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
45269         <bp-sym.h> and <bp-asm.h>.
45270         (strlen): Don't use BP_SYM.
45271         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
45272         <bp-sym.h> and <bp-asm.h>.
45273         (strncmp): Don't use BP_SYM.
45274         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
45275         <bp-sym.h> and <bp-asm.h>.
45276         (__strnlen): Don't use BP_SYM.
45277         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
45278         <bp-asm.h>.
45279         (__mpn_rshift): Don't use BP_SYM.
45280         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45281         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
45282         <bp-sym.h> and <bp-asm.h>.
45283         (__sigsetjmp): Don't use BP_SYM.
45284         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
45285         (L(start_addresses)): Don't use BP_SYM.
45286         (_start): Likewise.
45287         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
45288         <bp-asm.h>.
45289         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
45290         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45291         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45292         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
45293         <bp-asm.h>.
45294         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
45295         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45296         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45297         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
45298         <bp-asm.h>.
45299         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
45300         comments.
45301         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45302         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
45303         <bp-asm.h>.
45304         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
45305         FIXME comments.
45306         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45307         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45308         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
45309         <bp-asm.h>.
45310         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
45311         comment.
45312         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
45313         and <bp-asm.h>.
45314         (strncmp): Don't use BP_SYM,
45315         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
45316         <bp-asm.h>.
45317         (__mpn_sub_n): Don't use BP_SYM.
45318         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45319         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
45320         and <bp-asm.h>.
45321         (__mpn_submul_1): Don't use BP_SYM.
45322         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
45324         <bp-sym.h> and <bp-asm.h>.
45325         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
45327         <bp-sym.h> and <bp-asm.h>.
45328         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45329         comment.
45331 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45333         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
45334         Use ZK to minimize writes to Z.
45335         (sub_magnitudes): Simplify code a bit.
45336         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
45337         Use ZK to minimize writes to Z.
45338         (sub_magnitudes): Simplify code a bit.
45340 2013-02-27  Roland McGrath  <roland@hack.frob.com>
45342         * csu/gmon-start.c: Add special exception to license text.
45344 2013-02-27  Richard Henderson  <rth@redhat.com>
45346         * scripts/config.guess: Update from config.git.
45347         * scripts/config.sub: Likewise.
45349 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45351         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
45353         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
45355         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
45357         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
45359         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
45361 2013-02-26  Roland McGrath  <roland@hack.frob.com>
45363         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
45364         [$(build-shared = yes].
45366 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45368         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
45369         (__mul): Reduce iterations for calculating mantissa.
45371         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
45372         MPTWO.
45373         (__mpranred): Likewise.
45375         [BZ #15160]
45376         * malloc/memusagestat.c (main): Draw graphs for heap and stack
45377         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
45379 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
45381         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
45382         Define __attribute__.
45384 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45386         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
45387         unused.
45388         * posix/regex_internal.h (__attribute): Remove.
45389         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
45390         (re_string_context_at): Likewise.
45391         (bitset_not): Use __attribute__ and mark function as possibly
45392         unused.
45393         (bitset_merge): Likewise.
45394         (bitset_mask): Likewise.
45395         (re_string_char_size_at): Likewise.
45396         (re_string_wchar_at): Likewise.
45397         (re_string_elem_size_at): Likewise.
45399 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45401         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
45402         code.
45403         (cc32): Likewise.
45405         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
45406         (__acr): Likewise.
45407         (__cpy): Likewise.
45408         (norm): Likewise.
45409         (denorm): Likewise.
45410         (__dbl_mp): Likewise.
45411         (add_magnitudes): Likewise.
45412         (sub_magnitudes): Likewise.
45413         (__mul): Likewise.
45414         (__inv): Likewise.
45416         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
45417         style.
45419         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
45420         style.
45422         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
45423         code.
45425         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
45426         up changes with default code.
45427         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
45428         Likewise.
45430 2013-02-24  Allan McRae  <allan@archlinux.org>
45432         * manual/socket.texi (The Internet Namespace): Order menu items
45433         to match that in the file.
45435         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
45436         node listing of the info page menu.
45438 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
45440         [BZ #13550]
45441         * sysdeps/i386/bp-asm.h: Remove file.
45442         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45443         (PARMS): Do not use macros from bp-asm.h.
45444         (S1): Likewise.
45445         (S2): Likewise.
45446         (SIZE): Likewise.
45447         (__mpn_add_n): Do not use BP_SYM
45448         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
45449         "bp-asm.h".
45450         (PARMS): Do not use macros from bp-asm.h.
45451         (S1): Likewise.
45452         (SIZE): Likewise.
45453         (__mpn_addmul_1): Do not use BP_SYM
45454         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
45455         "bp-asm.h".
45456         (PARMS): Do not use macros from bp-asm.h.
45457         (SIGMSK): Likewise.
45458         (_setjmp): Likewise.  Do not use BP_SYM.
45459         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
45460         "bp-asm.h".
45461         (PARMS): Do not use macros from bp-asm.h.
45462         (SIGMSK): Likewise.
45463         (setjmp): Likewise.  Do not use BP_SYM.
45464         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
45465         "bp-asm.h".
45466         (PARMS): Do not use macros from bp-asm.h.
45467         (__frexp): Do not use BP_SYM.
45468         (frexp): Likewise.
45469         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
45470         "bp-asm.h".
45471         (PARMS): Do not use macros from bp-asm.h.
45472         (__frexpf): Do not use BP_SYM.
45473         (frexpf): Likewise.
45474         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
45475         "bp-asm.h".
45476         (PARMS): Do not use macros from bp-asm.h.
45477         (__frexpl): Do not use BP_SYM.
45478         (frexpl): Likewise.
45479         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
45480         "bp-asm.h".
45481         (PARMS): Do not use macros from bp-asm.h.
45482         (__remquo): Do not use BP_SYM.
45483         (remquo): Likewise.
45484         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
45485         "bp-asm.h".
45486         (PARMS): Do not use macros from bp-asm.h.
45487         (__remquof): Do not use BP_SYM.
45488         (remquof): Likewise.
45489         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
45490         "bp-asm.h".
45491         (PARMS): Do not use macros from bp-asm.h.
45492         (__remquol): Do not use BP_SYM.
45493         (remquol): Likewise.
45494         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
45495         "bp-asm.h".
45496         (PARMS): Do not use macros from bp-asm.h.
45497         (DEST): Likewise.
45498         (SRC): Likewise.
45499         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
45500         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
45501         "bp-asm.h".
45502         (PARMS): Do not use macros from bp-asm.h.
45503         (strlen): Do not use BP_SYM.
45504         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
45505         "bp-asm.h".
45506         (PARMS): Do not use macros from bp-asm.h.
45507         (S1): Likewise.
45508         (S2): Likewise.
45509         (SIZE): Likewise.
45510         (__mpn_add_n): Do not use BP_SYM.
45511         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
45512         "bp-asm.h".
45513         (PARMS): Do not use macros from bp-asm.h.
45514         (S1): Likewise.
45515         (SIZE): Likewise.
45516         (__mpn_addmul_1): Do not use BP_SYM.
45517         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
45518         weak_alias.
45519         (bzero): Likewise.
45520         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
45521         "bp-asm.h".
45522         (PARMS): Do not use macros from bp-asm.h.
45523         (S): Likewise.
45524         (SIZE): Likewise.
45525         (__mpn_lshift): Do not use BP_SYM.
45526         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
45527         "bp-asm.h".
45528         (PARMS): Do not use macros from bp-asm.h.
45529         (DEST): Likewise.
45530         (SRC): Likewise.
45531         (LEN): Likewise.
45532         (memcpy): Likewise.  Do not use BP_SYM.
45533         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
45534         libc_hidden_def and weak_alias.
45535         (mempcpy): Do not use BP_SYM in weak_alias.
45536         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
45537         "bp-asm.h".
45538         (PARMS): Do not use macros from bp-asm.h.
45539         (DEST): Likewise.
45540         (LEN): Likewise.
45541         [!BZERO_P] (CHR): Likewise.
45542         (memset): Likewise.  Do not use BP_SYM.
45543         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
45544         "bp-asm.h".
45545         (PARMS): Do not use macros from bp-asm.h.
45546         (S1): Likewise.
45547         (SIZE): Likewise.
45548         (__mpn_mul_1): Do not use BP_SYM.
45549         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
45550         "bp-asm.h".
45551         (PARMS): Do not use macros from bp-asm.h.
45552         (S): Likewise.
45553         (SIZE): Likewise.
45554         (__mpn_rshift): Do not use BP_SYM.
45555         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
45556         "bp-asm.h".
45557         (PARMS): Do not use macros from bp-asm.h.
45558         (STR): Likewise.
45559         (CHR): Likewise.
45560         (strchr): Likewise.  Do not use BP_SYM.
45561         (index): Do not use BP_SYM in weak_alias.
45562         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
45563         "bp-asm.h".
45564         (PARMS): Do not use macros from bp-asm.h.
45565         (DEST): Likewise.
45566         (SRC): Likewise.
45567         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
45568         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
45569         "bp-asm.h".
45570         (PARMS): Do not use macros from bp-asm.h.
45571         (strlen): Do not use BP_SYM.
45572         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
45573         "bp-asm.h".
45574         (PARMS): Do not use macros from bp-asm.h.
45575         (S1): Likewise.
45576         (S2): Likewise.
45577         (SIZE): Likewise.
45578         (__mpn_sub_n): Do not use BP_SYM.
45579         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
45580         "bp-asm.h".
45581         (PARMS): Do not use macros from bp-asm.h.
45582         (S1): Likewise.
45583         (SIZE): Likewise.
45584         (__mpn_submul_1): Do not use BP_SYM.
45585         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
45586         "bp-asm.h".
45587         (PARMS): Do not use macros from bp-asm.h.
45588         (S1): Likewise.
45589         (S2): Likewise.
45590         (SIZE): Likewise.
45591         (__mpn_add_n): Do not use BP_SYM.
45592         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
45593         weak_alias.
45594         (bzero): Likewise.
45595         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
45596         "bp-asm.h".
45597         (PARMS): Do not use macros from bp-asm.h.
45598         (BLK2): Likewise.
45599         (LEN): Likewise.
45600         (memcmp): Do not use BP_SYM.
45601         (bcmp): Do not use BP_SYM in weak_alias.
45602         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
45603         "bp-asm.h".
45604         (PARMS): Do not use macros from bp-asm.h.
45605         (DEST): Likewise.
45606         (SRC): Likewise.
45607         (LEN): Likewise.
45608         (memcpy): Likewise.  Do not use BP_SYM.
45609         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
45610         "bp-asm.h".
45611         (PARMS): Do not use macros from bp-asm.h.
45612         (DEST): Likewise.
45613         (SRC): Likewise.
45614         (LEN): Likewise.
45615         (memmove): Likewise.  Do not use BP_SYM.
45616         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
45617         "bp-asm.h".
45618         (PARMS): Do not use macros from bp-asm.h.
45619         (DEST): Likewise.
45620         (SRC): Likewise.
45621         (LEN): Likewise.
45622         (__mempcpy): Likewise.  Do not use BP_SYM.
45623         (mempcpy): Do not use BP_SYM in weak_alias.
45624         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
45625         "bp-asm.h".
45626         (PARMS): Do not use macros from bp-asm.h.
45627         (DEST): Likewise.
45628         (LEN): Likewise.
45629         [!BZERO_P] (CHR): Likewise.
45630         (memset): Likewise.  Do not use BP_SYM.
45631         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
45632         "bp-asm.h".
45633         (PARMS): Do not use macros from bp-asm.h.
45634         (STR2): Likewise.
45635         (strcmp): Do not use BP_SYM.
45636         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
45637         "bp-asm.h".
45638         (PARMS): Do not use macros from bp-asm.h.
45639         (STR): Likewise.
45640         (DELIM): Likewise.
45641         [USE_AS_STRTOK_R] (SAVE): Likewise.
45642         (FUNCTION): Likewise.  Do not use BP_SYM.
45643         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
45644         aliases.
45645         (strtok_r): Likewise.
45646         (__GI___strtok_r): Likewise.
45647         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
45648         (PARMS): Do not use macros from bp-asm.h.
45649         (S): Likewise.
45650         (SIZE): Likewise.
45651         (__mpn_lshift): Do not use BP_SYM.
45652         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
45653         (PARMS): Do not use macros from bp-asm.h.
45654         (STR): Likewise.
45655         (CHR): Likewise.
45656         (__memchr): Do not use BP_SYM.
45657         (memchr): Do not use BP_SYM in weak_alias.
45658         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
45659         (PARMS): Do not use macros from bp-asm.h.
45660         (BLK2): Likewise.
45661         (LEN): Likewise.
45662         (memcmp): Do not use BP_SYM.
45663         (bcmp): Do not use BP_SYM in weak_alias.
45664         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
45665         (PARMS): Do not use macros from bp-asm.h.
45666         (S1): Likewise.
45667         (SIZE): Likewise.
45668         (__mpn_mul_1): Do not use BP_SYM.
45669         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
45670         "bp-asm.h".
45671         (PARMS): Do not use macros from bp-asm.h.
45672         (STR): Likewise.
45673         (CHR): Likewise.
45674         (__rawmemchr): Do not use BP_SYM.
45675         (rawmemchr): Do not use BP_SYM in weak_alias.
45676         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
45677         (PARMS): Do not use macros from bp-asm.h.
45678         (S): Likewise.
45679         (SIZE): Likewise.
45680         (__mpn_rshift): Do not use BP_SYM.
45681         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
45682         (PARMS): Do not use macros from bp-asm.h.
45683         (SIGMSK): Likewise.
45684         (__sigsetjmp): Likewise.  Do not use BP_SYM.
45685         * sysdeps/i386/start.S: Do not include "bp-sym.h".
45686         (_start): Do not use BP_SYM.
45687         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
45688         (PARMS): Do not use macros from bp-asm.h.
45689         (DEST): Likewise.
45690         (SRC): Likewise.
45691         (__stpcpy): Likewise.  Do not use BP_SYM.
45692         (stpcpy): Do not use BP_SYM in weak_alias.
45693         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
45694         "bp-asm.h".
45695         (PARMS): Do not use macros from bp-asm.h.
45696         (DEST): Likewise.
45697         (SRC): Likewise.
45698         (LEN): Likewise.
45699         (__stpncpy): Likewise.  Do not use BP_SYM.
45700         (stpncpy): Do not use BP_SYM in weak_alias.
45701         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
45702         (PARMS): Do not use macros from bp-asm.h.
45703         (STR): Likewise.
45704         (CHR): Likewise.
45705         (strchr): Likewise.  Do not use BP_SYM.
45706         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
45707         "bp-asm.h".
45708         (PARMS): Do not use macros from bp-asm.h.
45709         (STR): Likewise.
45710         (CHR): Likewise.
45711         (__strchrnul): Likewise.  Do not use BP_SYM.
45712         (strchrnul): Do not use BP_SYM in weak_alias.
45713         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
45714         "bp-asm.h".
45715         (PARMS): Do not use macros from bp-asm.h.
45716         (STOP): Likewise.
45717         (strcspn): Do not use BP_SYM.
45718         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
45719         "bp-asm.h".
45720         (PARMS): Do not use macros from bp-asm.h.
45721         (STR): Likewise.
45722         (STOP): Likewise.
45723         (strpbrk): Likewise.  Do not use BP_SYM.
45724         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
45725         "bp-asm.h".
45726         (PARMS): Do not use macros from bp-asm.h.
45727         (STR): Likewise.
45728         (CHR): Likewise.
45729         (strrchr): Likewise.  Do not use BP_SYM.
45730         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
45731         (PARMS): Do not use macros from bp-asm.h.
45732         (SKIP): Likewise.
45733         (strspn): Do not use BP_SYM.
45734         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
45735         (PARMS): Do not use macros from bp-asm.h.
45736         (STR): Likewise.
45737         (DELIM): Likewise.
45738         (SAVE): Likewise.
45739         (FUNCTION): Likewise.  Do not use BP_SYM.
45740         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
45741         aliases.
45742         (strtok_r): Likewise.
45743         (__GI___strtok_r): Likewise.
45744         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45745         (PARMS): Do not use macros from bp-asm.h.
45746         (S1): Likewise.
45747         (S2): Likewise.
45748         (SIZE): Likewise.
45749         (__mpn_sub_n): Do not use BP_SYM.
45750         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
45751         "bp-asm.h".
45752         (PARMS): Do not use macros from bp-asm.h.
45753         (S1): Likewise.
45754         (SIZE): Likewise.
45755         (__mpn_submul_1): Do not use BP_SYM.
45756         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
45757         <bp-sym.h>.
45758         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
45759         and <bp-asm.h>.
45760         (PARMS): Do not use macros from bp-asm.h.
45761         (FLAGS): Likewise.
45762         (PTID): Likewise.
45763         (TLS): Likewise.
45764         (CTID): Likewise.
45765         (__clone): Do not use BP_SYM.
45766         (clone): Do not use BP_SYM in weak_alias.
45767         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
45768         and <bp-asm.h>.
45769         (PARMS): Do not use macros from bp-asm.h.
45770         (LEN): Likewise.
45771         (__mmap64): Do not use BP_SYM.
45772         (mmap64): Do not use BP_SYM in weak_alias.
45773         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45774         <bp-sym.h> and <bp-asm.h>.
45775         (PARMS): Do not use macros from bp-asm.h.
45776         (__posix_fadvise64_l64): Do not use BP_SYM.
45777         * sysdeps/unix/sysv/linux/i386/semtimedop.S
45778         (PARMS): Do not use macros from bp-asm.h.
45779         (NSOPS): Likewise.
45780         (semtimedop): Do not use BP_SYM.
45781         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
45782         and <bp-asm.h>.
45784 2013-02-21  Allan McRae  <allan@archlinux.org>
45786         * manual/message.texi (Charset conversion in gettext):
45787         Move @end statement to beginning of line.
45789 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45791         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
45792         static.
45793         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
45794         Likewise.
45796         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
45797         (denorm): Likewise.
45798         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
45799         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
45801 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45803         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
45804         tail-call to the resolved function if pltexit isn't needed.
45806 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45808         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
45809         or Y being zero as being unlikely.
45810         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45811         Likewise.
45813 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
45815         * manual/nss.texi (System Databases and Name Service Switch):
45816         Remove frobnicate @pxref.
45818 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
45820         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
45821         __attribute__ ((unused)) to __attribute__ ((__unused__)).
45823 2013-02-20  Petr Machata  <pmachata@redhat.com>
45825         * elf/elf.h (R_ARM_TARGET1): New macro.
45826         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
45827         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
45828         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
45829         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
45830         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
45831         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
45832         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
45833         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
45834         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
45835         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
45836         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
45837         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
45838         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
45839         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
45840         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
45841         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
45842         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
45843         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
45844         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
45845         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
45846         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
45847         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
45848         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
45849         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
45850         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
45851         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
45852         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
45853         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
45854         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
45855         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
45856         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
45857         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
45858         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
45859         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
45860         (R_ARM_THM_GOT_BREL12): Likewise.
45861         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
45862         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
45863         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
45864         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
45865         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
45866         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
45867         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
45868         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
45869         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
45871 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
45873         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
45874         __attribute_used__ to __attribute__ ((unused)).
45876 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45878         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
45879         powerpc mpa.c.
45880         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
45881         comment formatting.
45882         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
45884 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
45886         [BZ #13550]
45887         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
45888         Remove macro.
45889         (ENTER): Remove both macro definitions.
45890         (LEAVE): Likewise.
45891         (CHECK_BOUNDS_LOW): Likewise.
45892         (CHECK_BOUNDS_HIGH): Likewise.
45893         (CHECK_BOUNDS_BOTH): Likewise.
45894         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
45895         (RETURN_BOUNDED_POINTER): Likewise.
45896         (RETURN_NULL_BOUNDED_POINTER): Likewise.
45897         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
45898         (POP_ERRNO_LOCATION_RETURN): Likewise.
45899         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
45900         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45901         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
45902         macros.
45903         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45904         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
45905         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
45906         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
45907         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
45908         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
45909         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
45910         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
45911         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
45912         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
45913         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
45914         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
45915         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45916         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
45917         removed macros.
45918         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45919         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
45920         macros.
45921         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45922         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
45923         * sysdeps/i386/i586/memset.S (memset): Likewise.
45924         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
45925         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45926         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
45927         macros.
45928         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45929         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
45930         Change uses of L(2) to L(out).
45931         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
45932         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
45933         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
45934         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45935         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
45936         removed macros.
45937         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45938         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
45939         macros.
45940         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45941         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
45942         (RETURN): Do not use macro LEAVE.
45943         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
45944         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
45945         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
45946         * sysdeps/i386/i686/memset.S (memset): Likewise.
45947         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
45948         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
45949         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45950         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
45951         Likewise.
45952         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45953         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
45954         L(1_2) and L(1_3) into L(1).
45955         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
45956         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
45957         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45958         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
45959         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45960         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
45961         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
45962         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45963         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
45964         macros.
45965         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
45966         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45967         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
45968         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
45969         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
45970         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45971         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
45972         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
45973         * sysdeps/i386/strcspn.S (strcspn): Likewise.
45974         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
45975         * sysdeps/i386/strrchr.S (strrchr): Likewise.
45976         * sysdeps/i386/strspn.S (strspn): Likewise.
45977         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
45978         conditional code.
45979         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45980         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
45981         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
45982         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
45983         L(1_3) into L(1_1).
45984         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
45985         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45986         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
45987         macros.
45988         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45990 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
45992         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
45993         macro.
45995 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45997         * math/atest-exp.c (exp_mpn): Remove ROUND.
45998         * math/atest-exp2.c (exp_mpn): Likewise.
45999         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
46001         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
46002         * stdlib/tst-tls-atexit-lib.c: Likewise.
46003         * stdlib/tst-tls-atexit.c: Likewise.
46005 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46007         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
46008         and __attribute_alloc_size__.
46010 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46012         * include/programs/xmalloc.h: Change __attribute_alloc_size to
46013         __attribute_alloc_size__.
46014         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
46015         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
46017 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46019         * include/programs/xmalloc.h: New file.
46020         * catgets/gencat.c: Include it.
46021         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
46022         * elf/pldd.c: Likewise.
46023         * iconv/iconv_charmap.c: Likewise.
46024         * iconv/iconvconfig.c: Likewise.
46025         * iconv/strtab.c: Likewise.
46026         * locale/programs/locale.c: Likewise.
46027         * locale/programs/localedef.h: Likewise.
46028         * locale/programs/simple-hash.c: Likewise.
46029         * nscd/nscd.h: Likewise.
46030         * nss/makedb.c: Likewise.
46031         * sysdeps/generic/ldconfig.h: Likewise.
46033 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46035         * Versions.def: Add GLIBC_2.18.
46036         * include/link.h (struct link_map): New member l_tls_dtor_count.
46037         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
46038         (__call_tls_dtors): Likewise.
46039         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
46040         __cxa_thread_atexit_impl.
46041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46042         Likewise.
46043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46044         Likewise.
46045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
46046         Likewise.
46047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
46048         Likewise.
46049         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
46051         Likewise.
46052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
46053         Likewise.
46054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46056         Likewise.
46057         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
46058         (tests): Add test case tst-tls-atexit.
46059         (modules-names): Add shared library for tst-tls-atexit.
46060         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
46061         (GLIBC_PRIVATE): Add __call_tls_dtors.
46062         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
46063         for libstdc++.
46064         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
46065         * stdlib/tst-tls-atexit.c: New test case.
46066         * stdlib/tst-tls-atexit-lib.c: New test case.
46068         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
46070         * elf/Versions (ld): Add _dl_find_dso_for_object.
46071         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
46072         * elf/dl-open.c (_dl_find_dso_for_object): New function.
46073         (dl_open_worker): Use _dl_find_dso_for_object.
46074         * elf/dl-sym.c (do_sym): Likewise.
46075         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
46077 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46079         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
46080         Syntactic changes only.
46081         (_dl_runtime_profile): Do a tail-call to the resolved function.
46083 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
46085         [BZ #13550]
46086         * sysdeps/x86_64/bp-asm.h: Remove file.
46087         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
46088         <bp-sym.h> and <bp-asm.h>.
46089         (__clone): Do not use BP_SYM.
46090         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
46091         <bp-sym.h> and <bp-asm.h>.
46092         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46093         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
46094         "bp-asm.h".
46095         (_setjmp): Do not use BP_SYM.
46096         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
46097         "bp-asm.h".
46098         (setjmp): Do not use BP_SYM.
46099         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
46100         libc_hidden_def.
46101         (mempcpy): Do not use BP_SYM in weak_alias.
46102         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
46103         "bp-asm.h".
46104         (strchr): Do not use BP_SYM.
46105         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
46106         "bp-asm.h".
46107         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
46108         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
46109         (_start): Do not use BP_SYM.
46110         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
46111         "bp-asm.h".
46112         (strcat): Do not use BP_SYM.
46113         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
46114         "bp-asm.h".
46115         (STRCMP): Do not use BP_SYM.
46116         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
46117         "bp-asm.h".
46118         (STRCPY): Do not use BP_SYM.
46119         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
46120         "bp-asm.h".
46121         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
46122         "bp-asm.h".
46123         (FUNCTION): Do not use BP_SYM.
46124         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
46125         weak_alias.
46126         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
46128 2013-02-17  Andreas Jaeger  <aj@suse.de>
46130         * time/Versions: Sort entries.
46131         * string/Versions: Likewise.
46132         * resolv/Versions: Likewise.
46133         * posix/Versions: Likewise.
46134         * iconv/Versions: Likewise.
46135         * elf/Versions: Likewise.
46136         * wcsmbs/Versions: Likewise.
46138 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46140         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
46141         loop termination condition.
46143         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
46144         variable to calculate EZ.
46145         (__sqr): Likewise.
46147         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
46148         the lower precision input.
46150 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
46152         [BZ #13550]
46153         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
46154         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
46155         (run-via-rtld-prefix): Do not handle %-bp tests.
46156         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
46157         (all-object-suffixes): Remove .ob.
46158         (bppfx): Remove variable.
46159         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
46160         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
46161         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
46162         [$(build-bounded) = yes] (libtype.ob): Likewise.
46163         * Makerules (elide-routines.ob): Remove variable.
46164         (do-tests-clean): Do not handle *-bp.out.
46165         (common-mostlyclean): Do not handle *-bp and *-bp.out.
46166         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
46167         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
46168         (tests): Do not include $(tests-bp.out).
46169         (xtests): Do not include $(xtests-bp.out).
46170         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
46171         [$(build-bounded) = yes] ($(addprefix
46172         $(objpfx),$(binaries-bounded))): Remove rule.
46173         ($(objpfx)%-bp.out): Remove rule.
46174         * config.make.in (build-bounded): Remove variable.
46175         * crypt/Makefile [$(build-bounded) = yes]
46176         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
46177         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
46178         append to variable.
46179         [$(build-bounded) = yes] (install-lib): Likewise.
46180         [$(build-bounded) = yes] (generated): Likewise.
46181         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
46182         Remove rule.
46183         * intl/Makefile [$(build-bounded) = yes]
46184         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
46185         * math/Makefile [$(build-bounded) = yes]
46186         ($(tests:%=$(objpfx)%-bp): Likewise.
46187         * misc/Makefile [$(build-bounded) = yes]
46188         ($(objpfx)tst-tsearch-bp): Likewise.
46189         * nptl/Makeconfig (bounded-thread-library): Remove variable.
46190         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
46191         Remove dependency.
46192         * string/Makefile (o-objects.ob): Remove variable.
46193         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
46194         (CFLAGS-.ob): Remove variable.
46195         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
46196         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
46197         both definitions of variable.
46198         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
46199         (ASFLAGS-.ob): Remove variable.
46201 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
46203         [BZ #13550]
46204         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
46205         Remove __BOUNDED_POINTERS__ from condition.
46206         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
46207         * string/bits/string2.h [!__NO_STRING_INLINES &&
46208         !__BOUNDED_POINTERS__]: Likewise.
46209         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
46210         Likewise.
46211         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
46212         Remove conditional code.
46213         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
46214         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
46215         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
46216         condition.
46218         [BZ #13550]
46219         * csu/libc-start.c: Do not include <bp-sym.h>.
46220         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
46221         * elf/dl-open.c: Do not include <bp-sym.h>.
46222         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
46223         * math/fegetenv.c: Do not include <bp-sym.h>.
46224         (fegetenv): Do not use BP_SYM in versioned symbols.
46225         * nptl/sysdeps/pthread/bits/libc-lockP.h
46226         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
46227         <bp-sym.h>.
46228         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46229         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
46230         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46231         (__pthread_mutex_destroy): Likewise.
46232         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46233         (__pthread_mutex_lock): Likewise.
46234         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46235         (__pthread_mutex_trylock): Likewise.
46236         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46237         (__pthread_mutex_unlock): Likewise.
46238         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46239         (__pthread_mutexattr_init): Likewise.
46240         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46241         (__pthread_mutexattr_destroy): Likewise.
46242         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46243         (__pthread_mutexattr_settype): Likewise.
46244         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46245         (__pthread_rwlock_init): Likewise.
46246         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46247         (__pthread_rwlock_destroy): Likewise.
46248         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46249         (__pthread_rwlock_rdlock): Likewise.
46250         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46251         (__pthread_rwlock_tryrdlock): Likewise.
46252         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46253         (__pthread_rwlock_wrlock): Likewise.
46254         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46255         (__pthread_rwlock_trywrlock): Likewise.
46256         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46257         (__pthread_rwlock_unlock): Likewise.
46258         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46259         (__pthread_key_create): Likewise.
46260         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46261         (__pthread_setspecific): Likewise.
46262         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46263         (__pthread_getspecific): Likewise.
46264         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
46265         Likewise.
46266         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46267         (_pthread_cleanup_push_defer): Likewise.
46268         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46269         (_pthread_cleanup_pop_restore): Likewise.
46270         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46271         (pthread_setcancelstate): Likewise.
46272         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
46273         <bp-sym.h>.
46274         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
46275         (memchr): Do not use BP_SYM in weak_alias.
46276         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
46277         (fegetenv): Do not use BP_SYM in versioned symbols.
46278         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
46279         (fesetenv): Do not use BP_SYM in versioned symbols.
46280         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46281         (feupdateenv): Do not use BP_SYM in versioned symbols.
46282         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46283         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46284         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
46285         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
46286         (open64): Do not use BP_SYM in weak_alias.
46287         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
46288         (fegetenv): Do not use BP_SYM in versioned symbols.
46289         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
46290         (fesetenv): Do not use BP_SYM in versioned symbols.
46291         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46292         (feupdateenv): Do not use BP_SYM in versioned symbols.
46293         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
46294         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
46295         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
46296         (feraiseexcept): Do not use BP_SYM in versioned symbols.
46297         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46298         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46299         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
46300         <bp-sym.h>.
46301         (__libc_start_main): Do not use BP_SYM.
46303 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46305         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
46306         redundant return line.
46307         (norm): Likewise.
46308         (denorm): Likewise.
46309         (dbl_mp): Likewise.
46310         (sub_magnitudes): Likewise.
46311         (__add): Likewise.
46312         (__sub): Likewise.
46313         (__mul): Likewise.
46314         (__inv): Likewise.
46315         (__dvd): Likewise.
46316         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
46317         (norm): Likewise.
46318         (denorm): Likewise.
46319         (dbl_mp): Likewise.
46320         (sub_magnitudes): Likewise.
46321         (__add): Likewise.
46322         (__sub): Likewise.
46323         (__mul): Likewise.
46324         (__inv): Likewise.
46325         (__dvd): Likewise.
46327         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
46328         instead of __mul.
46329         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46330         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
46331         (cc32): Likewise.
46333         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
46334         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
46335         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
46336         of __mul for squares.
46337         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
46338         function
46339         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
46340         Likewise.
46341         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
46342         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46344 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
46346         [BZ #13550]
46347         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
46348         code.
46349         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
46350         prototype or function definition.  Rename ubp_* variables and
46351         parameters.  Remove argv definitions conditional on
46352         [__BOUNDED_POINTERS__].
46353         * debug/backtrace.c (__backtrace): Do not use __unbounded.
46354         * elf/dl-runtime.c (_dl_fixup): Likewise.
46355         * include/set-hooks.h (RUN_HOOK): Likewise.
46356         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
46357         definition.
46358         * string/strcpy.c (strcpy): Do not use __unbounded.
46359         * sysdeps/generic/frame.h (struct layout): Likewise.
46360         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
46361         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
46362         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
46363         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
46364         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
46365         (__backtrace): Likewise.
46366         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
46367         use __ptrvalue.
46368         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
46369         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46370         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
46371         Likewise.
46372         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
46373         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
46374         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46375         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46376         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
46377         Do not use __unbounded.
46378         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
46379         Rename __unboundedrlimits parameter to rlimits in prototype.
46380         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
46381         Do not use __unbounded.
46382         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
46383         not use __ptrvalue.
46384         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46385         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
46386         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46387         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
46388         __ptrvalue or __unbounded.
46389         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
46390         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
46391         use __unbounded.
46392         (__new_msgctl): Do not use __ptrvalue.
46393         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
46394         __unbounded.
46395         (__libc_msgrcv): Do not use __ptrvalue.
46396         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
46397         startup_info): Do not use __unbounded.
46398         (__libc_start_main): Likewise.  Rename ubp_* variables and
46399         parameters.  Remove argv definitions conditional on
46400         [__BOUNDED_POINTERS__].
46401         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
46402         __ptrvalue.
46403         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
46404         use __unbounded.
46405         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
46406         or __ptrvalue.
46407         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
46408         use __unbounded.
46409         (__new_shmctl): Do not use __ptrvalue.
46410         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
46411         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
46412         Likewise.
46413         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
46414         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
46415         (__libc_sigaction): Likewise.
46416         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
46417         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
46418         Likewise.
46419         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46421 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
46423         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
46425         * string/mempcpy.c: Implement by calling memcpy.
46427 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46429         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
46431         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
46432         evaluation.
46434         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
46435         values in the mantissa.
46437         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
46438         minimize writes to Z.
46439         (sub_magnitudes): Simplify code a bit.
46441 2013-02-12  Roland McGrath  <roland@hack.frob.com>
46443         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
46444         from the message.  The linker prefixes all warnings with that already.
46446 2013-02-12  Andreas Schwab  <schwab@suse.de>
46448         [BZ #15078]
46449         * posix/regexec.c (extend_buffers): Add parameter min_len.
46450         (check_matching): Pass minimum needed length.
46451         (clean_state_log_if_needed): Likewise.
46452         (get_subexp): Likewise.
46453         * posix/Makefile (tests): Add bug-regex34.
46454         (bug-regex34-ENV): Define.
46455         * posix/bug-regex34.c: New file.
46457         [BZ #11561]
46458         * posix/regcomp.c (parse_bracket_exp): When looking up collating
46459         elements compare against the byte sequence of it, not its name.
46460         * posix/Makefile (tests): Add bug-regex35.
46461         (bug-regex35-ENV): Define.
46462         * posix/bug-regex35.c: New file.
46464 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46466         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
46467         comment.
46468         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
46469         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
46470         (CHECK_EOL): Add undef.
46472 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
46474         * bits/stdlib-bsearch.h: New file.
46475         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
46476         * stdlib/stdlib.h: Likewise.
46478 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46480         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
46481         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
46482         declaration.
46483         * manual/search.texi (Array Search Function): Add missing const in
46484         lfind prototype.
46485         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
46486         declaration to use rlim_t.
46487         (Basic Scheduling Functions): Remove erroneous const from
46488         sched_getparam prototype.  Remove erroneous * from
46489         sched_get_priority_max and sched_get_priority_min prototypes.
46490         (Resource Usage): Fix summary @comment on vtimes to refer to
46491         sys/vtimes.h rather than vtimes.h.
46492         Add missing *s in vtimes prototype.
46493         (Limits on Resources): Fix ulimit prototype to return long int.
46494         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
46495         prototypes to use long int rather than double.
46496         (BSD Random): Fix initstate and setstate to use char *, not void *.
46497         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
46498         prototype to make second argument 'struct aiocb64 *const[]'.
46499         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
46500         (Status of AIO Operations): Remove erroneous const in aio_return and
46501         aio_return64 prototypes.
46502         (Synchronizing I/O): Fix sync prototype to return void.
46503         * manual/startup.texi (Suboptions): Remove an erroneous const in
46504         getsubopt prototype.
46505         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
46506         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
46507         use size_t rather than int.
46508         (Scanning All Users): Likewise for getpwent_r.
46509         (Setting Groups): Add missing const to setgroups prototype.
46510         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
46511         * manual/socket.texi (Host Names): Fix gethostbyaddr and
46512         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
46513         'const void *' rather than 'const char *'.
46514         (Host Address Functions): Likewise for inet_ntop.
46515         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
46516         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
46517         ssize_t for return value.
46518         (Sending Data): Likewise for send, sendto, sendmsg.
46519         (Socket Option Functions): Add a missing const in setsockopt prototype.
46520         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
46521         use wchar_t for the argument.
46522         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
46523         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
46524         take no arguments.
46525         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
46526         double/float/long double for second argument.
46527         Fix return types of significand, significandf, significandl.
46528         * manual/filesys.texi (Setting Permissions): Use mode_t for second
46529         argument in fchmod prototype.
46530         (File Owner): Use uid_t and gid_t in fchown prototype.
46531         (File Times): Add const to utimes, futimes, and lutimes prototypes.
46532         (Making Special Files): Use mode_t and dev_t in mknod prototype.
46533         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
46534         use 'const struct dirent **' as argument types to CMP function pointer
46535         argument.
46536         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
46537         (File Times): Fix summary magic @comment for struct utimbuf and utime
46538         to refer to utime.h, not time.h.
46539         * manual/string.texi (Argz Functions): Add missing const in
46540         argz_extract and argz_next prototypes.
46541         (Finding Tokens in a String): Likewise for basename.
46542         (String/Array Comparison): Fix typo in wcscasecmp prototype.
46543         (Copying and Concatenation): Fix typo in wmemmove prototype.
46544         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
46545         (Signal Stack): Remove erroneous const in sigstack prototype.
46546         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
46547         prototype.
46548         (Simple Calendar Time): Likewise for stime.
46549         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
46550         prototype.
46551         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
46552         say sys/sysctl.h instead.
46553         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
46554         and vsyslog prototypes.
46556 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46558         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
46559         Remove.
46561 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46563         * misc/sys/mman.h: Fix typo in mremap comment.
46565 2013-02-08  Roland McGrath  <roland@hack.frob.com>
46567         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
46568         the '\0' terminator.
46570 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
46572         [BZ #13550]
46573         * debug/segfault.c: Don't include <bp-checks.h>.
46574         * sysdeps/generic/bp-checks.h: Remove file.
46575         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
46576         (__GETDENTS): Don't use CHECK_N.
46577         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
46578         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
46579         (__getgroups): Don't use CHECK_N.
46580         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
46581         (setgroups): Don't use CHECK_N.
46582         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
46583         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
46584         (__libc_msgrcv): Don't use CHECK_N.
46585         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
46586         (__libc_msgsnd): Don't use CHECK_N.
46587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
46588         <bp-checks.h>.
46589         (__libc_pread): Don't use CHECK_N.
46590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
46591         include <bp-checks.h>.
46592         (__libc_pread64): Don't use CHECK_N.
46593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
46594         include <bp-checks.h>.
46595         (__libc_pwrite): Don't use CHECK_N.
46596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
46597         include <bp-checks.h>.
46598         (__libc_pwrite64): Don't use CHECK_N.
46599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
46600         <bp-checks.h>.
46601         (__libc_pread): Don't use CHECK_N.
46602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
46603         include <bp-checks.h>.
46604         (__libc_pread64): Don't use CHECK_N.
46605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
46606         include <bp-checks.h>.
46607         (__libc_pwrite): Don't use CHECK_N.
46608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
46609         include <bp-checks.h>.
46610         (__libc_pwrite64): Don't use CHECK_N.
46611         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
46612         (do_pread): Don't use CHECK_N.
46613         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
46614         (do_pread64): Don't use CHECK_N.
46615         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
46616         (do_pwrite): Don't use CHECK_N.
46617         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
46618         (do_pwrite64): Don't use CHECK_N.
46619         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
46620         (__libc_readv): Don't use CHECK_N.
46621         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
46622         (semop): Don't use CHECK_N.
46623         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
46624         <bp-checks.h>.
46625         (semtimedop): Don't use CHECK_N.
46626         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
46627         (__libc_pread): Don't use CHECK_N.
46628         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
46629         <bp-checks.h>.
46630         (__libc_pread64): Don't use CHECK_N.
46631         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
46632         <bp-checks.h>.
46633         (__libc_pwrite): Don't use CHECK_N.
46634         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
46635         <bp-checks.h>.
46636         (__libc_pwrite64): Don't use CHECK_N.
46637         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
46638         <bp-checks.h>.
46639         (__libc_msgrcv): Don't use CHECK_N.
46640         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
46641         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
46642         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
46643         (__libc_writev): Don't use CHECK_N.
46645 2013-02-08  Roland McGrath  <roland@hack.frob.com>
46647         * string/strcpy.c: Removed unused variable.
46649         * Makeconfig (+sysdep-includes): Define with := rather than =.
46650         Use an existing include/ subdir of each sysdeps dir before it.
46652 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46654         * nscd/connection.c (register_traced_file): Comment function.
46655         [HAVE_INOTIFY] (union __inev): Define.
46656         [HAVE_INOTIFY] (inotify_check_files): New function.
46657         [HAVE_INOTIFY] (clear_db_cache): Likewise.
46658         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
46659         clear_db_cache.
46660         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
46662 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46664         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
46665         loaded if not already and that a failure is permanent.
46667 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46669         [BZ #15006]
46670         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
46671         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
46673 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
46675         [BZ #13550]
46676         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
46677         (CHECK_1_NULL_OK): Likewise.
46678         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
46679         (__fxstat): Do not use CHECK_1.
46680         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
46681         <bp-checks.h>.
46682         (___fxstat64): Do not use CHECK_1.
46683         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
46684         <bp-checks.h>.
46685         (__fxstatat): Do not use CHECK_1.
46686         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
46687         <bp-checks.h>.
46688         (__fxstatat64): Do not use CHECK_1.
46689         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
46690         <bp-checks.h>.
46691         (__fxstat): Do not use CHECK_1.
46692         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
46693         <bp-checks.h>.
46694         (__fxstatat): Do not use CHECK_1.
46695         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46696         <bp-checks.h>.
46697         (__getresgid): Do not use CHECK_1.
46698         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46699         <bp-checks.h>.
46700         (__getresuid): Do not use CHECK_1.
46701         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
46702         <bp-checks.h>.
46703         (__lxstat): Do not use CHECK_1.
46704         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46705         <bp-checks.h>.
46706         (__old_msgctl): Do not use CHECK_1.
46707         (__new_msgctl): Likewise.
46708         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
46709         <bp-checks.h>.
46710         (__new_setrlimit): Do not use CHECK_1.
46711         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46712         <bp-checks.h>.
46713         (__old_shmctl): Do not use CHECK_1.
46714         (__new_shmctl): Likewise.
46715         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
46716         <bp-checks.h>.
46717         (__xstat): Do not use CHECK_1.
46718         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
46719         (__lxstat): Do not use CHECK_1.
46720         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
46721         <bp-checks.h>.
46722         (___lxstat64): Do not use CHECK_1.
46723         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
46724         (__old_msgctl): Do not use CHECK_1.
46725         (__new_msgctl): Likewise.
46726         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
46727         <bp-checks.h>.
46728         (__gettimeofday): Do not use CHECK_1.
46729         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
46730         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
46731         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
46732         <bp-checks.h>.
46733         (__gettimeofday): Do not use CHECK_1.
46734         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
46735         (__old_shmctl): Do not use CHECK_1_NULL_OK.
46736         (__new_shmctl): Do not use CHECK_1.
46737         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
46738         <bp-checks.h>.
46739         (do_sigtimedwait): Do not use CHECK_1.
46740         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
46741         <bp-checks.h>.
46742         (do_sigwaitinfo): Do not use CHECK_1.
46743         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
46744         <bp-checks.h>.
46745         (msgctl): Do not use CHECK_1.
46746         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
46747         <bp-checks.h>.
46748         (shmctl): Do not use CHECK_1.
46749         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
46750         (ustat): Do not use CHECK_1.
46751         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
46752         <bp-checks.h>.
46753         (__fxstat): Do not use CHECK_1.
46754         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
46755         <bp-checks.h>.
46756         (__fxstatat): Do not use CHECK_1.
46757         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
46758         <bp-checks.h>.
46759         (__lxstat): Do not use CHECK_1.
46760         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
46761         <bp-checks.h>.
46762         (__xstat): Do not use CHECK_1.
46763         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
46764         (__xstat): Do not use CHECK_1.
46765         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
46766         (___xstat64): Do not use CHECK_1.
46768         [BZ #13550]
46769         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
46770         definitions.
46771         (CHECK_BOUNDS_HIGH): Likewise.
46772         * string/strcpy.c: Do not include <bp-checks.h>.
46773         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
46775 2013-02-07  Roland McGrath  <roland@hack.frob.com>
46777         * nscd/nscd-client.h (__nscd_drop_map_ref):
46778         Add __attribute__ ((unused)).
46779         * nis/nss-nisplus.h (niserr2nss): Likewise.
46781         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
46782         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
46784         * csu/libc-tls.c (init_static_tls, init_slotinfo):
46785         Remove inline keyword.
46786         * include/rounding-mode.h (round_away): Likewise.
46787         * libio/wfileops.c (adjust_wide_data): Likewise.
46788         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
46789         (__m128i_strloadu_tolower): Likewise.
46790         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
46791         (__m128i_strloadu_tolower): Likewise.
46792         * time/mktime.c (ydhms_diff): Likewise.
46793         * locale/elem-hash.h (elem_hash): Likewise.
46794         * locale/setlocale.c (setdata): Likewise.
46795         * posix/regex_internal.h (re_string_char_size_at): Likewise.
46796         (re_string_wchar_at): Likewise.
46797         (bitset_not, bitset_merge, bitset_mask): Likewise.
46798         [!(__GNUC__ > 3)] (inline): Remove macro.
46799         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
46800         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
46801         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
46802         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
46803         * string/memcmp.c (memcmp_bytes): Likewise.
46804         * locale/programs/locarchive.c (compute_hashval): Likewise.
46805         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
46806         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
46807         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
46808         * nss/getent.c (print_rpc, print_protocols): Likewise.
46809         (print_passwd, print_group, print_aliases): Likewise.
46810         * nis/nss-nisplus.h (niserr2nss): Likewise.
46811         * nscd/connections.c (restart_p): Likewise.
46812         Change return type to bool.
46814 2013-02-05  Roland McGrath  <roland@hack.frob.com>
46816         * Makeconfig (all-Depend-files): Add existing
46817         $(sorted-subdirs:=/Depend) files.
46818         (all-subdirs): Remove nss.
46819         * sysdeps/unix/inet/Subdirs: Add it here instead.
46820         * hesiod/Depend: New file.
46822         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
46823         instead of calling alloca.
46825         * io/lseek.c (__lseek): Rename to __libc_lseek.
46826         Define __lseek as an alias.
46828         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
46830 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
46832         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
46833         else clause and remove check for non-standard endianness.
46835 2013-02-04  David S. Miller  <davem@davemloft.net>
46837         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46839 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
46841         [BZ #13550]
46842         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
46843         (__ubp_memchr): Remove prototype.
46844         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
46845         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
46846         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
46847         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
46848         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
46849         Remove alias.
46850         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
46851         (__ubp_memchr): Likewise.
46852         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
46853         (__ubp_memchr): Likewise.
46854         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
46855         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
46856         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
46857         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
46858         CHECK_STRING.
46859         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46860         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
46861         (__getcwd): Do not use CHECK_STRING.
46862         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46863         <bp-checks.h>.
46864         (__real_chown): Do not use CHECK_STRING.
46865         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
46866         <bp-checks.h>.
46867         (fchownat): Do not use CHECK_STRING.
46868         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
46869         CHECK_STRING.
46870         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46871         <bp-checks.h>.
46872         (__lchown): Do not use CHECK_STRING.
46873         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46874         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46875         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46876         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
46877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46878         include <bp-checks.h>.
46879         (truncate64): Do not use CHECK_STRING.
46880         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46881         <bp-checks.h>.
46882         (__real_chown): Do not use CHECK_STRING.
46883         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46884         <bp-checks.h>.
46885         (__lchown): Do not use CHECK_STRING.
46886         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46887         <bp-checks.h>.
46888         (__chown): Do not use CHECK_STRING.
46889         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
46890         <bp-checks.h>.
46891         (truncate64): Do not use CHECK_STRING.
46892         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
46893         Likewise.
46894         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
46895         (__xmknod): Do not use CHECK_STRING.
46896         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
46897         <bp-checks.h>.
46898         (__xmknodat): Do not use CHECK_STRING.
46899         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46900         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
46902 2013-02-04  Andreas Schwab  <schwab@suse.de>
46904         [BZ #14142]
46905         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
46906         * include/netdb.h: Likewise for h_errno.
46907         * elf/tst-stackguard1.c: Include <tls.h>.
46909 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
46911         * elf/link.h (struct link_map): Extend the l_addr comment.
46912         * include/link.h (struct link_map): Likewise.
46914 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
46916         [BZ #13550]
46917         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
46918         (BOUNDED_1): Remove macro.
46919         * debug/backtrace.c: Don't include <bp-checks.h>.
46920         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
46921         (__backtrace): Likewise.
46922         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
46923         <bp-checks.h>.
46924         (__backtrace): Don't use BOUNDED_1.
46925         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
46926         <bp-checks.h>.
46927         (__backtrace): Don't use BOUNDED_1.
46928         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
46929         (__backtrace): Don't use BOUNDED_1.
46930         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
46931         (shmat): Don't use BOUNDED_N.
46933 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
46935         [BZ #13550]
46936         * sysdeps/generic/bp-start.h: Remove file.
46937         * csu/libc-start.c: Don't include <bp-start.h>.
46938         (LIBC_START_MAIN): Set up __environ directly instead of using
46939         INIT_ARGV_and_ENVIRON.
46940         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
46941         <bp-start.h>.
46943         [BZ #13550]
46944         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
46945         definitions.
46946         (CHECK_FCNTL): Likewise.
46947         (CHECK_N_PAGES): Likewise.
46949         [BZ #13550]
46950         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
46951         definitions.
46952         (CHECK_SIGSET_NULL_OK): Likewise.
46953         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
46954         <bp-checks.h>.
46955         (sigpending): Don't use CHECK_SIGSET.
46956         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
46957         <bp-checks.h>.
46958         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46959         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
46960         <bp-checks.h>.
46961         (do_sigsuspend): Don't use CHECK_SIGSET.
46962         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
46963         use CHECK_SIGSET.
46964         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
46965         (do_sigwait): Don't use CHECK_SIGSET.
46966         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
46967         use CHECK_SIGSET.
46968         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
46969         include <bp-checks.h>.
46970         (sigpending): Don't use CHECK_SIGSET.
46971         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
46972         include <bp-checks.h>.
46973         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46974         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
46975         <bp-checks.h>.
46976         (sigpending): Don't use CHECK_SIGSET.
46977         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
46978         <bp-checks.h>.
46979         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46981         [BZ #13550]
46982         * sysdeps/generic/bp-semctl.h: Remove file.
46983         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
46984         <bp-checks.h> and <bp-semctl.h>.
46985         (__old_semctl): Don't use CHECK_SEMCTL.
46986         (__new_semctl): Likewise.
46987         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
46988         and <bp-semctl.h>.
46989         (__old_semctl): Don't use CHECK_SEMCTL.
46990         (__new_semctl): Likewise.
46991         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
46992         <bp-checks.h> and <bp-semctl.h>.
46993         (__old_semctl): Don't use CHECK_SEMCTL.
46994         (__new_semctl): Likewise.
46995         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
46996         <bp-checks.h> and <bp-semctl.h>.
46997         (semctl): Don't use CHECK_SEMCTL.
46999         [BZ #13550]
47000         * Makerules (elide-bp-thunks): Remove variable.
47001         (elide-routines.oS): Don't use $(elide-bp-thunks).
47002         (elide-routines.os): Likewise.
47003         (elide-routines.o): Likewise.
47004         (elide-routines.op): Likewise.
47005         (elide-routines.og): Likewise.
47006         (objects): Don't use $(bp-thunks).
47007         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
47008         include.
47009         (common-generated): Do not add s-proto-bp.d.
47010         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
47011         (int): Likewise.
47012         (typ): Likewise.
47013         Do not generate makefile rules for bounded-pointer thunks.
47014         * sysdeps/generic/bp-thunks.h: Remove file.
47015         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
47016         * sysdeps/unix/s-proto-bp.S: Likewise.
47018         [BZ #15062]
47019         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
47020         parts of result separately when argument is not close to line from
47021         -i to i and one part of argument is small.
47022         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47023         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47024         * math/libm-test.inc (cacos_test): Add more tests.
47025         (casin_test): Likewise.
47026         (casinh_test): Likewise.
47027         * sysdeps/i386/fpu/libm-test-ulps: Update.
47028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47030 2013-01-31  David S. Miller  <davem@davemloft.net>
47032         * po/de.po: Update from translation team.
47034 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
47036         * time/tzfile.c: Include stdint.h for SIZE_MAX.
47038 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
47040         * configure.in (_AC_PROG_CC_C89): New definition.
47041         * configure: Regenerate.
47043         * configure.in (AC_PROG_CPP): New definition.
47044         * configure: Regenerate.
47046 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47048         * debug/tst-backtrace.h: New file.
47049         * debug/tst-backtrace2.c: Include tst-backtrace.h.
47050         (ret): Remove variable.
47051         (x): Likewise.
47052         (FAIL): Remove macro.
47053         (NO_INLINE): Likewise.
47054         (fn1): Use match function instead of strstr.
47055         * debug/tst-backtrace3.c: Include tst-backtrace.h.
47056         (ret): Remove variable.
47057         (x): Likewise.
47058         (FAIL): Remove macro.
47059         (NO_INLINE): Likewise.
47060         (fn): Use match function instead of strstr.
47061         * debug/tst-backtrace4.c: Include tst-backtrace.h.
47062         (ret): Remove variable.
47063         (x): Likewise.
47064         (FAIL): Remove macro.
47065         (NO_INLINE): Likewise.
47066         (handle_signal): Use match function instead of strstr.
47067         * debug/tst-backtrace5.c: Include tst-backtrace.h.
47068         (ret): Remove variable.
47069         (x): Likewise.
47070         (FAIL): Remove macro.
47071         (NO_INLINE): Likewise.
47072         (handle_signal): Use match function instead of strstr.
47074 2013-01-23  Roland McGrath  <roland@hack.frob.com>
47076         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
47078 2013-01-23  David S. Miller  <davem@davemloft.net>
47080         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
47081         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
47082         argument of CAS if possible.
47083         * sysdeps/sparc/sparc64/bits/atomic.h
47084         (__arch_compare_and_exchange_val_32_acq): Likewise.
47085         (__arch_compare_and_exchange_val_64_acq): Likewise.
47087 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
47089         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
47090         * sysdeps/posix/ulimit.c: ... this.
47091         Include <limits.h>.
47092         * sysdeps/unix/bsd/ulimit.c: Remove file.
47094 2013-01-23  Adam Conrad  <adconrad@0c3.net>
47096         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
47097         (LDFLAGS-tst-array5): Likewise.
47099 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47101         [BZ #15036]
47102         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
47103         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
47104         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
47105         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
47107 2013-01-21  David S. Miller  <davem@davemloft.net>
47109         * sysdeps/sparc/backtrace.c: New file.
47110         * sysdeps/sparc/sparc32/backtrace.h: New file.
47111         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
47112         * sysdeps/sparc/sparc64/backtrace.h: New file.
47113         * sysdeps/sparc/sparc64/backtrace.c: Delete.
47114         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
47115         -funwind-tables.
47117 2013-01-21  Andreas Schwab  <schwab@suse.de>
47119         [BZ #15020]
47120         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
47121         closed its stdout.
47123 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
47125         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
47126         "mpa2.h".
47127         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47129 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
47130             Mark Mitchell  <mark@codesourcery.com>
47131             Tom de Vries  <tom@codesourcery.com>
47132             Paul Pluzhnikov  <ppluzhnikov@google.com>
47134         * debug/tst-backtrace2.c: New file.
47135         * debug/tst-backtrace3.c: Likewise.
47136         * debug/tst-backtrace4.c: Likewise.
47137         * debug/tst-backtrace5.c: Likewise.
47138         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
47139         (CFLAGS-tst-backtrace3.c): Likewise.
47140         (CFLAGS-tst-backtrace4.c): Likewise.
47141         (CFLAGS-tst-backtrace5.c): Likewise.
47142         (LDFLAGS-tst-backtrace2): Likewise.
47143         (LDFLAGS-tst-backtrace3): Likewise.
47144         (LDFLAGS-tst-backtrace4): Likewise.
47145         (LDFLAGS-tst-backtrace5): Likewise.
47146         (tests): Add new tests tst-backtrace2, tst-backtrace3,
47147         tst-backtrace4 and tst-backtrace5.
47149 2013-01-18  Anton Blanchard  <anton@samba.org>
47150             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47152         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
47153         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
47154         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
47155         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
47156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47157         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
47158         "+r" and remove output regs list as redundant.  Add explicit inline
47159         asm to specify register of return val to work around compiler codegen
47160         bug.  Remove (int) cast on return value.  Add return type parameter to
47161         use in macro so that this macro does not truncate return value for
47162         64-bit values.
47163         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
47164         pass to INTERNAL_VSYSCALL_NCS.
47165         (INLINE_VSYSCALL): Add 'long int' as return type to
47166         INTERNAL_VSYSCALL_NCS macro invocation.
47167         (INTERNAL_VSYSCALL): Add 'long int' as return type to
47168         INTERNAL_VSYSCALL_NCS macro invocation.
47169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47171 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47173         [BZ #14496]
47174         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
47175         Fix application of SIMD FP exception mask.
47177         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
47178         mp_no from a power of two.
47179         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
47180         __mpexp_twomm1.  Use __pow_mp.
47182         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
47183         multiplication.
47185 2013-01-17  David S. Miller  <davem@davemloft.net>
47187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47189 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47191         [BZ #15023]
47192         * include/complex.h: Condition contents on [!_COMPLEX_H].
47193         (__kernel_casinhf): New prototype.
47194         (__kernel_casinh): Likewise.
47195         (__kernel_casinhl): Likewise.
47196         * math/Makefile (libm_calls): Add k_casinh.
47197         * math/k_casinh.c: New file.
47198         * math/k_casinhf.c: Likewise.
47199         * math/k_casinhl.c: Likewise.
47200         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
47201         finite nonzero arguments.
47202         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
47203         finite nonzero arguments.
47204         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
47205         finite nonzero arguments.
47206         * math/s_casinh.c: Do not include <float.h>.
47207         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
47208         * math/s_casinhf.c: Do not include <float.h>.
47209         (__casinhf): Move code for finite nonzero arguments to
47210         k_casinhf.c.
47211         * math/s_casinhl.c: Do not include <float.h>.
47212         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
47213         redefine.
47214         (__casinhl): Move code for finite nonzero arguments to
47215         k_casinhl.c.
47216         * math/libm-test.inc (cacos_test): Add more tests.
47217         * sysdeps/i386/fpu/libm-test-ulps: Update.
47218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47220 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
47222         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
47223         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
47224         [!HAVE_MREMAP]: Remove [defined linux] case.
47225         * malloc/arena.c: Do not include <malloc-sysdep.h>.
47227 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47229         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
47231 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
47233         * elf/elf.h (R_386_SIZE32): New relocation.
47234         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
47235         R_386_SIZE32.
47236         (elf_machine_rela): Likewise.
47237         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47238         R_X86_64_SIZE64 and R_X86_64_SIZE32.
47240 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47242         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
47243         (FP_FAST_FMA): Do not define.
47244         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
47245         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
47246         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
47247         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
47248         !_SOFT_FLOAT]: Likewise.
47249         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
47250         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
47251         value.
47252         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
47253         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
47254         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
47255         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
47256         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
47257         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
47258         file.
47260 2013-01-16  Andreas Schwab  <schwab@suse.de>
47262         [BZ #14327]
47263         * include/stdlib.h (__mktemp): Add declaration.
47264         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
47265         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
47267 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47269         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
47270         definitions.
47271         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47272         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
47273         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
47274         definitions here.
47275         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
47276         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
47277         definitions.
47278         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
47279         and ONE.
47280         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
47281         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
47282         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
47283         definitions.
47284         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
47285         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
47286         definitions.
47287         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47289         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
47291 2013-01-15  David S. Miller  <davem@davemloft.net>
47293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47294         trunc{,f} to libm-sysdep_routes.
47295         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
47297         file.
47298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
47299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
47300         file.
47301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
47302         file.
47303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
47304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
47305         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
47306         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
47307         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
47308         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
47309         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
47310         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
47312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47313         nearbyint{,f} to libm-sysdep_routes.
47314         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
47316         New file.
47317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
47318         file.
47319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
47320         New file.
47321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
47322         file.
47323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
47324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
47325         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
47326         file.
47327         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
47328         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
47329         file.
47330         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
47331         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
47332         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
47334         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47335         libc_feholdexcept and libc_fesetenv.
47337 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
47339         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
47341 2013-01-14  David S. Miller  <davem@davemloft.net>
47343         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
47344         (SPARC_ASM_VIS2_IFUNC): Likewise.
47345         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
47346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
47347         use of 'siam' instruction.
47348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
47349         Likewise.
47350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
47351         Likewise.
47352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
47353         Likewise.
47354         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
47355         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
47356         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
47357         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
47358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
47359         file.
47360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
47361         file.
47362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
47363         file.
47364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
47365         file.
47366         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
47367         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
47368         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
47369         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
47370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
47371         new VIS2 routines.
47372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47375         Likewise.
47376         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47377         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47378         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47379         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
47381         routines to libm-sysdep_routines.
47382         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47385         fdim/fdimf to libm-sysdep_routines.
47386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
47387         file.
47388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
47389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
47390         file.
47391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
47392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
47393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
47394         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
47395         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
47396         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
47397         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
47399 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47401         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
47402         to optimize copies.
47404         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
47405         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47406         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47408         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
47409         local variable MPTWO.
47410         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47411         Likewise.
47413 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47415         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
47416         GLOB_NOESCAPE.
47418 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47420         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
47422 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47424         * manual/pattern.texi (glob_t): Document gl_flags.
47425         (glob64_t): Likewise.
47427 2013-01-11  David S. Miller  <davem@davemloft.net>
47429         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
47430         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
47431         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
47432         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
47433         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
47434         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
47435         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
47436         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
47437         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
47438         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
47439         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
47440         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
47441         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
47443         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47444         sparc V9 rather than using V8 code.
47445         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47446         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47448         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47449         Move to...
47450         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
47451         Here.
47453 2013-01-11  Roland McGrath  <roland@hack.frob.com>
47455         [BZ #14941]
47456         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
47457         not in the main loop.
47458         * configure: Regenerated.
47460 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
47462         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
47463         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
47464         to just #else.
47465         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
47466         [!__GLIBC_HAVE_LONG_LONG] case.
47467         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
47468         condition to just #else.
47469         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
47470         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
47471         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
47472         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
47473         unconditional.
47474         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
47475         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47476         #elif condition to just #else.
47477         * sysdeps/unix/sysv/linux/sys/sysmacros.h
47478         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
47479         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47480         #elif condition to just #else.
47482 2013-01-11  Steve Ellcey  <sellcey@mips.com>
47484         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
47485         (EF_MIPS_ARCH_64): Fix value.
47486         (EF_MIPS_ARCH_32R2): New.
47487         (EF_MIPS_ARCH_64R2): New.
47489 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
47491         * Makeconfig (+link-pie-before-libc): New.
47492         (+link-pie-after-libc): Likewise.
47493         (+link-pie-tests): Likewise.
47494         (+link-pie): Rewritten.
47495         (link-before-libc): Remove $(config-LDFLAGS).
47496         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
47497         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
47498         (config-LDFLAGS): Renamed to ...
47499         (rtld-LDFLAGS): This.
47500         (rtld-tests-LDFLAGS): New macro.
47501         (link-libc-rpath-link): Likewise.
47502         (link-libc-tests-rpath-link): Likewise.
47503         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
47504         (link-libc): Prepand $(link-libc-rpath-link).
47505         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
47506         (test-program-prefix): New macro.
47507         (test-via-rtld-prefix): Likewise.
47508         (test-program-cmd): Likewise.
47509         (host-test-program-cmd): Likewise.
47510         * Makefile ($(common-objpfx)testrun.sh): Replace
47511         $(run-program-prefix) with $(test-program-prefix).
47512         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
47513         $(rtld-LDFLAGS).
47514         ($(common-objpfx)shlib.lds): Likewise.
47515         (build-module-helper): Likewise.
47516         ($(common-objpfx)format.lds): Likewise.
47517         * Rules (binaries-pie-tests): New.
47518         (binaries-pie-notests): Likewise.
47519         (binaries-pie): Rewritten.
47520         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
47521         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
47522         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
47523         (make-test-out): Replace $(host-built-program-cmd) with
47524         $(host-test-program-cmd).
47525         * config.make.in (build-hardcoded-path-in-tests): New variable.
47526         * configure.in (--enable-hardcoded-path-in-tests): New configure
47527         option.
47528         (hardcoded_path_in_tests): New AC_SUBST.
47529         * configure: Regenerated.
47530         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
47531         $(built-program-cmd) with $(test-program-cmd).
47532         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
47533         (test_program_cmd): This.
47534         * elf/Makefile ($(objpfx)order.out): Run test with
47535         $(test-program-prefix).
47536         ($(objpfx)order2.out): Likewise.
47537         ($(objpfx)tst-initorder.out): Likewise.
47538         ($(objpfx)tst-initorder2.out): Likewise.
47539         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
47540         $(test-program-cmd).
47541         ($(objpfx)tst-array1-static.out): Likewise.
47542         ($(objpfx)tst-array2.out): Likewise.
47543         ($(objpfx)tst-array3.out): Likewise.
47544         ($(objpfx)tst-array4.out): Likewise.
47545         ($(objpfx)tst-array5.out): Likewise.
47546         ($(objpfx)tst-array5-static.out): Likewise.
47547         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
47548         $(test-program-cmd).
47549         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
47550         $(run-program-prefix) with $(test-program-prefix).
47551         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
47552         (test_program_prefix): This.
47553         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
47554         $(run-program-prefix) with $(test-program-prefix).
47555         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
47556         (test_program_prefix): This.
47557         * iconvdata/tst-tables.sh: Likewise.
47558         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
47559         $(run-program-prefix) with $(test-program-prefix).
47560         ($(objpfx)tst-translit.out): Likewise.
47561         ($(objpfx)tst-gettext2.out): Likewise.
47562         ($(objpfx)tst-gettext4.out): Likewise.
47563         ($(objpfx)tst-gettext6.out): Likewise.
47564         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
47565         (test_program_prefix): This.
47566         * intl/tst-gettext2.sh: Likewise.
47567         * intl/tst-gettext4.sh  Likewise.
47568         * intl/tst-gettext6.sh: Likewise.
47569         * intl/tst-translit.sh: Likewise.
47570         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
47571         with $(test-program-cmd).
47572         * libio/Makefile ($(objpfx)test-freopen.out): Replace
47573         $(run-program-prefix) with $(test-program-prefix).
47574         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
47575         (test_program_prefix): This.
47576         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
47577         $(run-program-prefix) with $(test-program-prefix).
47578         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
47579         (test_program_prefix): This.
47580         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
47581         * posix/Makefile ($(objpfx)globtest.out): Replace
47582         $(run-via-rtld-prefix) and $(test-wrapper) with
47583         $(test-program-prefix) and $(test-via-rtld-prefix).
47584         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
47585         $(test-program-prefix).
47586         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
47587         $(host-test-program-cmd).
47588         (tst-spawn-ARGS): Likewise.
47589         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
47590         $(test-program-prefix).
47591         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
47592         (test_via_rtld_prefix): This.
47593         (test_wrapper): Renamed to ...
47594         (test_program_prefix): This.
47595         (run_program_prefix): Replaced by test_program_prefix.
47596         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
47597         (test_program_prefix): This.
47598         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
47599         with $(host-test-program-cmd).
47600         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
47601         $(run-program-prefix) with $(test-program-prefix).
47602         ($(objpfx)tst-printf.out): Likewise.
47603         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
47604         $(test-program-cmd).
47605         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
47606         (test_program_prefix): This.
47607         * stdio-common/tst-unbputc.sh: Likewise.
47608         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
47609         $(run-program-prefix) with $(test-program-prefix).
47610         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
47611         (test_program_prefix): This.
47612         * string/Makefile ($(objpfx)tst-svc.out):  Replace
47613         $(built-program-cmd) with $(test-program-cmd).
47615 2013-01-11  Andreas Jaeger  <aj@suse.de>
47617         [BZ #15003]
47618         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
47619         value. Sync with Linux 3.7.
47621 2013-01-10  David S. Miller  <davem@davemloft.net>
47623         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
47624         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47625         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47627 2013-01-10  Roland McGrath  <roland@hack.frob.com>
47629         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
47630         never set.
47631         * configure: Regenerated.
47633 2013-01-10  David S. Miller  <davem@davemloft.net>
47635         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47636         sparc V9 rather than using V8 code.
47637         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47638         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47640 2013-01-10  Roland McGrath  <roland@hack.frob.com>
47642         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
47643         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
47644         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
47645         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
47646         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
47647         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
47648         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
47649         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
47650         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
47651         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
47652         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
47653         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
47654         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
47655         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
47656         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
47657         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
47658         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
47659         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
47660         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
47661         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
47662         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
47663         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
47664         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
47665         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
47666         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
47667         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
47668         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
47670 2013-01-10  David S. Miller  <davem@davemloft.net>
47672         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47674 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
47676         * posix/Makefile (tests-static): New variable.
47677         (tests): Add $(tests-static).
47678         (tst-exec-static-ARGS): New variable.
47679         (tst-spawn-static-ARGS): Likewise.
47680         * posix/tst-exec-static.c: New file.
47681         * posix/tst-spawn-static.c: Likewise.
47682         * posix/tst-exec.c: Support run directly.
47683         * posix/tst-spawn.c: Likewise.
47685 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
47687         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
47688         long.
47689         * math/bits/mathcalls.h (llrint): Likewise.
47690         (llround): Likewise.
47691         * stdlib/stdlib.h (struct drand48_data): Likewise.
47692         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
47693         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
47694         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
47695         Likewise.
47696         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
47697         Likewise.
47698         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
47699         (elf_greg_t): Likewise.
47700         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
47701         (__jmp_buf): Likewise.
47702         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
47703         definitions.
47704         (llrint): Likewise, for all definitions.
47705         (llrintl): Likewise.
47707         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
47708         Remove [__GNUC__] condition.
47709         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
47710         condition to just [__USE_ISOC99].
47711         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
47713 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
47715         [BZ #14200]
47716         * sysdeps/unix/sysv/linux/x86/bits/environments.h
47717         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
47718         defined.
47719         (_POSIX_V6_ILP32_OFF32): Likewise.
47720         (_XBS5_ILP32_OFF32): Likewise.
47721         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
47722         (__ILP32_OFFBIG_LDFLAGS): Likewise.
47724 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47726         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
47728         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
47729         doubles __mpexp_twomm1.  Adjust usage.
47730         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
47731         Remove.
47733 2013-01-10  Andreas Schwab  <schwab@suse.de>
47735         [BZ #14964]
47736         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
47737         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
47739 2013-01-09  David S. Miller  <davem@davemloft.net>
47741         [BZ #15003]
47742         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
47743         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
47744         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
47745         (TCP_FASTOPEN): Define.
47746         (tcp_repair_opt): New structure.
47747         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
47748         enum values.
47749         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
47750         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
47751         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
47752         (tcp_cookie_transactions): New structure.
47754 2013-01-09  Anton Blanchard  <anton@samba.org>
47756         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
47757         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
47758         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
47759         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
47761 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
47763         * include/features.h (__USE_ANSI): Remove.
47765 2013-01-09  Roland McGrath  <roland@hack.frob.com>
47767         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
47769         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
47771 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
47773         * sysdeps/s390/fpu/libm-test-ulps: Update.
47775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47777         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
47778         (__acr): Likewise.
47779         (__cpy): Likewise.
47780         (norm): Likewise.
47781         (denorm): Likewise.
47782         (__mp_dbl): Likewise.
47783         (__dbl_mp): Likewise.
47784         (add_magnitudes): Likewise.
47785         (sub_magnitudes): Likewise.
47786         (__add): Likewise.
47787         (__sub): Likewise.
47788         (__mul): Likewise.
47789         (__inv): Likewise.
47790         (__dvd): Likewise.
47791         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
47792         (__acr): Likewise.
47793         (__cpy): Likewise.
47794         (norm): Likewise.
47795         (denorm): Likewise.
47796         (__mp_dbl): Likewise.
47797         (__dbl_mp): Likewise.
47798         (add_magnitudes): Likewise.
47799         (sub_magnitudes): Likewise.
47800         (__add): Likewise.
47801         (__sub): Likewise.
47802         (__mul): Likewise.
47803         (__inv): Likewise.
47804         (__dvd): Likewise.
47805         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
47806         (__acr): Likewise.
47807         (__cpy): Likewise.
47808         (norm): Likewise.
47809         (denorm): Likewise.
47810         (__mp_dbl): Likewise.
47811         (__dbl_mp): Likewise.
47812         (add_magnitudes): Likewise.
47813         (sub_magnitudes): Likewise.
47814         (__add): Likewise.
47815         (__sub): Likewise.
47816         (__mul): Likewise.
47817         (__inv): Likewise.
47818         (__dvd): Likewise.
47820 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
47822         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
47823         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
47824         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
47825         2 && __USE_EXTERN_INLINES]: Likewise.
47827 2013-01-08  Andreas Jaeger  <aj@suse.de>
47829         [BZ# 14985]
47830         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
47831         Remove.
47832         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
47833         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
47835 2013-01-07  Anton Blanchard  <anton@samba.org>
47837         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
47838         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47839         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
47840         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47841         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47842         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47843         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
47844         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47845         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47846         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47847         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47848         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47849         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47850         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47851         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47852         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47853         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47854         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47855         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47856         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47857         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47858         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
47859         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47860         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47861         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
47862         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47863         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47864         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47865         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
47866         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47867         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47868         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47869         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47870         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47871         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47872         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47873         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47874         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
47875         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
47876         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
47877         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
47878         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47879         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47881 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
47883         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
47884         (__MALLOC_PMT): Likewise.
47885         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
47886         [__GNUC__], only on [_LIBC].
47887         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
47888         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
47889         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
47890         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
47891         forward declaration.
47892         (realloc_hook_ini): Likewise.
47893         (memalign_hook_ini): Likewise.
47894         (__libc_memalign): Do not use __MALLOC_PMT in variable
47895         declaration.
47896         (__libc_valloc): Likewise.
47897         (__libc_pvalloc): Likewise.
47898         (__libc_calloc): Likewise.
47899         (__posix_memalign): Likewise.
47901         [BZ #14996]
47902         * math/s_casinh.c: Include <float.h>.
47903         (__casinh): Do not do computation with squaring and square root
47904         for large arguments.
47905         * math/s_casinhf.c: Include <float.h>.
47906         (__casinhf): Do not do computation with squaring and square root
47907         for large arguments.
47908         * math/s_casinhl.c: Include <float.h>.
47909         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
47910         (__casinhl): Do not do computation with squaring and square root
47911         for large arguments.
47912         * math/libm-test.inc (casin_test): Add more tests.
47913         (casinh_test): Likewise.
47914         * sysdeps/i386/fpu/libm-test-ulps: Update.
47915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47917 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
47919         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
47920         (__x86_64_raw_data_cache_size): Likewise.
47921         (__x86_64_data_cache_size_half): Likewise.
47922         (__x86_64_raw_data_cache_size_half): Likewise.
47923         (__x86_64_shared_cache_size): Likewise.
47924         (__x86_64_raw_shared_cache_size): Likewise.
47925         (__x86_64_shared_cache_size_half): Likewise.
47926         (__x86_64_raw_shared_cache_size_half): Likewise.
47927         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
47928         to ...
47929         (__x86_data_cache_size): This.
47930         (__x86_64_raw_data_cache_size): Renamed to ...
47931         (__x86_raw_data_cache_size): This.
47932         (__x86_64_data_cache_size_half): Renamed to ...
47933         (__x86_data_cache_size_half): This.
47934         (__x86_64_raw_data_cache_size_half): Renamed to ...
47935         (__x86_raw_data_cache_size_half): This.
47936         (__x86_64_shared_cache_size): Renamed to ...
47937         (__x86_shared_cache_size): This.
47938         (__x86_64_raw_shared_cache_size): Renamed to ...
47939         (__x86_raw_shared_cache_size): This.
47940         (__x86_64_shared_cache_size_half): Renamed to ...
47941         (__x86_shared_cache_size_half): This.
47942         (__x86_64_raw_shared_cache_size_half): Renamed to ...
47943         (__x86_raw_shared_cache_size_half): This.
47944         * sysdeps/x86_64/memcpy.S: Updated.
47945         * sysdeps/x86_64/memset.S: Likewise.
47946         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47947         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47948         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47950 2013-01-04  David S. Miller  <davem@davemloft.net>
47952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47954 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
47956         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
47957         1 to avoid redefinition warning.
47958         (__USE_GNU): Don't define.
47959         (init_signaling_nan): Protoize.
47961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47963 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47965         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
47966         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
47967         (__cpymn): Likewise.
47968         (norm): Remove commented code.
47969         (denorm): Likewise.
47970         (__mp_dbl): Likewise.
47971         (__inv): Likewise.
47972         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
47973         (__cpymn): Likewise.
47974         (norm): Remove commented code.
47975         (denorm): Likewise.
47976         (__mp_dbl): Likewise.
47977         (__inv): Likewise.
47979         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
47980         mp_no value for 1.0 and 2.0.
47981         (norm): Use RADIXI instead of radixi.d.
47982         (denorm): Likewise.
47983         (__mul): Use 0.0 instead of zero.d.
47984         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
47985         mp_no value for 1.0 and 2.0.
47986         (norm): Use RADIXI instead of radixi.d.
47987         (denorm): Likewise.
47988         (__mul): Use 0.0 instead of zero.d.
47990 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
47992         [BZ #14994]
47993         * math/s_casinh.c (__casinh): Reduce finite argument to first
47994         quadrant then set signs of results at the end.
47995         * math/s_casinhf.c (__casinhf): Likewise.
47996         * math/s_casinhl.c (__casinhl): Likewise.
47997         * math/libm-test.inc (casin_test): Add more tests.
47998         (casinh_test): Likewise.
47999         * sysdeps/i386/fpu/libm-test-ulps: Update.
48000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48002 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48004         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
48006         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
48008         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
48009         declarations.
48010         (denorm): Likewise.
48011         (__mp_dbl): Likewise.
48012         (__inv): Likewise.
48014         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
48015         and adjust the header comment.
48017         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
48018         variable name from declaration.
48020 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
48022         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48023         Initialize COMMON_CPUID_INDEX_7 element.
48024         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
48025         (CPUID_RTM): Likewise.
48026         (HAS_RTM): Likewise.
48027         (COMMON_CPUID_INDEX_7): New enum.
48029 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
48031         [BZ #14981]
48032         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
48033         size is zero, record memory as freed.
48035 2013-01-03  Andreas Jaeger  <aj@suse.de>
48037         * po/ia.po: Add new Interlingua translation.
48039 2012-01-03  Allan McRae  <allan@archlinux.org>
48041         * locale/programs/localedef.c: Fix description of '--posix' flag.
48043 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
48045         * NEWS: Update dates in second copyright notice.
48046         * README: Update copyright dates in example.
48047         * manual/libc.texinfo: Update copyright dates.
48048         * scripts/test-installation.pl: Update copyright date in --version
48049         output.
48051         * hurd/ctty-input.c: Fix copyright notice formatting.
48052         * hurd/ctty-output.c: Likewise.
48053         * hurd/dtable.c: Likewise.
48054         * hurd/hurd-raise.c: Likewise.
48055         * hurd/hurdprio.c: Likewise.
48056         * hurd/msgportdemux.c: Likewise.
48057         * misc/sys/file.h: Likewise.
48058         * misc/sys/ioctl.h: Likewise.
48059         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48060         * sysdeps/mach/hurd/chdir.c: Likewise.
48061         * sysdeps/mach/hurd/fchdir.c: Likewise.
48062         * sysdeps/mach/hurd/rename.c: Likewise.
48063         * sysdeps/mach/hurd/rmdir.c: Likewise.
48064         * sysdeps/mach/hurd/seekdir.c: Likewise.
48065         * sysdeps/mach/hurd/setsid.c: Likewise.
48066         * sysdeps/posix/wait3.c: Likewise.
48068         * All files with FSF copyright notices: Update copyright dates
48069         using scripts/update-copyrights.
48070         * intl/plural.c: Regenerated.
48071         * locale/programs/charmap-kw.h: Likewise.
48072         * locale/programs/locfile-kw.h: Likewise.
48074 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48076         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
48077         four values.
48079         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
48080         calculation loop and add branch prediction.
48082         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
48083         check access beyond bounds of m1np.
48085         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48086         MPTWO.
48087         (__inv): Remove local variable MPTWO to use the global
48088         constant.
48089         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
48090         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48091         variable MPTWO.
48092         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
48093         MP3HALFS static const.
48095 2013-01-01  David S. Miller  <davem@davemloft.net>
48097         * po/ca.po: Update from translation team.
48099 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
48101         * scripts/update-copyrights: New file.
48102         * Makeconfig: Reformat copyright notice.
48103         * ctype/ctype.h: Likewise.
48104         * debug/swprintf_chk.c: Likewise.
48105         * elf/dl-cache.c: Likewise.
48106         * elf/dl-debug.c: Likewise.
48107         * elf/dl-object.c: Likewise.
48108         * grp/initgroups.c: Likewise.
48109         * hurd/Makefile: Likewise.
48110         * hurd/hurd/signal.h: Likewise.
48111         * hurd/hurdfault.c: Likewise.
48112         * hurd/hurdioctl.c: Likewise.
48113         * hurd/hurdlookup.c: Likewise.
48114         * hurd/intr-msg.c: Likewise.
48115         * iconv/gconv_open.c: Likewise.
48116         * libio/swprintf.c: Likewise.
48117         * locale/lc-ctype.c: Likewise.
48118         * locale/nl_langinfo.c: Likewise.
48119         * mach/Machrules: Likewise.
48120         * mach/Makefile: Likewise.
48121         * malloc/obstack.h: Likewise.
48122         * manual/Makefile: Likewise.
48123         * manual/tsort.awk: Likewise.
48124         * misc/bits/stab.def: Likewise.
48125         * nis/nis_print_group_entry.c: Likewise.
48126         * nis/nis_table.c: Likewise.
48127         * nis/nss_compat/compat-pwd.c: Likewise.
48128         * nis/nss_compat/compat-spwd.c: Likewise.
48129         * po/Makefile: Likewise.
48130         * posix/fnmatch.c: Likewise.
48131         * posix/regex.h: Likewise.
48132         * resolv/Makefile: Likewise.
48133         * resolv/nss_dns/dns-network.c: Likewise.
48134         * resolv/res_hconf.c: Likewise.
48135         * scripts/gen-sorted.awk: Likewise.
48136         * soft-fp/soft-fp.h: Likewise.
48137         * stdio-common/printf.h: Likewise.
48138         * stdlib/monetary.h: Likewise.
48139         * stdlib/random.c: Likewise.
48140         * stdlib/random_r.c: Likewise.
48141         * sysdeps/generic/Makefile: Likewise.
48142         * sysdeps/gnu/Makefile: Likewise.
48143         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48144         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48145         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48146         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48147         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48148         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48149         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48150         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48151         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48152         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48153         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48154         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48155         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48156         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48157         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
48158         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48159         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48160         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48161         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48162         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48163         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48164         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48165         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48166         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48167         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
48168         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48169         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48170         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
48171         * sysdeps/mach/hurd/errnos.awk: Likewise.
48172         * sysdeps/mach/hurd/fork.c: Likewise.
48173         * sysdeps/mach/hurd/getcwd.c: Likewise.
48174         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
48175         * sysdeps/mach/hurd/mmap.c: Likewise.
48176         * sysdeps/mach/hurd/utimes.c: Likewise.
48177         * sysdeps/mach/hurd/xmknod.c: Likewise.
48178         * sysdeps/posix/profil.c: Likewise.
48179         * sysdeps/posix/readdir_r.c: Likewise.
48180         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48181         * sysdeps/powerpc/bits/setjmp.h: Likewise.
48182         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
48183         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48184         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48185         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48186         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48187         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48188         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48189         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48190         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48191         * sysdeps/pthread/lio_listio.c: Likewise.
48192         * sysdeps/sparc/dl-procinfo.h: Likewise.
48193         * sysdeps/unix/i386/sysdep.S: Likewise.
48194         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
48195         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
48196         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
48197         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
48198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48199         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
48200         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
48201         * sysdeps/unix/sysv/linux/speed.c: Likewise.
48202         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48203         * sysdeps/wordsize-32/divdi3.c: Likewise.
48204         * time/sys/time.h: Likewise.
48205         * wcsmbs/Makefile: Likewise.
48207 2013-01-01  David S. Miller  <davem@davemloft.net>
48209         * po/fr.po: Update from translation team.
48211         * catgets/gencat.c: Update copyright year.
48212         * csu/version.c: Likewise.
48213         * debug/catchsegv.sh: Likewise.
48214         * debug/pcprofiledump.c: Likewise.
48215         * debug/xtrace.sh: Likewise.
48216         * elf/ldconfig.c: Likewise.
48217         * elf/ldd.bash.in: Likewise.
48218         * elf/pldd.c: Likewise.
48219         * elf/sotruss.ksh: Likewise.
48220         * elf/sprof.c: Likewise.
48221         * iconv/iconv_prog.c: Likewise.
48222         * iconv/iconvconfig.c: Likewise.
48223         * locale/programs/locale.c: Likewise.
48224         * locale/programs/localedef.c: Likewise.
48225         * login/programs/pt_chown.c: Likewise.
48226         * malloc/memusage.sh: Likewise.
48227         * malloc/memusagestat.c: Likewise.
48228         * malloc/mtrace.pl: Likewise.
48229         * nscd/nscd.c: Likewise.
48230         * nss/getent.c: Likewise.
48231         * nss/makedb.c: Likewise.
48232         * posix/getconf.c: Likewise.
48234 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
48236         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
48237         numbers.
48239 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
48241         * math/bits/mathcalls.h (modf): Use __nonnull.
48243 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48245         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
48246         (split): Use macro CN instead of the bare value.
48247         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
48248         could be used.
48249         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
48250         instead of the bare value.
48251         (power1): Likewise.
48253 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48255         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
48256         __ATAN_TWOM.
48257         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48259         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
48260         their values.
48261         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48262         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48263         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
48264         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48266 2012-12-28  Andreas Jaeger  <aj@suse.de>
48268         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
48269         values are from Linux 3.7.
48271         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
48272         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
48274 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48276         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
48277         TRUE case.
48279         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
48280         (norm): Likewise.
48281         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
48282         variables with preprocessor constants.
48283         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48284         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48285         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48287 2012-12-27  Bruno Haible  <bruno@clisp.org>
48289         [BZ #14317]
48290         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
48291         only if needed.
48293 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48295         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
48296         and use variable directly.
48297         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
48299         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48300         MPONE.
48301         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
48302         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48303         variable MPONE.
48304         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48305         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48306         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
48307         include directive.  Remove local variable MPONE.
48308         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
48309         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
48310         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48312 2012-12-25  David S. Miller  <davem@davemloft.net>
48314         * version.h (RELEASE): Set to "development".
48315         (VERSION): Set to "2.17.90".
48316         * NEWS: Add 2.18 section.
48318 2012-12-21  David S. Miller  <davem@davemloft.net>
48320         * po/hr.po: Update from translation team.
48322 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48324         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
48326 2012-12-19  Steve Ellcey  <sellcey@mips.com>
48328         * NEWS:  Mention new memcpy for MIPS.
48330 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48332         * manual/contrib.texi (Contributors): Spelling correction.
48334 2012-12-15  David S. Miller  <davem@davemloft.net>
48336         * po/ru.po: Update from translation team.
48338 2012-12-13  David S. Miller  <davem@davemloft.net>
48340         * NEWS: Mention IFUNC testsuite enhancements.
48342         * po/pl.po: Update from translation team.
48343         * po/bg.po: Likewise.
48345         * manual/contrib.texi (Contributors): Update entries for Hongjiu
48346         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
48348 2012-12-11  David S. Miller  <davem@davemloft.net>
48350         * po/sv.po: Update from translation team.
48352         * po/vi.po: Update from translation team.
48354         * po/cs.po: Update from translation team.
48356         * po/de.po: Update from translation team.
48357         * po/eo.po: Likewise.
48358         * po/nl.po: Likewise.
48360 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48362         [BZ #14246]
48363         * manual/argp.texi (Argp Helper Functions): Move node to follow
48364         Argp Parsing State.
48366         [BZ #14872]
48367         * manual/conf.texi (Limits on File System Capacity): Mention if
48368         terminating null is included in the max size.
48370 2012-12-10  Andreas Jaeger  <aj@suse.de>
48372         * po/cs.po: Update from translation team.
48374 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48376         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
48377         void pointer and cast to uintptr_t.
48378         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
48379         path.
48380         * sysdeps/s390/s390-64/memcpy.S: Likewise.
48381         * sysdeps/s390/s390-64/memset.S: Likewise.
48383 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
48385         [BZ #14833]
48386         * menual/message.texi (Message Translation): Fix typos.
48387         (Helper programs for gettext): Likewise.
48389 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
48391         [BZ #14898]
48392         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
48393         Change to -1.
48395 2012-12-07  David S. Miller  <davem@davemloft.net>
48397         * po/libc.pot: Update.
48399 2012-12-07  Richard Henderson  <rth@redhat.com>
48401         [BZ #10114]
48402         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
48403         normal/normal case to before the switch.
48404         (_FP_DIV): Likewise.
48406 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
48407             Mike Frysinger  <vapier@gentoo.org>
48409         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
48410         check for __NR_fadvise64_64.
48412 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
48414         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
48415         0, not just to plain "0" as a statement.
48416         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
48417         with cw.
48419 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
48421         * NEWS: Use sourceware.org in Bugzilla URL.
48423 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
48426         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48428         * stdio-common/tst-put-error.c (do_test): Add newline to the
48429         padded test to ensure flush.
48431 2012-12-05  Jeff Law  <law@redhat.com>
48433         * sunrpc/etc.rpc (fedfs_admin): Add entry.
48435 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
48437         * README: Don't refer to ports add-on as distributed separately.
48438         Mention AArch64 in list of systems supported in the ports add-on.
48440         * LICENSES: Add more non-FSF copyright and license notices.
48442         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
48443         ((unused)).
48445         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
48447         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
48448         10000 as width of padded output.
48450 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48452         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
48454         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
48455         variable LX with __attribute__ ((unused)).
48456         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
48457         Likewise.
48458         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
48459         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48460         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
48461         with __attribute__ ((unused)).
48463 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
48465         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
48467 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48469         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
48470         (CFLAGS-nldbl-acos.c): New variable.
48471         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
48472         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
48473         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
48474         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
48475         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
48476         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
48477         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
48478         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
48479         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
48480         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
48481         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
48482         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
48483         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
48484         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
48485         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
48486         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
48487         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
48488         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
48489         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
48490         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
48491         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
48492         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
48493         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
48494         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
48495         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
48496         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
48497         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
48498         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
48499         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
48500         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
48501         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
48502         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
48503         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
48504         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
48505         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
48506         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
48507         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
48508         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
48509         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
48510         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
48511         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
48512         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
48513         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
48514         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
48515         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
48516         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
48517         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
48518         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
48519         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
48520         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
48521         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
48522         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
48523         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
48524         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
48525         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
48526         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
48527         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
48528         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
48529         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
48530         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
48531         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
48532         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
48533         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
48534         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
48535         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
48536         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
48537         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
48538         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
48539         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
48540         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
48541         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
48542         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
48543         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
48544         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
48545         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
48546         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
48547         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
48548         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
48549         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
48550         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
48551         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
48552         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
48553         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
48554         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
48555         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
48556         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
48557         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
48558         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
48559         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
48560         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
48561         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
48562         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
48563         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
48564         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
48565         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
48566         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
48567         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
48569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48570         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48572         [BZ #14914]
48573         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
48574         whole low double instead of just low 47 bits when splitting values
48575         into two parts.
48577 2012-12-03  Allan McRae  <allan@archlinux.org>
48579         * manual/stdio.texi (Predefined Printf Handlers): Remove
48580         @hsep and @vsep usage.
48582 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
48584         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
48585         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
48587 2012-12-03  Jeff Law  <law@redhat.com>
48589         * time/sys/time.h (settimeofday): Do not mark TV argument
48590         as __nonnull.
48592 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
48594         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
48595         when currently writing and seek to current position when not.
48596         * libio/Makefile (tests): Remove bug-fclose1.
48597         * libio/bug-fclose1.c: Delete.
48599 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
48601         * manual/arith.texi (feenableexcept): Fix typo.
48602         (fedisableexcept): Likewise.
48604 2012-11-30  Roland McGrath  <roland@hack.frob.com>
48606         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
48607         second, differently-typed declaration, rather than a cast.
48609 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48611         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
48612         * include/rpc/svc.h: ... here.
48614 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
48616         [BZ #13013]
48617         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
48618         depending n and resplen2 to catch cases where answer
48619         equals answerp2.
48621 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
48623         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
48624         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
48626 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
48628         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
48630 2012-11-29  Roland McGrath  <roland@hack.frob.com>
48632         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
48634 2012-11-28  Jeff Law  <law@redhat.com>
48636         [BZ #13761]
48637         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
48638         dataset_temporary.  Track alloca usage into alloca_used.
48639         If dataset is large allocate and release it via malloc/free.
48641 2012-06-04  Florian Weimer  <fweimer@redhat.com>
48643         [BZ #14197]
48644         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
48646 2012-11-28  David S. Miller  <davem@davemloft.net>
48648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48650 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
48652         [BZ #14803]
48653         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
48654         of pi/2 rounded to nearest to 64 bits.
48655         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
48656         nearest to 64 bits.
48657         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
48658         bits.
48660 2012-11-28  Jeff Law <law@redhat.com>
48661             Martin Osvald <mosvald@redhat.com>
48663         [BZ #14889]
48664         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
48665         * sunrpc/svc.c: Include time.h.
48666         (__svc_accept_failed): New function.
48667         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
48668         any reason other than EINTR, call __svc_accept_failed.
48669         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
48670         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
48672 2012-11-28  Andreas Schwab  <schwab@suse.de>
48674         * scripts/abilist.awk: Also handle indirect functions in .opd
48675         section.
48677 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
48679         [BZ #13881]
48680         * sysdeps/x86/fpu/powl_helper.c: New file.
48681         * sysdeps/x86/fpu/Makefile: Likewise.
48682         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
48683         (p3): New object.
48684         (__ieee754_powl): Use __powl_helper for finite arguments except
48685         integer exponents below 8.
48686         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
48687         (p3): New object.
48688         (__ieee754_powl): Use __powl_helper for finite arguments except
48689         integer exponents below 8.
48690         * math/libm-test.inc (pow_test): Add more tests and enable some
48691         previously disabled tests.
48692         * sysdeps/i386/fpu/libm-test-ulps: Update.
48693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48695 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48696             Carlos O'Donell  <carlos_odonell@mentor.com>
48698         * nss/makedb.c (is_prime): Assert that input is odd and greater
48699         than 4.  Note that fact in a comment too.
48700         (next_prime): Add 4 to input.
48702 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48704         [BZ #11741]
48705         * libio/Makefile (tests): Add test case tst-fwrite-error.
48706         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
48707         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
48708         * libio/tst-fwrite-error.c: New test case.
48710 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
48712         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
48713         before casting to void *.
48714         * include/libc-internal.h (__pointer_type): New macro.
48715         (__integer_if_pointer_type_sub): Likewise.
48716         (__integer_if_pointer_type): Likewise.
48717         (cast_to_integer): Likewise.
48718         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
48719         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
48720         before casting to atomic64_t.
48721         (atomic_exchange_acq): Likewise.
48722         (__arch_exchange_and_add_body): Likewise.
48723         (__arch_add_body): Likewise.
48724         (atomic_add_negative): Likewise.
48725         (atomic_add_zero): Likewise.
48727 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
48729         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
48730         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
48731         (add_fdes): Likewise.
48732         (linear_search_fdes): Likewise.
48733         (binary_search_unencoded_fdes): Likewise.
48735 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
48737         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
48739 2012-11-24  Adam Conrad  <adconrad@0c3.net>
48741         * configure.in: Autodetect C++ header directories.
48742         * configure: Regenerated.
48744 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
48746         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
48748 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
48750         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48752 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
48754         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
48755         LDBL_MANT_DIG == 106]: Disable some tests.
48756         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48757         Likewise.
48758         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48759         Likewise.
48761         [BZ #14871]
48762         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
48763         input for small inputs.  Return +/- pi/2 for large inputs.
48764         * math/libm-test.inc (atan_test): Add more tests.
48766         * sysdeps/generic/unwind-dw2-fde-glibc.c
48767         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
48768         __attribute__ ((unused)).
48770         [BZ #14645]
48771         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
48772         x * y if x and y are nonzero and z is zero.
48774         [BZ #14811]
48775         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
48776         nonzero exponents with absolute value below 0x1p-117 to +/-
48777         0x1p-117.
48779         [BZ #14869]
48780         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
48781         up arguments below 2**-450, not just those below 2**-500.
48782         * math/libm-test.inc (hypot_test): Add another test.
48784         [BZ #14868]
48785         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
48786         Return a+b for ratio over 2**120, not 2**60.
48787         * math/libm-test.inc (hypot_test): Add another test.
48789         * math/libm-test.inc (clog_test): Use
48790         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
48791         (clog10_test): Likewise.
48793         [BZ #6778]
48794         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
48796 2012-11-22  Andreas Schwab  <schwab@suse.de>
48798         * sysdeps/i386/fpu/libm-test-ulps: Update.
48800 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
48802         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
48803         printf output with newline.
48805 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
48807         [BZ #14865]
48808         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
48809         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
48810         -z nodlopen, -z initfirst and -z execstack support.
48811         * configure: Regenerated.
48813         * elf/elf.h (DF_1_NODIRECT): New macro.
48814         (DF_1_IGNMULDEF): Likewise.
48815         (DF_1_NOKSYMS): Likewise.
48816         (DF_1_NOHDR): Likewise.
48817         (DF_1_EDITED): Likewise.
48818         (DF_1_NORELOC): Likewise.
48819         (DF_1_SYMINTPOSE): Likewise.
48820         (DF_1_GLOBAUDIT): Likewise.
48821         (DF_1_SINGLETON): Likewise.
48822         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
48823         DT_1_SUPPORTED_MASK bits.
48824         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
48826 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
48828         * sysdeps/unix/make-syscalls.sh: Document prefixes.
48830 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
48832         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
48833         macro.
48835         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
48836         (sendmmsg): Move declarations...
48837         * socket/sys/socket.h: ... here.
48838         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
48839         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
48840         include it from...
48841         * socket/recvmmsg.c: ... this new file.
48842         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
48843         (sendmmsg): Rename to __sendmmsg, create weak alias and make
48844         definition of __sendmmsg hidden.
48845         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
48846         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
48847         Move ENOSYS stub into and include it from...
48848         * socket/sendmmsg.c: ... this new file.
48849         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
48850         (sysdep_routines): Move recvmmsg and sendmmsg...
48851         * socket/Makefile (routines): ... here.
48852         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
48853         (GLIBC_PRIVATE): Add __sendmmsg.
48854         * include/sys/socket.h (__sendmmsg): Add declarations.
48855         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
48856         sendmmsg.
48858 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
48860         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
48861         variable I1 with __attribute__ ((unused)).
48862         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48864 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
48866         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
48867         DUMMY variables with __attribute__ ((unused)).
48869         * bits/byteswap.h: Include <bits/types.h>.
48870         (__bswap_64): Use __uint64_t instead of unsigned long long int.
48872 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
48874         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
48875         string_t.  Do not manually set errno.
48876         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
48877         length with __strnlen.  Make sure to both set errno and return it on
48878         failure.
48880 2012-11-19  David S. Miller  <davem@davemloft.net>
48882         With help from Joseph Myers.
48883         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
48884         very large arguments properly.
48885         * math/libm-test.inc (atan_test): New tests.
48886         (atan2_test): New tests.
48887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48888         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48890 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
48892         [BZ #14856]
48893         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
48894         Define to 3.
48896         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
48897         [POSIX] (EADDRNOTAVAIL): Likewise.
48898         [POSIX] (EAFNOSUPPORT): Likewise.
48899         [POSIX] (EALREADY): Likewise.
48900         [POSIX] (ECONNABORTED): Likewise.
48901         [POSIX] (ECONNREFUSED): Likewise.
48902         [POSIX] (ECONNRESET): Likewise.
48903         [POSIX] (EDESTADDRREQ): Likewise.
48904         [POSIX] (EDQUOT): Likewise.
48905         [POSIX] (EHOSTUNREACH): Likewise.
48906         [POSIX] (EIDRM): Likewise.
48907         [POSIX] (EISCONN): Likewise.
48908         [POSIX] (ELOOP): Likewise.
48909         [POSIX] (EMULTIHOP): Likewise.
48910         [POSIX] (ENETDOWN): Likewise.
48911         [POSIX] (ENETUNREACH): Likewise.
48912         [POSIX] (ENOBUFS): Likewise.
48913         [POSIX] (ENODATA): Likewise.
48914         [POSIX] (ENOLINK): Likewise.
48915         [POSIX] (ENOMSG): Likewise.
48916         [POSIX] (ENOPROTOOPT): Likewise.
48917         [POSIX] (ENOSR): Likewise.
48918         [POSIX] (ENOSTR): Likewise.
48919         [POSIX] (ENOTCONN): Likewise.
48920         [POSIX] (ENOTSOCK): Likewise.
48921         [POSIX] (EOPNOTSUPP): Likewise.
48922         [POSIX] (EOVERFLOW): Likewise.
48923         [POSIX] (EPROTO): Likewise.
48924         [POSIX] (EPROTONOSUPPORT): Likewise.
48925         [POSIX] (EPROTOTYPE): Likewise.
48926         [POSIX] (ESTALE): Likewise.
48927         [POSIX] (ETIME): Likewise.
48928         [POSIX] (ETXTBSY): Likewise.
48929         [POSIX] (EWOULDBLOCK): Likewise.
48930         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
48931         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
48932         [POSIX] (SEEK_CUR): Likewise.
48933         [POSIX] (SEEK_END): Likewise.
48934         [POSIX || UNIX98] (mode_t): Do not require.
48935         [POSIX] (off_t): Likewise.
48936         [POSIX] (pid_t): Likewise.
48937         [POSIX] (sys/stat.h): Do not allow header.
48938         [POSIX] (unistd.h): Likewise.
48939         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
48940         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
48941         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
48942         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
48943         require.
48944         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
48945         sigevent): Specify elements.
48946         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
48947         entry.
48948         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
48949         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
48951         * conform/data/cpio.h-data [POSIX]: Disable whole file.
48952         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
48953         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
48954         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
48955         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
48956         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
48957         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
48958         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
48959         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
48960         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
48961         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
48962         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
48963         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
48964         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
48965         Likewise.
48966         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
48967         Likewise.
48968         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
48969         Likewise.
48970         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
48971         Likewise.
48972         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
48973         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
48974         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
48975         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
48976         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
48977         Specify lower bound on value.
48978         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
48979         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
48980         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
48981         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
48982         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
48983         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
48984         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
48985         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
48986         value.
48987         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
48988         as optional.
48989         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
48990         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
48991         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
48992         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
48993         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
48994         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
48995         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
48996         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
48997         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
48998         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
48999         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
49000         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
49001         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
49002         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
49003         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
49004         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
49005         entry.
49006         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
49007         optional.
49008         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
49009         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
49010         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
49011         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
49012         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
49013         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
49014         Likewise.
49015         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
49016         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
49017         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
49018         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
49019         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
49020         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
49021         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
49022         as optional.
49023         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
49024         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
49025         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
49026         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
49027         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
49028         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
49029         specify as optional.
49030         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
49031         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
49032         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
49033         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
49034         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
49035         [XPG3] (NL_LANGMAX): Likewise.
49036         [POSIX || XPG3] (NL_MSGMAX): Likewise.
49037         [POSIX || XPG3] (NL_NMAX): Likewise.
49038         [POSIX || XPG3] (NL_SETMAX): Likewise.
49039         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
49040         [XPG3] (NZERO): Likewise.
49041         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
49042         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
49043         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
49044         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
49045         (REG_ERANGE): Expect.
49046         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
49047         optional-constant.
49048         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
49049         Use (void) in prototype.
49050         [POSIX] (*_t): Allow.
49051         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
49052         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
49053         (WRDE_BADVAL): Expect.
49055         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
49056         expect.
49057         [XPG3 || XPG4] (O_RSYNC): Likewise.
49058         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
49059         Likewise.
49060         [XPG3 || XPG4] (pthread_sigmask): Likewise.
49061         [XPG3 || XPG4] (sigqueue): Likewise.
49062         [XPG3 || XPG4] (sigtimedwait): Likewise.
49063         [XPG3 || XPG4] (sigwaitinfo): Likewise.
49064         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
49065         [XPG3 || XPG4] (vsnprintf): Likewise.
49066         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
49067         Likewise.
49068         [XPG3 || XPG4] (blksize_t): Likewise.
49069         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
49070         Likewise.
49071         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
49072         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
49073         [XPG3 || XPG4] (struct itimerspec): Likewise.
49074         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
49075         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
49076         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
49077         [XPG3 || XPG4] (clockid_t): Likewise.
49078         [XPG3 || XPG4] (timer_t): Likewise.
49079         [XPG3 || XPG4] (clock_getres): Likewise.
49080         [XPG3 || XPG4] (clock_gettime): Likewise.
49081         [XPG3 || XPG4] (clock_settime): Likewise.
49082         [XPG3 || XPG4] (nanosleep): Likewise.
49083         [XPG3 || XPG4] (timer_create): Likewise.
49084         [XPG3 || XPG4] (timer_delete): Likewise.
49085         [XPG3 || XPG4] (timer_gettime): Likewise.
49086         [XPG3 || XPG4] (timer_getoverrun): Likewise.
49087         [XPG3 || XPG4] (timer_settime): Likewise.
49088         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
49089         [XPG3 || XPG4] (getlogin_r): Likewise.
49090         [XPG3 || XPG4] (pread): Likewise.
49091         [XPG3 || XPG4] (pthread_atfork): Likewise.
49092         [XPG3 || XPG4] (pwrite): Likewise.
49094         [BZ #14835]
49095         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
49096         <bits/siginfo.h>.
49098 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49100         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
49101         finalizing MALLSTREAM.
49103         * sysdeps/mach/hurd/syncfs.c: New file.
49105 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49107         [BZ #14719]
49108         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
49109         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
49110         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
49111         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
49112         (_nss_dns_gethostbyname4_r): Likewise.
49113         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
49114         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
49116 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
49118         [BZ #13763]
49119         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
49121 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
49123         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
49124         * elf/cache.c (print_entry): Print ",AArch64" for
49125         FLAG_AARCH64_LIB64
49127         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
49128         * elf/cache.c (print_entry): Print ",hard-float" for
49129         FLAG_ARM_LIBHF.
49131 2012-11-18  David S. Miller  <davem@davemloft.net>
49133         With help from Joseph Myers.
49134         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
49135         cutoff to 2**-13.
49136         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
49137         cutoff to 2**-25.
49138         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
49139         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
49140         small.
49141         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
49142         * math/libm-test.inc (y0_test): New tests.
49143         (y1_test): New tests.
49144         * sysdeps/i386/fpu/libm-test-ulps: Update.
49145         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49148 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
49150         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
49151         64-bit targets.
49152         * configure: Regenerated.
49154 2012-11-17  David S. Miller  <davem@davemloft.net>
49156         [BZ #14811]
49157         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
49158         nonzero exponents with absolute value below 0x1p-128 to +/-
49159         0x1p-128.
49161 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
49163         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
49165         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
49167         * posix/getconf-speclist.c: New file.
49168         * posix/posix-envs.def: Likewise.
49169         * posix/confstr.c (START_ENV_GROUP): New macro.
49170         (END_ENV_GROUP): Likewise.
49171         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49172         (KNOWN_PRESENT_ENV_STRING): Likewise.
49173         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49174         (UNKNOWN_ENVIRONMENT): Likewise.
49175         (confstr): Include posix-envs.def instead of handling
49176         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
49177         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
49178         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
49179         (END_ENV_GROUP): Likewise.
49180         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49181         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49182         (UNKNOWN_ENVIRONMENT): Likewise.
49183         (__sysconf): Include posix-envs.def instead of handling associated
49184         cases directly here.
49185         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
49186         preprocessing getconf-speclist.c rather than running getconf or
49187         generating empty file.
49189 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
49191         * scripts/check-local-headers.sh: Ignore 'mach' headers.
49193 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
49195         [BZ #14672]
49196         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
49198 2012-11-16  David S. Miller  <davem@davemloft.net>
49200         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
49201         smaller than LDBL_EPSILON/2.0L, just return xm1.
49203 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
49205         * elf/tst-array1.c (init): Set constructor priority to 1000.
49206         (fini): Set destructor priority to 1000.
49207         * elf/tst-array2dep.c: Likewise.
49209 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49211         [BZ #11741]
49212         * libio/fileops.c (_IO_new_file_write): Correctly return error.
49213         (_IO_new_file_xsputn): Also return EOF if none of the input
49214         data was written when overflow failed.
49215         * libio/iopadn.c (_IO_padn): Likewise.
49216         * libio/iowpadn.c (_IO_wpadn): Likewise.
49217         * stdio-common/tst-put-error.c: Add copyright notice.
49218         (do_test): Add case for printing padded string.
49219         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
49220         _IO_padn returned error.
49221         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
49222         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
49223         return EOF.
49225 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49227         * libio/libioP.h: Add comment note that the references to C++
49228         bits are now obsolete.
49230 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49232         * math/libm-test.inc (check_complex): Use asprintf.
49234 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
49236         * debug/pcprofiledump.c (print_version): Update copyright year.
49237         * malloc/memusagestat.c (print_version): Likewise.
49239 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
49241         [BZ #14831]
49242         * elf/Makefile (tests): Add tst-audit8.
49243         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
49244         ($(objpfx)tst-audit8.out): New target.
49245         (tst-audit8-ENV): New variable.
49246         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
49247         audit if l_reloc_result is NULL.
49248         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
49249         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
49250         * elf/tst-audit8.c: New file.
49252 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49254         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
49255         * misc/Makefile (CFLAGS-select.c): Define.
49256         * posix/Makefile (CFLAGS-pause.c): Define.
49258 2012-11-13  David S. Miller  <davem@davemloft.net>
49260         * crypt/Makefile: Move test targets after toplevel Rules
49261         inclusion.  Grab any necessary sysdep routines when linking.
49262         * crypt/md5.c (md5_process_block): Remove define, we will always
49263         name it __md5_process_block.
49264         (md5_finish_ctx): Update md5_process_block call.
49265         (md5_stream): Likewise.
49266         (md5_process_bytes): Likewise.
49267         (md5_process_block): Rename to __md5_process_block and move to ...
49268         * crypt/md5-block.c: ... here.
49269         * crypt/sha256.c (sha256_process_block): Move to ...
49270         * crypt/sha256-block.c: ... here.
49271         * crypt/sha512.c (sha512_process_block): Move to ...
49272         * crypt/sha512-block.c: ... here.
49273         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
49274         path.
49275         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
49276         * sysdeps/sparc/sparc64/multiarch/Makefile
49277         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
49278         crypt subdir.
49279         (localedef-aux): Add md5 crypto assembler when in locale subdir.
49280         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
49281         multiarch changes.
49282         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
49283         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
49284         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
49285         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
49286         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
49287         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
49288         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
49289         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
49290         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
49291         file.
49292         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
49293         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
49294         file.
49295         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
49297 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
49299         * timezone/tzselect.ksh: Update from tzcode git revision
49300         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
49301         * timezone/zdump.c: Likewise.
49302         * timezone/zic.c: Likewise.
49303         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
49304         in TZVERSION setting, not $(PKGVERSION).
49305         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
49306         REPORT_BUGS_TO settings.
49308         [BZ #14838]
49309         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
49310         macro.
49312 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49314         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
49315         detection to immediately after _FP_ROUND().
49316         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
49317         bits are 0.
49319 2012-11-11  David S. Miller  <davem@davemloft.net>
49321         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
49322         inttypes.h
49323         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
49324         __close rather than their public counterparts.
49326 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
49328         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
49329         file.
49330         [UNIX98] (sem_timedwait): Do not expect.
49331         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
49332         [XPG4 || UNIX98] (sockatmark): Do not expect.
49333         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
49334         (clock_getcpuclockid): Do not expect.
49335         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
49336         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
49337         Do not expect.
49338         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
49339         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
49340         [UNIX98] (vwscanf): Likewise.
49341         [UNIX98] (vswscanf): Likewise.
49343 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
49345         * timezone/version.h: Remove file.
49346         * timezone/README: Do not refer to version.h.
49347         * timezone/Makefile ($(objpfx)zic.o): New dependency on
49348         $(objpfx)version.h.
49349         ($(objpfx)zdump.o): Likewise.
49350         ($(objpfx)version.h): New target.
49352         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
49353         2012i.
49354         * timezone/README: Don't mention modification to tzselect.ksh.
49355         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
49356         work on unmodified tzselect.ksh.  Substitute version numbers in
49357         tzselect.ksh.
49359         * Makefile (format-me): Remove.
49360         (INSTALL): Adjust indentation.  Use commands directly instead of
49361         using $(format-me).
49363         * aclocal.m4 (ACX_PKGVERSION): New macro.
49364         (ACX_BUGURL): Likewise.
49365         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
49366         (PKGVERSION): New AC_DEFINE_UNQUOTED.
49367         (REPORT_BUGS_TO): Likewise.
49368         * configure: Regenerated.
49369         * config.h.in (PKGVERSION): New macro.
49370         (REPORT_BUGS_TO): Likewise.
49371         * config.make.in (PKGVERSION): New variable.
49372         (PKGVERSION_TEXI): Likewise.
49373         (REPORT_BUGS_TO): Likewise.
49374         (REPORT_BUGS_TEXI): Likewise.
49375         * Makefile (format-me): Use -I$(common-objpfx)manual.
49376         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
49377         ($(common-objpfx)manual/%): New target.
49378         (manual/%): Remove target.
49379         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
49380         (print_version): Use PKGVERSION.
49381         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
49382         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
49383         and REPORT_BUGS_TO.
49384         ($(objpfx)xtrace): Likewise.
49385         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
49386         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
49387         (print_version): Use PKGVERSION.
49388         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
49389         (do_version): Use PKGVERSION.
49390         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
49391         REPORT_BUGS_TO.
49392         (common-ldd-rewrite): Likewise.
49393         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
49394         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
49395         (print_version): Use PKGVERSION.
49396         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
49397         * elf/pldd.c (argp_program_bug_address): Remove variable.
49398         (more_help): New function.
49399         (argp): Use more_help.
49400         (print_version): Use PKGVERSION.
49401         * elf/sln.c (main): Use PKGVERSION.
49402         (usage): Use REPORT_BUGS_TO.
49403         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
49404         (top level): Use PKGVERSION.
49405         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
49406         (print_version): Use PKGVERSION.
49407         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
49408         (print_version): Use PKGVERSION.
49409         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
49410         (print_version): Use PKGVERSION.
49411         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
49412         (print_version): Use PKGVERSION.
49413         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
49414         (print_version): Use PKGVERSION.
49415         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
49416         (print_version): Use PKGVERSION.
49417         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
49418         and BUGURL.
49419         ($(objpfx)memusage): Likewise.
49420         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
49421         (do_version): Use PKGVERSION.
49422         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
49423         (print_version): Use PKGVERSION.
49424         * malloc/mtrace.pl ($PACKAGE): Remove variable.
49425         ($PKGVERSION): New variable.
49426         ($REPORT_BUGS_TO): Likewise.
49427         (usage): Use $REPORT_BUGS_TO.
49428         (top level): Use $PKGVERSION.
49429         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
49430         ($(objpfx)pkgvers.texi): New rule.
49431         ($(objpfx)stamp-pkgvers): Likewise.
49432         * manual/install.texi: Include pkgvers.texi.
49433         (--with-pkgversion): Document new configure option.
49434         (--with-bugurl): Likewise.
49435         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
49436         than necessarily for this particular distribution.  Use
49437         REPORT_BUGS_TO for where to report bugs.
49438         * INSTALL: Regenerated.
49439         * manual/libc.texinfo: Include pkgvers.texi.
49440         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
49441         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
49442         (print_version): Use PKGVERSION.
49443         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
49444         (print_version): Use PKGVERSION.
49445         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
49446         (print_version): Use PKGVERSION.
49447         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
49448         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
49449         macro.
49450         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
49451         (print_version): Use PKGVERSION.
49452         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
49453         (print_version): Use PKGVERSION.
49454         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
49455         and PKGVERSION.
49457         * timezone/checktab.awk: Update from tzcode 2012i.
49458         * timezone/ialloc.c: Likewise.
49459         * timezone/private.h: Likewise.
49460         * timezone/scheck.c: Likewise.
49461         * timezone/tzfile.h: Likewise.
49462         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
49463         (TZVERSION): Hardcode tzcode version number.
49464         * timezone/zdump.c: Update from tzcode 2012i.
49465         * timezone/zic.c: Likewise.
49466         * timezone/version.h: New file.
49467         * timezone/README: Describe version.h.  Update upstream location.
49469         [BZ #14824]
49470         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
49471         (mktemp): Enable declaration.
49472         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
49473         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
49474         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
49475         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
49476         Likewise.
49477         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
49478         Likewise.
49479         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
49480         Likewise.
49481         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
49482         Likewise.
49483         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
49484         Likewise.
49485         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
49486         Likewise.
49488         [BZ #14821]
49489         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
49490         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
49491         for copies of such integer values.
49492         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49493         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49495 2012-11-09  Andreas Jaeger  <aj@suse.de>
49497         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
49498         definitions and declarations that are provided by
49499         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
49501 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49503         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
49504         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
49505         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
49506         definition.
49508 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49510         * elf/elf.h: Update comment before AArch64 relocations.
49512 2012-11-07  David S. Miller  <davem@davemloft.net>
49514         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
49515         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49516         (__start_context): Declare.
49517         (__makecontext_ret): Delete.
49518         (__makecontext): Hook up __start_context instead of
49519         __makecontext_ret.
49520         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
49521         (sysdep_routines): Add __start_context when in stdlib.
49523 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49525         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
49526         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
49527         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
49528         hardcoded "nm".
49529         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
49530         (READELF): New variable.  Use it instead of hardcoded "readelf".
49532 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49534         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
49535         * sysdeps/x86/Makefile: Here.
49536         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
49537         * sysdeps/x86/tst-xmmymm.sh: This.
49539 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49541         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
49542         expectations.
49543         [UNIX98] (pthread_barrier_t): Do not expect.
49544         [UNIX98] (pthread_barrierattr_t): Likewise.
49545         [UNIX98] (pthread_spinlock_t): Likewise.
49546         [UNIX98] (pthread_barrier_destroy): Likewise.
49547         [UNIX98] (pthread_barrier_init): Likewise.
49548         [UNIX98] (pthread_barrier_wait): Likewise.
49549         [UNIX98] (pthread_barrierattr_destroy): Likewise.
49550         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
49551         [UNIX98] (pthread_barrierattr_init): Likewise.
49552         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
49553         [UNIX98] (pthread_getcpuclockid): Likewise.
49554         [UNIX98] (pthread_mutex_timedlock): Likewise.
49555         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
49556         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
49557         [UNIX98] (pthread_sigmask): Likewise.
49558         [UNIX98] (pthread_spin_destroy): Likewise.
49559         [UNIX98] (pthread_spin_init): Likewise.
49560         [UNIX98] (pthread_spin_lock): Likewise.
49561         [UNIX98] (pthread_spin_trylock): Likewise.
49562         [UNIX98] (pthread_spin_unlock): Likewise.
49563         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
49564         Do not expect.
49565         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
49566         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
49567         [XPG3 || XPG4] (pthread_cond_t): Likewise.
49568         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
49569         [XPG3 || XPG4] (pthread_key_t): Likewise.
49570         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
49571         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
49572         [XPG3 || XPG4] (pthread_once_t): Likewise.
49573         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
49574         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
49575         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
49576         [XPG3 || XPG4] (pthread_t): Likewise.
49578         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
49579         not expect.
49580         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
49582         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
49583         Change function return type to int.
49585         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
49586         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
49587         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
49588         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
49589         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
49590         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
49591         [!POSIX] (posix_madvise): Likewise.
49592         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
49593         && !UNIX98].
49594         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
49595         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
49596         (mode_t): Likewise.
49597         (posix_mem_offset): Likewise.
49598         (posix_typed_mem_get_info): Likewise.
49599         (posix_typed_mem_open): Likewise.
49601         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
49602         Change condition to [XOPEN2K8].
49604         * conform/conformtest.pl: Preprocess allow-header data with -x c
49605         instead of from stdin.
49606         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
49607         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
49608         [C99-based standards] (cerfc): Likewise.
49609         [C99-based standards] (cexp2): Likewise.
49610         [C99-based standards] (cexpm1): Likewise.
49611         [C99-based standards] (clog10): Likewise.
49612         [C99-based standards] (clog1p): Likewise.
49613         [C99-based standards] (clog2): Likewise.
49614         [C99-based standards] (clgamma): Likewise.
49615         [C99-based standards] (ctgamma): Likewise.
49616         [C99-based standards] (cerff): Likewise.
49617         [C99-based standards] (cerfcf): Likewise.
49618         [C99-based standards] (cexp2f): Likewise.
49619         [C99-based standards] (cexpm1f): Likewise.
49620         [C99-based standards] (clog10f): Likewise.
49621         [C99-based standards] (clog1pf): Likewise.
49622         [C99-based standards] (clog2f): Likewise.
49623         [C99-based standards] (clgammaf): Likewise.
49624         [C99-based standards] (ctgammaf): Likewise.
49625         [C99-based standards] (cerfl): Likewise.
49626         [C99-based standards] (cerfcl): Likewise.
49627         [C99-based standards] (cexp2l): Likewise.
49628         [C99-based standards] (cexpm1l): Likewise.
49629         [C99-based standards] (clog10l): Likewise.
49630         [C99-based standards] (clog1pl): Likewise.
49631         [C99-based standards] (clog2l): Likewise.
49632         [C99-based standards] (clgammal): Likewise.
49633         [C99-based standards] (ctgammal): Likewise.
49634         * conform/data/inttypes.h-data [C99-based standards]: Include
49635         stdint.h-data.  Remove all expectations for stdint.h contents.
49636         [C99-based standards] (PRI*): Do not allow.
49637         [C99-based standards] (SCN*): Likewise.
49638         [C99-based standards] (*_t): Likewise.
49639         [C99-based-standards] (PRId8): Expect macro.
49640         [C99-based-standards] (PRIi8): Likewise.
49641         [C99-based-standards] (PRIo8): Likewise.
49642         [C99-based-standards] (PRIu8): Likewise.
49643         [C99-based-standards] (PRIx8): Likewise.
49644         [C99-based-standards] (PRIX8): Likewise.
49645         [C99-based-standards] (SCNd8): Likewise.
49646         [C99-based-standards] (SCNi8): Likewise.
49647         [C99-based-standards] (SCNo8): Likewise.
49648         [C99-based-standards] (SCNu8): Likewise.
49649         [C99-based-standards] (SCNx8): Likewise.
49650         [C99-based-standards] (PRIdLEAST8): Likewise.
49651         [C99-based-standards] (PRIiLEAST8): Likewise.
49652         [C99-based-standards] (PRIoLEAST8): Likewise.
49653         [C99-based-standards] (PRIuLEAST8): Likewise.
49654         [C99-based-standards] (PRIxLEAST8): Likewise.
49655         [C99-based-standards] (PRIXLEAST8): Likewise.
49656         [C99-based-standards] (SCNdLEAST8): Likewise.
49657         [C99-based-standards] (SCNiLEAST8): Likewise.
49658         [C99-based-standards] (SCNoLEAST8): Likewise.
49659         [C99-based-standards] (SCNuLEAST8): Likewise.
49660         [C99-based-standards] (SCNxLEAST8): Likewise.
49661         [C99-based-standards] (PRIdFAST8): Likewise.
49662         [C99-based-standards] (PRIiFAST8): Likewise.
49663         [C99-based-standards] (PRIoFAST8): Likewise.
49664         [C99-based-standards] (PRIuFAST8): Likewise.
49665         [C99-based-standards] (PRIxFAST8): Likewise.
49666         [C99-based-standards] (PRIXFAST8): Likewise.
49667         [C99-based-standards] (SCNdFAST8): Likewise.
49668         [C99-based-standards] (SCNiFAST8): Likewise.
49669         [C99-based-standards] (SCNoFAST8): Likewise.
49670         [C99-based-standards] (SCNuFAST8): Likewise.
49671         [C99-based-standards] (SCNxFAST8): Likewise.
49672         [C99-based-standards] (PRId16): Likewise.
49673         [C99-based-standards] (PRIi16): Likewise.
49674         [C99-based-standards] (PRIo16): Likewise.
49675         [C99-based-standards] (PRIu16): Likewise.
49676         [C99-based-standards] (PRIx16): Likewise.
49677         [C99-based-standards] (PRIX16): Likewise.
49678         [C99-based-standards] (SCNd16): Likewise.
49679         [C99-based-standards] (SCNi16): Likewise.
49680         [C99-based-standards] (SCNo16): Likewise.
49681         [C99-based-standards] (SCNu16): Likewise.
49682         [C99-based-standards] (SCNx16): Likewise.
49683         [C99-based-standards] (PRIdLEAST16): Likewise.
49684         [C99-based-standards] (PRIiLEAST16): Likewise.
49685         [C99-based-standards] (PRIoLEAST16): Likewise.
49686         [C99-based-standards] (PRIuLEAST16): Likewise.
49687         [C99-based-standards] (PRIxLEAST16): Likewise.
49688         [C99-based-standards] (PRIXLEAST16): Likewise.
49689         [C99-based-standards] (SCNdLEAST16): Likewise.
49690         [C99-based-standards] (SCNiLEAST16): Likewise.
49691         [C99-based-standards] (SCNoLEAST16): Likewise.
49692         [C99-based-standards] (SCNuLEAST16): Likewise.
49693         [C99-based-standards] (SCNxLEAST16): Likewise.
49694         [C99-based-standards] (PRIdFAST16): Likewise.
49695         [C99-based-standards] (PRIiFAST16): Likewise.
49696         [C99-based-standards] (PRIoFAST16): Likewise.
49697         [C99-based-standards] (PRIuFAST16): Likewise.
49698         [C99-based-standards] (PRIxFAST16): Likewise.
49699         [C99-based-standards] (PRIXFAST16): Likewise.
49700         [C99-based-standards] (SCNdFAST16): Likewise.
49701         [C99-based-standards] (SCNiFAST16): Likewise.
49702         [C99-based-standards] (SCNoFAST16): Likewise.
49703         [C99-based-standards] (SCNuFAST16): Likewise.
49704         [C99-based-standards] (SCNxFAST16): Likewise.
49705         [C99-based-standards] (PRId32): Likewise.
49706         [C99-based-standards] (PRIi32): Likewise.
49707         [C99-based-standards] (PRIo32): Likewise.
49708         [C99-based-standards] (PRIu32): Likewise.
49709         [C99-based-standards] (PRIx32): Likewise.
49710         [C99-based-standards] (PRIX32): Likewise.
49711         [C99-based-standards] (SCNd32): Likewise.
49712         [C99-based-standards] (SCNi32): Likewise.
49713         [C99-based-standards] (SCNo32): Likewise.
49714         [C99-based-standards] (SCNu32): Likewise.
49715         [C99-based-standards] (SCNx32): Likewise.
49716         [C99-based-standards] (PRIdLEAST32): Likewise.
49717         [C99-based-standards] (PRIiLEAST32): Likewise.
49718         [C99-based-standards] (PRIoLEAST32): Likewise.
49719         [C99-based-standards] (PRIuLEAST32): Likewise.
49720         [C99-based-standards] (PRIxLEAST32): Likewise.
49721         [C99-based-standards] (PRIXLEAST32): Likewise.
49722         [C99-based-standards] (SCNdLEAST32): Likewise.
49723         [C99-based-standards] (SCNiLEAST32): Likewise.
49724         [C99-based-standards] (SCNoLEAST32): Likewise.
49725         [C99-based-standards] (SCNuLEAST32): Likewise.
49726         [C99-based-standards] (SCNxLEAST32): Likewise.
49727         [C99-based-standards] (PRIdFAST32): Likewise.
49728         [C99-based-standards] (PRIiFAST32): Likewise.
49729         [C99-based-standards] (PRIoFAST32): Likewise.
49730         [C99-based-standards] (PRIuFAST32): Likewise.
49731         [C99-based-standards] (PRIxFAST32): Likewise.
49732         [C99-based-standards] (PRIXFAST32): Likewise.
49733         [C99-based-standards] (SCNdFAST32): Likewise.
49734         [C99-based-standards] (SCNiFAST32): Likewise.
49735         [C99-based-standards] (SCNoFAST32): Likewise.
49736         [C99-based-standards] (SCNuFAST32): Likewise.
49737         [C99-based-standards] (SCNxFAST32): Likewise.
49738         [C99-based-standards] (PRId64): Likewise.
49739         [C99-based-standards] (PRIi64): Likewise.
49740         [C99-based-standards] (PRIo64): Likewise.
49741         [C99-based-standards] (PRIu64): Likewise.
49742         [C99-based-standards] (PRIx64): Likewise.
49743         [C99-based-standards] (PRIX64): Likewise.
49744         [C99-based-standards] (SCNd64): Likewise.
49745         [C99-based-standards] (SCNi64): Likewise.
49746         [C99-based-standards] (SCNo64): Likewise.
49747         [C99-based-standards] (SCNu64): Likewise.
49748         [C99-based-standards] (SCNx64): Likewise.
49749         [C99-based-standards] (PRIdLEAST64): Likewise.
49750         [C99-based-standards] (PRIiLEAST64): Likewise.
49751         [C99-based-standards] (PRIoLEAST64): Likewise.
49752         [C99-based-standards] (PRIuLEAST64): Likewise.
49753         [C99-based-standards] (PRIxLEAST64): Likewise.
49754         [C99-based-standards] (PRIXLEAST64): Likewise.
49755         [C99-based-standards] (SCNdLEAST64): Likewise.
49756         [C99-based-standards] (SCNiLEAST64): Likewise.
49757         [C99-based-standards] (SCNoLEAST64): Likewise.
49758         [C99-based-standards] (SCNuLEAST64): Likewise.
49759         [C99-based-standards] (SCNxLEAST64): Likewise.
49760         [C99-based-standards] (PRIdFAST64): Likewise.
49761         [C99-based-standards] (PRIiFAST64): Likewise.
49762         [C99-based-standards] (PRIoFAST64): Likewise.
49763         [C99-based-standards] (PRIuFAST64): Likewise.
49764         [C99-based-standards] (PRIxFAST64): Likewise.
49765         [C99-based-standards] (PRIXFAST64): Likewise.
49766         [C99-based-standards] (SCNdFAST64): Likewise.
49767         [C99-based-standards] (SCNiFAST64): Likewise.
49768         [C99-based-standards] (SCNoFAST64): Likewise.
49769         [C99-based-standards] (SCNuFAST64): Likewise.
49770         [C99-based-standards] (SCNxFAST64): Likewise.
49771         [C99-based-standards] (PRIdMAX): Likewise.
49772         [C99-based-standards] (PRIiMAX): Likewise.
49773         [C99-based-standards] (PRIoMAX): Likewise.
49774         [C99-based-standards] (PRIuMAX): Likewise.
49775         [C99-based-standards] (PRIxMAX): Likewise.
49776         [C99-based-standards] (PRIXMAX): Likewise.
49777         [C99-based-standards] (SCNdMAX): Likewise.
49778         [C99-based-standards] (SCNiMAX): Likewise.
49779         [C99-based-standards] (SCNoMAX): Likewise.
49780         [C99-based-standards] (SCNuMAX): Likewise.
49781         [C99-based-standards] (SCNxMAX): Likewise.
49782         [C99-based-standards] (PRIdPTR): Likewise.
49783         [C99-based-standards] (PRIiPTR): Likewise.
49784         [C99-based-standards] (PRIoPTR): Likewise.
49785         [C99-based-standards] (PRIuPTR): Likewise.
49786         [C99-based-standards] (PRIxPTR): Likewise.
49787         [C99-based-standards] (PRIXPTR): Likewise.
49788         [C99-based-standards] (SCNdPTR): Likewise.
49789         [C99-based-standards] (SCNiPTR): Likewise.
49790         [C99-based-standards] (SCNoPTR): Likewise.
49791         [C99-based-standards] (SCNuPTR): Likewise.
49792         [C99-based-standards] (SCNxPTR): Likewise.
49793         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
49794         allow.
49795         * conform/data/stdint.h-data: Update comments to clarify
49796         requirements.
49797         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
49798         type.
49799         [C99-based standards] (INT8_MAX): Likewise.
49800         [C99-based standards] (INT16_MIN): Likewise.
49801         [C99-based standards] (INT16_MAX): Likewise.
49802         [C99-based standards] (INT32_MIN): Likewise.
49803         [C99-based standards] (INT32_MAX): Likewise.
49804         [C99-based standards] (INT64_MIN): Likewise.
49805         [C99-based standards] (INT64_MAX): Likewise.
49806         [C99-based standards] (UINT8_MAX): Likewise.
49807         [C99-based standards] (UINT16_MAX): Likewise.
49808         [C99-based standards] (UINT32_MAX): Likewise.
49809         [C99-based standards] (UINT64_MAX): Likewise.
49810         [C99-based standards] (INT_LEAST8_MIN): Likewise.
49811         [C99-based standards] (INT_LEAST8_MAX): Likewise.
49812         [C99-based standards] (INT_LEAST16_MIN): Likewise.
49813         [C99-based standards] (INT_LEAST16_MAX): Likewise.
49814         [C99-based standards] (INT_LEAST32_MIN): Likewise.
49815         [C99-based standards] (INT_LEAST32_MAX): Likewise.
49816         [C99-based standards] (INT_LEAST64_MIN): Likewise.
49817         [C99-based standards] (INT_LEAST64_MAX): Likewise.
49818         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
49819         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
49820         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
49821         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
49822         [C99-based standards] (INT_FAST8_MIN): Likewise.
49823         [C99-based standards] (INT_FAST8_MAX): Likewise.
49824         [C99-based standards] (INT_FAST16_MIN): Likewise.
49825         [C99-based standards] (INT_FAST16_MAX): Likewise.
49826         [C99-based standards] (INT_FAST32_MIN): Likewise.
49827         [C99-based standards] (INT_FAST32_MAX): Likewise.
49828         [C99-based standards] (INT_FAST64_MIN): Likewise.
49829         [C99-based standards] (INT_FAST64_MAX): Likewise.
49830         [C99-based standards] (UINT_FAST8_MAX): Likewise.
49831         [C99-based standards] (UINT_FAST16_MAX): Likewise.
49832         [C99-based standards] (UINT_FAST32_MAX): Likewise.
49833         [C99-based standards] (UINT_FAST64_MAX): Likewise.
49834         [C99-based standards] (INTPTR_MIN): Likewise.
49835         [C99-based standards] (INTPTR_MAX): Likewise.
49836         [C99-based standards] (UINTPTR_MAX): Likewise.
49837         [C99-based standards] (INTMAX_MIN): Likewise.
49838         [C99-based standards] (INTMAX_MAX): Likewise.
49839         [C99-based standards] (UINTMAX_MAX): Likewise.
49840         [C99-based standards] (PTRDIFF_MIN): Likewise.
49841         [C99-based standards] (PTRDIFF_MAX): Likewise.
49842         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
49843         [C99-based standards] (SIZE_MAX): Likewise.
49844         [C99-based standards] (WCHAR_MAX): Likewise.
49845         [C99-based standards] (WINT_MAX): Likewise.
49846         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
49847         constraint on value.
49848         [C99-based standards] (WCHAR_MIN): Likewise.
49849         [C99-based standards] (WINT_MIN): Likewise.
49850         [C99-based standards] (*_t): Allow.
49851         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
49852         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
49853         Include math.h-data and complex.h-data.  Remove all expectations
49854         of math.h and complex.h contents.
49855         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
49856         at end of line.
49857         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
49858         (struct tm): Expect tag.
49859         [C99-based-standards] (wcstof): Expect function.
49860         [C99-based-standards] (wcstold): Likewise.
49861         [C99-based-standards] (wcstoll): Likewise.
49862         [C99-based-standards] (wcstoull): Likewise.
49863         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
49864         macro-int-constant.  Specify type.
49865         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
49866         constraint on value.
49867         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
49868         Specify type.
49869         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
49870         Specify value.
49871         [ISO C standards]: Do not allow headers.
49872         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
49873         wcs[abcdefghijklmnopqrstuvwxyz]*.
49874         [ISO C standards] (*_t): Do not allow.
49875         * conform/data/wctype.h-data [C99-based standards] (iswblank):
49876         Expect function.
49877         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
49878         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
49879         Specify type.
49880         [ISO C standards]: Do not allow headers.
49881         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
49882         is[abcdefghijklmnopqrstuvwxyz]*.
49883         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
49884         to[abcdefghijklmnopqrstuvwxyz]*.
49885         [ISO C standards] (*_t): Do not allow.
49886         * conform/data/stdalign.h-data: New file.
49887         * conform/data/stdbool.h-data: Likewise.
49888         * conform/data/stdnoreturn.h-data: Likewise.
49890 2012-11-07  Roland McGrath  <roland@hack.frob.com>
49892         [BZ #14815]
49893         * manual/filesys.texi (Directory Entries): Typo fix.
49894         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
49896 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49898         * elf/elf.h (EM_AARCH64): New macro.
49899         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
49900         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
49901         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
49902         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
49903         (R_AARCH64_TLSDESC): Likewise.
49904         (NT_ARM_TLS): Likewise.
49905         (NT_ARM_HW_BREAK): Likewise.
49906         (NT_ARM_HW_WATCH): Likewise.
49908 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49910         [BZ #14811]
49911         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
49912         (__ieee754_powl): Saturate nonzero exponents with absolute value
49913         below 0x1p-79 to +/- 0x1p-79.
49914         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
49915         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
49916         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
49917         nonzero exponents with absolute value below 0x1p-32 to +/-
49918         0x1p-32.
49919         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
49920         (__ieee754_powl): Saturate nonzero exponents with absolute value
49921         below 0x1p-79 to +/- 0x1p-79.
49922         * math/libm-test.inc (pow_test): Add more tests.
49924 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49926         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
49927         _dl_s390_cap_flags with kernel. Increase string length.
49928         (_dl_s390_platforms): Add z196 and zEC12.
49930 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49932         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
49933         Change XOPEN21K to XOPEN2K.
49935 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
49937         * string/memmove.c: Use memcpy when possible.
49939 2012-11-06  Andreas Jaeger  <aj@suse.de>
49941         * po/eo.po: Update from translation team.
49943 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
49945         [BZ #14793]
49946         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
49947         exponent and small x and y exponents, scale x or y up.  Increase
49948         by 2 the exponent used in scaling up.
49949         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49950         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49951         * math/libm-test.inc (fma_test): Add more tests.
49952         (fma_test_towardzero): Likewise.
49953         (fma_test_downward): Likewise.
49954         (fma_test_upward): Likewise.
49956 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
49958         [BZ #14805]
49959         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
49960         fenv_t *.
49962         [BZ #14801]
49963         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
49964         namespace for names of struct fields.
49965         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
49966         fenv_t fields.
49967         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
49968         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
49970 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49972         [BZ #3665]
49973         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
49975 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
49977         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
49978         PTR_DEMANGLE.
49980         [BZ #5246]
49981         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
49982         PTR_DEMANGLE.
49984 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
49986         [BZ #14797]
49987         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
49988         definitely overflow as x * y not x * y + z.
49989         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49990         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49991         * math/libm-test.inc (fma_test): Add more tests.
49992         (fma_test_towardzero): Likewise.
49993         (fma_test_downward): Likewise.
49994         (fma_test_upward): Likewise.
49996 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
49998         [BZ #157]
50000         * include/stub-tag.h: Remove file.
50001         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
50002         '#include' of it.
50003         * manual/maint.texi (Porting): Don't reference it.
50004         * Makerules ($(objpfx)stubs): Likewise.
50005         * dirent/closedir.c: Don't include <stub-tag.h>.
50006         * dirent/dirfd.c: Likewise.
50007         * dirent/fdopendir.c: Likewise.
50008         * dirent/getdents.c: Likewise.
50009         * dirent/getdents64.c: Likewise.
50010         * dirent/opendir.c: Likewise.
50011         * dirent/readdir.c: Likewise.
50012         * dirent/readdir64.c: Likewise.
50013         * dirent/readdir64_r.c: Likewise.
50014         * dirent/readdir_r.c: Likewise.
50015         * dirent/rewinddir.c: Likewise.
50016         * dirent/seekdir.c: Likewise.
50017         * dirent/telldir.c: Likewise.
50018         * gmon/profil.c: Likewise.
50019         * grp/setgroups.c: Likewise.
50020         * inet/if_index.c: Likewise.
50021         * io/access.c: Likewise.
50022         * io/chdir.c: Likewise.
50023         * io/chmod.c: Likewise.
50024         * io/chown.c: Likewise.
50025         * io/close.c: Likewise.
50026         * io/dup.c: Likewise.
50027         * io/dup2.c: Likewise.
50028         * io/dup3.c: Likewise.
50029         * io/euidaccess.c: Likewise.
50030         * io/faccessat.c: Likewise.
50031         * io/fchdir.c: Likewise.
50032         * io/fchmod.c: Likewise.
50033         * io/fchmodat.c: Likewise.
50034         * io/fchown.c: Likewise.
50035         * io/fchownat.c: Likewise.
50036         * io/fcntl.c: Likewise.
50037         * io/flock.c: Likewise.
50038         * io/fstatfs.c: Likewise.
50039         * io/fstatfs64.c: Likewise.
50040         * io/fstatvfs.c: Likewise.
50041         * io/fstatvfs64.c: Likewise.
50042         * io/futimens.c: Likewise.
50043         * io/fxstat.c: Likewise.
50044         * io/fxstat64.c: Likewise.
50045         * io/fxstatat.c: Likewise.
50046         * io/fxstatat64.c: Likewise.
50047         * io/getcwd.c: Likewise.
50048         * io/isatty.c: Likewise.
50049         * io/lchmod.c: Likewise.
50050         * io/lchown.c: Likewise.
50051         * io/link.c: Likewise.
50052         * io/linkat.c: Likewise.
50053         * io/lseek.c: Likewise.
50054         * io/lseek64.c: Likewise.
50055         * io/lxstat64.c: Likewise.
50056         * io/mkdir.c: Likewise.
50057         * io/mkdirat.c: Likewise.
50058         * io/mkfifo.c: Likewise.
50059         * io/mkfifoat.c: Likewise.
50060         * io/open.c: Likewise.
50061         * io/open64.c: Likewise.
50062         * io/openat.c: Likewise.
50063         * io/openat64.c: Likewise.
50064         * io/pipe.c: Likewise.
50065         * io/pipe2.c: Likewise.
50066         * io/poll.c: Likewise.
50067         * io/posix_fadvise.c: Likewise.
50068         * io/posix_fadvise64.c: Likewise.
50069         * io/posix_fallocate.c: Likewise.
50070         * io/posix_fallocate64.c: Likewise.
50071         * io/read.c: Likewise.
50072         * io/readlink.c: Likewise.
50073         * io/readlinkat.c: Likewise.
50074         * io/rmdir.c: Likewise.
50075         * io/sendfile.c: Likewise.
50076         * io/sendfile64.c: Likewise.
50077         * io/statfs.c: Likewise.
50078         * io/statfs64.c: Likewise.
50079         * io/statvfs.c: Likewise.
50080         * io/statvfs64.c: Likewise.
50081         * io/symlink.c: Likewise.
50082         * io/symlinkat.c: Likewise.
50083         * io/ttyname.c: Likewise.
50084         * io/ttyname_r.c: Likewise.
50085         * io/umask.c: Likewise.
50086         * io/unlink.c: Likewise.
50087         * io/unlinkat.c: Likewise.
50088         * io/utime.c: Likewise.
50089         * io/utimensat.c: Likewise.
50090         * io/write.c: Likewise.
50091         * io/xmknod.c: Likewise.
50092         * io/xmknodat.c: Likewise.
50093         * io/xstat.c: Likewise.
50094         * io/xstat64.c: Likewise.
50095         * login/getpt.c: Likewise.
50096         * login/grantpt.c: Likewise.
50097         * login/unlockpt.c: Likewise.
50098         * math/e_acoshl.c: Likewise.
50099         * math/e_acosl.c: Likewise.
50100         * math/e_asinl.c: Likewise.
50101         * math/e_atan2l.c: Likewise.
50102         * math/e_atanhl.c: Likewise.
50103         * math/e_coshl.c: Likewise.
50104         * math/e_expl.c: Likewise.
50105         * math/e_fmodl.c: Likewise.
50106         * math/e_gammal_r.c: Likewise.
50107         * math/e_hypotl.c: Likewise.
50108         * math/e_j0l.c: Likewise.
50109         * math/e_j1l.c: Likewise.
50110         * math/e_jnl.c: Likewise.
50111         * math/e_lgammal_r.c: Likewise.
50112         * math/e_log10l.c: Likewise.
50113         * math/e_log2l.c: Likewise.
50114         * math/e_logl.c: Likewise.
50115         * math/e_powl.c: Likewise.
50116         * math/e_rem_pio2l.c: Likewise.
50117         * math/e_sinhl.c: Likewise.
50118         * math/e_sqrtl.c: Likewise.
50119         * math/fclrexcpt.c: Likewise.
50120         * math/fedisblxcpt.c: Likewise.
50121         * math/feenablxcpt.c: Likewise.
50122         * math/fegetenv.c: Likewise.
50123         * math/fegetexcept.c: Likewise.
50124         * math/fegetround.c: Likewise.
50125         * math/feholdexcpt.c: Likewise.
50126         * math/fesetenv.c: Likewise.
50127         * math/fesetround.c: Likewise.
50128         * math/feupdateenv.c: Likewise.
50129         * math/fgetexcptflg.c: Likewise.
50130         * math/fraiseexcpt.c: Likewise.
50131         * math/fsetexcptflg.c: Likewise.
50132         * math/ftestexcept.c: Likewise.
50133         * math/k_cosl.c: Likewise.
50134         * math/k_rem_pio2l.c: Likewise.
50135         * math/k_sinl.c: Likewise.
50136         * math/k_tanl.c: Likewise.
50137         * math/s_asinhl.c: Likewise.
50138         * math/s_atanl.c: Likewise.
50139         * math/s_cbrtl.c: Likewise.
50140         * math/s_erfl.c: Likewise.
50141         * math/s_expm1l.c: Likewise.
50142         * math/s_log1pl.c: Likewise.
50143         * math/s_tanhl.c: Likewise.
50144         * misc/acct.c: Likewise.
50145         * misc/brk.c: Likewise.
50146         * misc/chflags.c: Likewise.
50147         * misc/chroot.c: Likewise.
50148         * misc/fchflags.c: Likewise.
50149         * misc/fgetxattr.c: Likewise.
50150         * misc/flistxattr.c: Likewise.
50151         * misc/fremovexattr.c: Likewise.
50152         * misc/fsetxattr.c: Likewise.
50153         * misc/fsync.c: Likewise.
50154         * misc/ftruncate.c: Likewise.
50155         * misc/futimes.c: Likewise.
50156         * misc/futimesat.c: Likewise.
50157         * misc/getdomain.c: Likewise.
50158         * misc/getdtsz.c: Likewise.
50159         * misc/gethostid.c: Likewise.
50160         * misc/gethostname.c: Likewise.
50161         * misc/getloadavg.c: Likewise.
50162         * misc/getpagesize.c: Likewise.
50163         * misc/getsysstats.c: Likewise.
50164         * misc/getxattr.c: Likewise.
50165         * misc/gtty.c: Likewise.
50166         * misc/ioctl.c: Likewise.
50167         * misc/lgetxattr.c: Likewise.
50168         * misc/listxattr.c: Likewise.
50169         * misc/llistxattr.c: Likewise.
50170         * misc/lremovexattr.c: Likewise.
50171         * misc/lsetxattr.c: Likewise.
50172         * misc/lutimes.c: Likewise.
50173         * misc/madvise.c: Likewise.
50174         * misc/mincore.c: Likewise.
50175         * misc/mlock.c: Likewise.
50176         * misc/mlockall.c: Likewise.
50177         * misc/mmap.c: Likewise.
50178         * misc/mprotect.c: Likewise.
50179         * misc/msync.c: Likewise.
50180         * misc/munlock.c: Likewise.
50181         * misc/munlockall.c: Likewise.
50182         * misc/munmap.c: Likewise.
50183         * misc/preadv.c: Likewise.
50184         * misc/preadv64.c: Likewise.
50185         * misc/ptrace.c: Likewise.
50186         * misc/pwritev.c: Likewise.
50187         * misc/pwritev64.c: Likewise.
50188         * misc/readv.c: Likewise.
50189         * misc/reboot.c: Likewise.
50190         * misc/remap_file_pages.c: Likewise.
50191         * misc/removexattr.c: Likewise.
50192         * misc/revoke.c: Likewise.
50193         * misc/select.c: Likewise.
50194         * misc/setdomain.c: Likewise.
50195         * misc/setegid.c: Likewise.
50196         * misc/seteuid.c: Likewise.
50197         * misc/sethostid.c: Likewise.
50198         * misc/sethostname.c: Likewise.
50199         * misc/setregid.c: Likewise.
50200         * misc/setreuid.c: Likewise.
50201         * misc/setxattr.c: Likewise.
50202         * misc/sstk.c: Likewise.
50203         * misc/stty.c: Likewise.
50204         * misc/swapoff.c: Likewise.
50205         * misc/swapon.c: Likewise.
50206         * misc/sync.c: Likewise.
50207         * misc/syncfs.c: Likewise.
50208         * misc/syscall.c: Likewise.
50209         * misc/truncate.c: Likewise.
50210         * misc/ualarm.c: Likewise.
50211         * misc/usleep.c: Likewise.
50212         * misc/ustat.c: Likewise.
50213         * misc/utimes.c: Likewise.
50214         * misc/vhangup.c: Likewise.
50215         * misc/writev.c: Likewise.
50216         * posix/_exit.c: Likewise.
50217         * posix/alarm.c: Likewise.
50218         * posix/execve.c: Likewise.
50219         * posix/fexecve.c: Likewise.
50220         * posix/fork.c: Likewise.
50221         * posix/fpathconf.c: Likewise.
50222         * posix/getaddrinfo.c: Likewise.
50223         * posix/getegid.c: Likewise.
50224         * posix/geteuid.c: Likewise.
50225         * posix/getgid.c: Likewise.
50226         * posix/getgroups.c: Likewise.
50227         * posix/getlogin.c: Likewise.
50228         * posix/getlogin_r.c: Likewise.
50229         * posix/getpgid.c: Likewise.
50230         * posix/getpid.c: Likewise.
50231         * posix/getppid.c: Likewise.
50232         * posix/getresgid.c: Likewise.
50233         * posix/getresuid.c: Likewise.
50234         * posix/getsid.c: Likewise.
50235         * posix/getuid.c: Likewise.
50236         * posix/glob64.c: Likewise.
50237         * posix/nanosleep.c: Likewise.
50238         * posix/pathconf.c: Likewise.
50239         * posix/pause.c: Likewise.
50240         * posix/posix_madvise.c: Likewise.
50241         * posix/pread.c: Likewise.
50242         * posix/pread64.c: Likewise.
50243         * posix/pwrite.c: Likewise.
50244         * posix/pwrite64.c: Likewise.
50245         * posix/sched_getaffinity.c: Likewise.
50246         * posix/sched_getp.c: Likewise.
50247         * posix/sched_gets.c: Likewise.
50248         * posix/sched_primax.c: Likewise.
50249         * posix/sched_primin.c: Likewise.
50250         * posix/sched_rr_gi.c: Likewise.
50251         * posix/sched_setaffinity.c: Likewise.
50252         * posix/sched_setp.c: Likewise.
50253         * posix/sched_sets.c: Likewise.
50254         * posix/sched_yield.c: Likewise.
50255         * posix/setgid.c: Likewise.
50256         * posix/setlogin.c: Likewise.
50257         * posix/setpgid.c: Likewise.
50258         * posix/setresgid.c: Likewise.
50259         * posix/setresuid.c: Likewise.
50260         * posix/setsid.c: Likewise.
50261         * posix/setuid.c: Likewise.
50262         * posix/sleep.c: Likewise.
50263         * posix/spawni.c: Likewise.
50264         * posix/sysconf.c: Likewise.
50265         * posix/times.c: Likewise.
50266         * posix/wait.c: Likewise.
50267         * posix/wait3.c: Likewise.
50268         * posix/wait4.c: Likewise.
50269         * posix/waitpid.c: Likewise.
50270         * resolv/gai_sigqueue.c: Likewise.
50271         * resource/getpriority.c: Likewise.
50272         * resource/getrlimit.c: Likewise.
50273         * resource/getrusage.c: Likewise.
50274         * resource/nice.c: Likewise.
50275         * resource/setpriority.c: Likewise.
50276         * resource/setrlimit.c: Likewise.
50277         * resource/ulimit.c: Likewise.
50278         * rt/aio_cancel.c: Likewise.
50279         * rt/aio_fsync.c: Likewise.
50280         * rt/aio_read.c: Likewise.
50281         * rt/aio_sigqueue.c: Likewise.
50282         * rt/aio_suspend.c: Likewise.
50283         * rt/aio_write.c: Likewise.
50284         * rt/clock_getres.c: Likewise.
50285         * rt/clock_gettime.c: Likewise.
50286         * rt/clock_nanosleep.c: Likewise.
50287         * rt/clock_settime.c: Likewise.
50288         * rt/lio_listio.c: Likewise.
50289         * rt/mq_close.c: Likewise.
50290         * rt/mq_getattr.c: Likewise.
50291         * rt/mq_notify.c: Likewise.
50292         * rt/mq_open.c: Likewise.
50293         * rt/mq_receive.c: Likewise.
50294         * rt/mq_send.c: Likewise.
50295         * rt/mq_setattr.c: Likewise.
50296         * rt/mq_timedreceive.c: Likewise.
50297         * rt/mq_timedsend.c: Likewise.
50298         * rt/mq_unlink.c: Likewise.
50299         * rt/shm_open.c: Likewise.
50300         * rt/shm_unlink.c: Likewise.
50301         * rt/timer_create.c: Likewise.
50302         * rt/timer_delete.c: Likewise.
50303         * rt/timer_getoverr.c: Likewise.
50304         * rt/timer_gettime.c: Likewise.
50305         * rt/timer_settime.c: Likewise.
50306         * setjmp/__longjmp.c: Likewise.
50307         * setjmp/setjmp.c: Likewise.
50308         * signal/kill.c: Likewise.
50309         * signal/killpg.c: Likewise.
50310         * signal/raise.c: Likewise.
50311         * signal/sigaction.c: Likewise.
50312         * signal/sigaltstack.c: Likewise.
50313         * signal/sigblock.c: Likewise.
50314         * signal/sigignore.c: Likewise.
50315         * signal/sigintr.c: Likewise.
50316         * signal/signal.c: Likewise.
50317         * signal/sigpause.c: Likewise.
50318         * signal/sigpending.c: Likewise.
50319         * signal/sigqueue.c: Likewise.
50320         * signal/sigreturn.c: Likewise.
50321         * signal/sigset.c: Likewise.
50322         * signal/sigsetmask.c: Likewise.
50323         * signal/sigstack.c: Likewise.
50324         * signal/sigsuspend.c: Likewise.
50325         * signal/sigtimedwait.c: Likewise.
50326         * signal/sigvec.c: Likewise.
50327         * signal/sigwait.c: Likewise.
50328         * signal/sigwaitinfo.c: Likewise.
50329         * signal/sysv_signal.c: Likewise.
50330         * socket/accept.c: Likewise.
50331         * socket/accept4.c: Likewise.
50332         * socket/bind.c: Likewise.
50333         * socket/connect.c: Likewise.
50334         * socket/getpeername.c: Likewise.
50335         * socket/getsockname.c: Likewise.
50336         * socket/getsockopt.c: Likewise.
50337         * socket/isfdtype.c: Likewise.
50338         * socket/listen.c: Likewise.
50339         * socket/recv.c: Likewise.
50340         * socket/recvfrom.c: Likewise.
50341         * socket/recvmsg.c: Likewise.
50342         * socket/send.c: Likewise.
50343         * socket/sendmsg.c: Likewise.
50344         * socket/sendto.c: Likewise.
50345         * socket/setsockopt.c: Likewise.
50346         * socket/shutdown.c: Likewise.
50347         * socket/sockatmark.c: Likewise.
50348         * socket/socket.c: Likewise.
50349         * socket/socketpair.c: Likewise.
50350         * stdio-common/ctermid.c: Likewise.
50351         * stdio-common/cuserid.c: Likewise.
50352         * stdio-common/remove.c: Likewise.
50353         * stdio-common/rename.c: Likewise.
50354         * stdio-common/renameat.c: Likewise.
50355         * stdio-common/tempname.c: Likewise.
50356         * stdlib/getcontext.c: Likewise.
50357         * stdlib/makecontext.c: Likewise.
50358         * stdlib/setcontext.c: Likewise.
50359         * stdlib/swapcontext.c: Likewise.
50360         * stdlib/system.c: Likewise.
50361         * streams/fattach.c: Likewise.
50362         * streams/fdetach.c: Likewise.
50363         * streams/getmsg.c: Likewise.
50364         * streams/getpmsg.c: Likewise.
50365         * streams/putmsg.c: Likewise.
50366         * streams/putpmsg.c: Likewise.
50367         * sysdeps/unix/bsd/getpt.c: Likewise.
50368         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
50369         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
50370         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50372         Likewise.
50373         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
50374         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50375         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
50376         * sysvipc/msgctl.c: Likewise.
50377         * sysvipc/msgget.c: Likewise.
50378         * sysvipc/msgrcv.c: Likewise.
50379         * sysvipc/msgsnd.c: Likewise.
50380         * sysvipc/semctl.c: Likewise.
50381         * sysvipc/semget.c: Likewise.
50382         * sysvipc/semop.c: Likewise.
50383         * sysvipc/semtimedop.c: Likewise.
50384         * sysvipc/shmat.c: Likewise.
50385         * sysvipc/shmctl.c: Likewise.
50386         * sysvipc/shmdt.c: Likewise.
50387         * sysvipc/shmget.c: Likewise.
50388         * termios/tcdrain.c: Likewise.
50389         * termios/tcflow.c: Likewise.
50390         * termios/tcflush.c: Likewise.
50391         * termios/tcgetattr.c: Likewise.
50392         * termios/tcgetpgrp.c: Likewise.
50393         * termios/tcsendbrk.c: Likewise.
50394         * termios/tcsetattr.c: Likewise.
50395         * termios/tcsetpgrp.c: Likewise.
50396         * time/adjtime.c: Likewise.
50397         * time/clock.c: Likewise.
50398         * time/getitimer.c: Likewise.
50399         * time/gettimeofday.c: Likewise.
50400         * time/setitimer.c: Likewise.
50401         * time/settimeofday.c: Likewise.
50402         * time/stime.c: Likewise.
50403         * time/time.c: Likewise.
50405 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
50407         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
50408         /usr/old/bin.
50410         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
50411         instead of spaces.
50412         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
50414 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
50416         [BZ #14796]
50417         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
50418         FE_TONEAREST before applying Dekker multiplication and Knuth
50419         addition.  Clear inexact exceptions and check for exact zero
50420         results afterwards.
50421         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50422         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50423         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50424         * math/libm-test.inc (fma_test): Add more tests.
50425         (fma_test_towardzero): Likewise.
50426         (fma_test_downward): Likewise.
50427         (fma_test_upward): Likewise.
50428         * sysdeps/generic/math_private.h (default_libc_fesetround): New
50429         function.
50430         (libc_fesetround): New macro.
50431         (libc_fesetroundf): Likewise.
50432         (libc_fesetroundl): Likewise.
50433         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
50434         function.
50435         (libc_fesetround_387): Likewise.
50436         (libc_fesetroundf): New macro.
50437         (libc_fesetround): Likewise.
50438         (libc_fesetroundl): Likewise.
50439         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
50440         function.
50441         (libc_fesetroundf): New macro.
50442         (libc_fesetround): Likewise.
50443         (libc_fesetroundl): Likewise.
50444         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
50445         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
50446         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
50447         libm_hidden_ver.
50448         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
50449         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
50450         libm_hidden_def.
50451         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
50452         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
50453         libm_hidden_ver.
50454         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
50455         libm_hidden_def.
50457         [BZ #3439]
50458         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
50459         integer constant usable in #if and use that to give value to enum
50460         constant.
50461         (FE_DIVBYZERO): Likewise.
50462         (FE_UNDERFLOW): Likewise.
50463         (FE_OVERFLOW): Likewise.
50464         (FE_INVALID): Likewise.
50465         (FE_INVALID_SNAN): Likewise.
50466         (FE_INVALID_ISI): Likewise.
50467         (FE_INVALID_IDI): Likewise.
50468         (FE_INVALID_ZDZ): Likewise.
50469         (FE_INVALID_IMZ): Likewise.
50470         (FE_INVALID_COMPARE): Likewise.
50471         (FE_INVALID_SOFTWARE): Likewise.
50472         (FE_INVALID_SQRT): Likewise.
50473         (FE_INVALID_INTEGER_CONVERSION): Likewise.
50474         (FE_TONEAREST): Likewise.
50475         (FE_TOWARDZERO): Likewise.
50476         (FE_UPWARD): Likewise.
50477         (FE_DOWNWARD): Likewise.
50478         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
50479         (FE_DIVBYZERO): Likewise.
50480         (FE_OVERFLOW): Likewise.
50481         (FE_UNDERFLOW): Likewise.
50482         (FE_INEXACT): Likewise.
50483         (FE_TONEAREST): Likewise.
50484         (FE_DOWNWARD): Likewise.
50485         (FE_UPWARD): Likewise.
50486         (FE_TOWARDZERO): Likewise.
50487         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
50488         (FE_UNDERFLOW): Likewise.
50489         (FE_OVERFLOW): Likewise.
50490         (FE_DIVBYZERO): Likewise.
50491         (FE_INVALID): Likewise.
50492         (FE_TONEAREST): Likewise.
50493         (FE_TOWARDZERO): Likewise.
50494         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
50495         (FE_OVERFLOW): Likewise.
50496         (FE_UNDERFLOW): Likewise.
50497         (FE_DIVBYZERO): Likewise.
50498         (FE_INEXACT): Likewise.
50499         (FE_TONEAREST): Likewise.
50500         (FE_TOWARDZERO): Likewise.
50501         (FE_UPWARD): Likewise.
50502         (FE_DOWNWARD): Likewise.
50503         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
50504         (FE_DIVBYZERO): Likewise.
50505         (FE_OVERFLOW): Likewise.
50506         (FE_UNDERFLOW): Likewise.
50507         (FE_INEXACT): Likewise.
50508         (FE_TONEAREST): Likewise.
50509         (FE_DOWNWARD): Likewise.
50510         (FE_UPWARD): Likewise.
50511         (FE_TOWARDZERO): Likewise.
50513 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
50515         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
50517 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
50519         * scripts/cross-test-ssh.sh (command): Use newlines to separate
50520         commands.  Quote $PWD.
50521         (blacklist_exports): Don't use remove_newlines.  Replace "declare
50522         -x" by "export".
50523         (remove_newlines): Remove.
50525 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
50527         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
50528         * stdlib/stdlib.h (atof): Moved to ...
50529         * include/bits/stdlib-float.h: Here.  New file.
50530         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
50531         * stdlib/bits/stdlib-float.h: New file.
50532         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
50533         -mno-sse -mno-mmx.
50534         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
50535         <xmmintrin.h>.
50537 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
50539         * conform/conformtest.pl (@headers): Add fenv.h.
50540         * conform/data/fenv.h-data: New file.
50541         * include/fenv.h [_ISOMAC]: Disable all contents of file except
50542         include of <math/fenv.h>.
50544         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
50545         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
50546         && !UNIX98].  Enables tests for XOPEN2K8.
50547         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
50548         POSIX2008]: Likewise.
50550         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
50551         (struct rusage): Do not expect type or its members.
50553         [BZ #3439]
50554         * math/math.h (FP_NAN): Define macro to integer constant usable in
50555         #if and use that to give value to enum constant.
50556         (FP_INFINITE): Likewise.
50557         (FP_ZERO): Likewise.
50558         (FP_SUBNORMAL): Likewise.
50559         (FP_NORMAL): Likewise.
50561 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
50563         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
50564         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
50565         arguments.
50567 2012-11-02  Roland McGrath  <roland@hack.frob.com>
50569         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
50570         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
50571         autoconf-time if not.
50572         * configure.in: Remove AC_PREREQ.
50574 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50576         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
50577         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
50578         of the internal implementation.
50580 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
50582         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
50583         except include of <misc/sys/syslog.h>.
50585 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
50588         function returns with a NULL context exit with zero.
50590 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50592         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
50594 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
50596         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
50597         (run_program_cmd): This.
50598         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
50599         (tst_langinfo): New variable.  Use it.
50601 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
50603         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
50604         floating point opcodes.
50606 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50608         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
50609         variable.
50611         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
50613         * sysdeps/mach/hurd/powerpc: Remove directory.
50614         * sysdeps/mach/powerpc: Likewise.
50616 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50618         * scripts/check-local-headers.sh: Ignore c++ headers.
50620 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50622         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
50623         __libc_cleanup_region_start argument.
50625 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
50627         [BZ #14784]
50628         [BZ #14785]
50629         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
50630         x * y using scaling, not as x * y + z.
50631         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50632         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50633         * math/libm-test.inc (fma_test): Add more tests.
50634         (fma_test_towardzero): Likewise.
50635         (fma_test_downward): Likewise.
50636         (fma_test_upward): Likewise.
50638 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50640         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
50642 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
50644         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
50645         New variable.
50647 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
50649         * rt/tst-shm.c (worker): Correct checking for mmap failure.
50651 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
50653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50654         Fix sort order.
50655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50656         Likewise.
50658 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50661         Fix the order of the list for glibc 2.17.
50662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50663         Likewise.
50665 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
50667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50669 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
50671         [BZ #14610]
50672         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
50673         for low part of x being zero before using __atanl (y).
50674         * math/libm-test.inc (atan2_test): Add another test.
50676         * manual/install.texi (Configuring and compiling): Document
50677         general use of test-wrapper and test-wrapper-env.
50678         * INSTALL: Regenerated.
50680         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
50681         (__fma): Do not extract and scale down low bits on after-rounding
50682         systems when result rounded to normal precision would have normal
50683         exponent.
50684         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
50685         (__fmal): Do not extract and scale down low bits on after-rounding
50686         systems when result rounded to normal precision would have normal
50687         exponent.
50688         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
50689         (__fmal): Do not extract and scale down low bits on after-rounding
50690         systems when result rounded to normal precision would have normal
50691         exponent.
50692         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
50693         macro.
50694         (fma_test): Add more tests.
50695         (fma_test_towardzero): Likewise.
50696         (fma_test_downward): Likewise.
50697         (fma_test_upward): Likewise.
50699 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
50701         * sysdeps/i386/tininess.h: Renamed to ...
50702         * sysdeps/x86/tininess.h: This.
50703         * sysdeps/x86_64/tininess.h: Removed.
50705 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
50707         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
50708         input.  Use $(build-program-cmd).
50709         ($(objpfx)tst-array1-static.out): Likewise.
50710         ($(objpfx)tst-array2.out): Likewise.
50711         ($(objpfx)tst-array3.out): Likewise.
50712         ($(objpfx)tst-array4.out): Likewise.
50713         ($(objpfx)tst-array5.out): Likewise.
50714         ($(objpfx)tst-array5-static.out): Likewise.
50716 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
50718         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
50719         if defined.
50721         * nss/nsswitch.h (nss_interface_function): Provide new
50722         macro for use with NSS functions.
50723         * grp/initgroups.c: Use new macro.
50724         * nss/getXXbyYY.c: Likewise.
50725         * nss/getXXbyYY_r.c: Likewise.
50726         * nss/getXXent.c: Likewise.
50727         * nss/getXXent_r.c: Likewise.
50728         * sysdeps/posix/getaddrinfo.c: Likewise.
50730 2012-10-30  Andreas Jaeger  <aj@suse.de>
50732         * po/ru.po: Update Russion translation from translation project.
50734 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
50736         [BZ #14152]
50737         [BZ #14783]
50738         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
50739         result and shift together with sticky bit instead of replicating
50740         round-to-nearest rounding.
50741         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50742         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50743         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
50744         missing underflow exceptions.
50745         (fma_test_towardzero): Add more tests.
50746         (fma_test_downward): Likewise.
50747         (fma_test_upward): Likewise.
50749         [BZ #14047]
50750         * sysdeps/generic/tininess.h: New file.
50751         * sysdeps/i386/tininess.h: Likewise.
50752         * sysdeps/sh/tininess.h: Likewise.
50753         * sysdeps/x86_64/tininess.h: Likewise.
50754         * stdlib/tst-strtod-underflow.c: Likewise.
50755         * stdlib/tst-tininess.c: Likewise.
50756         * stdlib/strtod_l.c: Include <tininess.h>.
50757         (round_and_return): Do not set errno for exact underflow cases.
50758         Force an underflow exception when setting errno for underflow.
50759         Determine underflow based on rounding to normal precision if
50760         TININESS_AFTER_ROUNDING.
50761         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
50762         ERANGE for exact underflow cases.
50763         * stdlib/Makefile (tests): Add tst-tininess and
50764         tst-strtod-underflow.
50765         ($(objpfx)tst-tininess): Use $(link-libm).
50766         ($(objpfx)tst-strtod-underflow): Likewise.
50768 2012-10-30  Andreas Jaeger  <aj@suse.de>
50770         [BZ#14767]
50771         * elf/Makefile (tests): Remove conditional for have-initfini-array
50772         since this is now always required and the variable does not exist
50773         anymore.
50774         (tests-static): Likewise.
50775         (modules-names): Likewise.
50777         * po/eo.po: Add Esperanto translation from translation project.
50779         * elf/tst-array1.c (fini_array): Make writeable so that it can be
50780         merged with constructor/destructor.
50781         (init_array): Likewise.
50782         * elf/tst-array2dep.c (fini_array): Likewise.
50783         (init_array): Likewise.
50785 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
50787         * manual/message.texi: Delete @cartouche tags.
50789 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
50791         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
50792         EOPNOTSUPP.
50793         * sysdeps/mach/hurd/fsync.c: Likewise.
50795         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
50796         [_POSIX_REALTIME_SIGNALS]: Change condition to
50797         [_POSIX_REALTIME_SIGNALS > 0].
50799 2012-10-27  Andreas Jaeger  <aj@suse.de>
50801         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
50802         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
50803         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
50804         [__WORDSIZE != 64]: Likewise.
50806 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
50808         *  iconvdata/tst-table.sh: Remove ${SHELL}.
50809         *  iconvdata/tst-tables.sh: Likewise.
50811 2012-10-25  David S. Miller  <davem@davemloft.net>
50813         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50814         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
50815         of strtoull.
50817         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
50818         ifunc-impl-list.c
50819         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50820         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
50821         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
50822         file.
50824 2012-10-25  Roland McGrath  <roland@hack.frob.com>
50826         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50827         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
50828         __getdirentries.
50830 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
50831             Jim Blandy  <jimb@codesourcery.com>
50833         * scripts/cross-test-ssh.sh: New file.
50834         * manual/install.texi (Configuring and compiling): Document use of
50835         cross-test-ssh.sh.
50836         * INSTALL: Regenerated.
50838 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
50840         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
50841         EOPNOTSUPP.
50843 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
50845         * Makeconfig (run-program-prefix): Fix comment.
50847 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
50848             Jim Blandy  <jimb@codesourcery.com>
50850         * Makeconfig (test-wrapper): New variable,
50851         (test-wrapper-env): Likewise.
50852         [$(cross-compiling) = yes && $(test-wrapper) != ""]
50853         (run-built-tests): Define to yes.
50854         (run-program-prefix): Use $(test-wrapper).
50855         (built-program-cmd): Likewise.
50856         * Rules (make-test-out): Use $(test-wrapper-env) and
50857         $(host-built-program-cmd).
50858         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
50859         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
50860         tst-pathopt.sh.
50861         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
50862         $(test-wrapper-env) to tst-rtld-load-self.sh.
50863         ($(objpfx)order2.out): Use $(test-wrapper).
50864         ($(objpfx)tst-initorder.out): Likewise.
50865         ($(objpfx)tst-initorder2.out): Likewise.
50866         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
50867         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
50868         (test_wrapper_env): New variable.  Use it to run ld.so.
50869         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
50870         Use it to run ld.so.
50871         (test_wrapper_env): Likewise.
50872         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
50873         $(test-wrapper) to run-iconv-test.sh.
50874         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
50875         (ICONV): Use $test_wrapper.
50876         * posix/Makefile ($(objpfx)globtest.out): Pass
50877         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
50878         globtest.sh, not $(run-program-prefix).
50879         * posix/globtest.sh (run_via_rtld_prefix): New variable.
50880         (test_wrapper): Likewise.
50881         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
50882         set together with run_via_rtld_prefix.
50883         (run_program_prefix): Define in terms of test_wrapper and
50884         run_via_rtld_prefix.
50886 2012-10-24  Roland McGrath  <roland@hack.frob.com>
50888         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
50889         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
50890         Targets removed.
50892         [BZ #14743]
50893         * include/time.h: Remove librt_hidden_proto (clock_gettime).
50894         Declare __clock_getres, __clock_gettime, __clock_settime,
50895         __clock_nanosleep, and __clock_getcpuclockid.
50896         * rt/clock_gettime.c: Define __clock_gettime as an alias.
50897         Remove librt_hidden_def (clock_gettime).
50898         * sysdeps/unix/clock_gettime.c: Likewise.
50899         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
50900         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
50901         * rt/clock_getres.c: Define __clock_getres as an alias.
50902         * sysdeps/posix/clock_getres.c: Likewise.
50903         * rt/clock_settime.c: Define __clock_settime as an alias.
50904         * sysdeps/unix/clock_settime.c: Likewise.
50905         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
50906         * sysdeps/unix/clock_nanosleep.c: Likewise.
50907         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
50908         * rt/clock-compat.c: New file.
50909         * rt/Makefile (librt-routines): Add clock-compat and move
50910         $(clock-routines) to ...
50911         (routines): ... here, new variable.
50912         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
50913         Don't add get_clockfreq here.
50914         * rt/Versions (libc: GLIBC_2.17): New version set.
50915         Add clock_* symbols here.
50916         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
50917         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
50918         (GLIBC_2.17): Add clock_* symbols.
50919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
50920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
50921         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50923         Likewise.
50924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50925         Likewise.
50926         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
50928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
50929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
50930         * NEWS: Mention the move.
50932         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
50933         Use __open, __read, __close rather than their public counterparts.
50934         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50935         (__get_clockfreq_via_cpuinfo): Likewise.
50936         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
50937         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
50939         * config.h.in (HAVE_IFUNC): New #undef.
50940         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
50941         was successful.
50942         * configure: Regenerated.
50944 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
50946         * configure.in: Move READELF check to start of file.
50947         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
50948         libc_cv_asm_gnu_indirect_function in the process.
50949         * configure: Regenerated.
50951 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
50953         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
50954         send the output to /dev/null.
50955         (libc_cv_cc_with_libunwind): Likewise.
50956         (libc_cv_as_noexecstack): Likewise.
50957         * configure: Regenerate.
50959 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
50961         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
50963         * posix/globtest.sh (TMPDIR): Do not set.
50964         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
50965         (testout): Likewise.
50967 2012-10-24  Andreas Jaeger  <aj@suse.de>
50969         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
50970         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
50971         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
50972         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
50973         posix_fadvise64, posix_fallocate64.
50975         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
50976         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
50977         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
50978         Likewise.
50979         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
50980         Likewise.
50981         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
50983         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
50984         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
50985         <bits/fcntl-linux.h>.
50986         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
50988         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
50989         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
50990         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
50991         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
50992         [__WORDSIZE != 64]: Likewise.
50994 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
50996         * Makeconfig (run-built-tests): New variable.
50997         * Rules [$(cross-compiling) = yes]: Change condition to
50998         [$(run-built-tests) = no].
50999         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
51000         to [$(run-built-tests) = yes].
51001         * elf/Makefile [$(cross-compiling) = no]: Likewise
51002         * grp/Makefile [$(cross-compiling) = no]: Likewise.
51003         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
51004         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
51005         * intl/Makefile [$(cross-compiling) = no]: Likewise.
51006         * io/Makefile [$(cross-compiling) = no]: Likewise.
51007         * libio/Makefile [$(cross-compiling) = no]: Likewise.
51008         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
51009         * misc/Makefile [$(cross-compiling) = no]: Likewise.
51010         * posix/Makefile [$(cross-compiling) = no]: Likewise.
51011         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
51012         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
51013         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
51014         * string/Makefile [$(cross-compiling) = no]: Likewise.
51016         * posix/Makefile ($(objpfx)globtest.out): Pass
51017         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
51018         $(rtld-installed-name).
51019         * posix/globtest.sh (elf_objpfx): Remove variable.
51020         (rtld_installed_name): Likewise.
51021         (library_path): Likewise.
51022         (run_program_prefix): New variable.  Use for running globtest
51023         binary.
51025 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
51026             Joseph Myers  <joseph@codesourcery.com>
51028         * Makeconfig (host-built-program-cmd): New variable.
51029         * elf/Makefile (tst-stackguard1-ARGS): Use
51030         $(host-built-program-cmd).
51031         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
51032         (tst-spawn-ARGS): Likewise.
51033         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
51035 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
51036             Jim Blandy  <jimb@codesourcery.com>
51038         * Makeconfig (run-via-rtld-prefix): New variable.
51039         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
51040         (built-program-cmd): Likewise.
51042 2012-10-22  Andreas Jaeger  <aj@suse.de>
51044         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
51045         __O_RSYNC if it exists, otherwise to O_SYNC.
51047 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
51048             Joseph Myers  <joseph@codesourcery.com>
51050         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
51051         /dev/null.
51052         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
51053         from /dev/null
51054         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
51055         /dev/null.
51057 2012-10-22  Andreas Jaeger  <aj@suse.de>
51059         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
51060         Define always.
51061         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
51063         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51064         bits/fcntl-linux.h.
51066         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
51067         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
51069         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
51070         to __O_LARGEFILE.
51071         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
51072         to __O_LARGEFILE.
51074 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
51075             Joseph Myers  <joseph@codesourcery.com>
51077         * config.make.in (NM): New variable.
51079 2012-10-21  Andreas Jaeger  <aj@suse.de>
51081         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
51082         definitions and declarations that are provided by
51083         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51085 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51087         [BZ #14683]
51088         * elf/Makefile (tests-static): Add tst-leaks1-static.
51089         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
51090         ($(objpfx)tst-leaks1-static): New rule.
51091         ($(objpfx)tst-leaks1-static-mem): Likewise.
51092         (tst-leaks1-static-ENV): New macro.
51093         * elf/dl-open.c (dl_open_worker): Check the main application
51094         only if SHARED is defined.
51095         * elf/tst-leaks1-static.c: New file.
51097 2012-10-20  Andreas Jaeger  <aj@suse.de>
51099         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
51100         generic values for Linux.
51101         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
51102         and declarations that are provided by <bits/fcntl-linux.h> and
51103         include <bits/fcntl-linux.h>.
51104         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51105         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51107 2012-10-20  Roland McGrath  <roland@hack.frob.com>
51109         * io/fcntl.h: Move include of <bits/types.h> to the top and
51110         include it unconditionally.
51112 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51114         * wcsmbs/Makefile (tests-ifunc): New variable.
51115         (tests): Add $(tests-ifunc).
51116         * wcsmbs/test-wcschr-ifunc.c: New file.
51117         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
51118         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
51119         * wcsmbs/test-wcslen-ifunc.c: Likewise.
51120         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
51121         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
51123         * string/Makefile (tests-ifunc): New variable.
51124         (tests): Add $(tests-ifunc).
51125         * string/test-memccpy.c (TEST_NAME): New macro.
51126         * string/test-memchr.c (TEST_NAME): Likewise.
51127         * string/test-memcmp.c (TEST_NAME): Likewise.
51128         * string/test-memcpy.c (TEST_NAME): Likewise.
51129         * string/test-memmem.c (TEST_NAME): Likewise.
51130         * string/test-memmove.c (TEST_NAME): Likewise.
51131         * string/test-memset.c (TEST_NAME): Likewise.
51132         * string/test-rawmemchr.c (TEST_NAME): Likewise.
51133         * string/test-stpcpy.c (TEST_NAME): Likewise.
51134         * string/test-stpncpy.c (TEST_NAME): Likewise.
51135         * string/test-strcasecmp.c (TEST_NAME): Likewise.
51136         * string/test-strcasestr.c (TEST_NAME): Likewise.
51137         * string/test-strcat.c (TEST_NAME): Likewise.
51138         * string/test-strchr.c (TEST_NAME): Likewise.
51139         * string/test-strcmp.c(TEST_NAME): Likewise.
51140         * string/test-strcpy.c (TEST_NAME): Likewise.
51141         * string/test-strcspn.c (TEST_NAME): Likewise.
51142         * string/test-strlen.c (TEST_NAME): Likewise.
51143         * string/test-strncasecmp.c (TEST_NAME): Likewise.
51144         * string/test-strncmp.c (TEST_NAME): Likewise.
51145         * string/test-strncpy.c (TEST_NAME): Likewise.
51146         * string/test-strnlen.c (TEST_NAME): Likewise.
51147         * string/test-strpbrk.c (TEST_NAME): Likewise.
51148         * string/test-strrchr.c (TEST_NAME): Likewise.
51149         * string/test-strspn.c (TEST_NAME): Likewise.
51150         * string/test-strstr.c (TEST_NAME): Likewise.
51151         * string/test-bcopy-ifunc.c: New file.
51152         * string/test-bzero-ifunc.c: Likewise.
51153         * string/test-memccpy-ifunc.c: Likewise.
51154         * string/test-memchr-ifunc.c: Likewise.
51155         * string/test-memcmp-ifunc.c: Likewise.
51156         * string/test-memcpy-ifunc.c: Likewise.
51157         * string/test-memmem-ifunc.c: Likewise.
51158         * string/test-memmove-ifunc.c: Likewise.
51159         * string/test-mempcpy-ifunc.c: Likewise.
51160         * string/test-memset-ifunc.c: Likewise.
51161         * string/test-rawmemchr-ifunc.c: Likewise.
51162         * string/test-stpcpy-ifunc.c: Likewise.
51163         * string/test-stpncpy-ifunc.c: Likewise.
51164         * string/test-strcasecmp-ifunc.c: Likewise.
51165         * string/test-strcasestr-ifunc.c: Likewise.
51166         * string/test-strcat-ifunc.c: Likewise.
51167         * string/test-strchr-ifunc.c: Likewise.
51168         * string/test-strchrnul-ifunc.c: Likewise.
51169         * string/test-strcmp-ifunc.c: Likewise.
51170         * string/test-strcpy-ifunc.c: Likewise.
51171         * string/test-strcspn-ifunc.c: Likewise.
51172         * string/test-strlen-ifunc.c: Likewise.
51173         * string/test-strncasecmp-ifunc.c: Likewise.
51174         * string/test-strncat-ifunc.c: Likewise.
51175         * string/test-strncmp-ifunc.c: Likewise.
51176         * string/test-strncpy-ifunc.c: Likewise.
51177         * string/test-strnlen-ifunc.c: Likewise.
51178         * string/test-strpbrk-ifunc.c: Likewise.
51179         * string/test-strrchr-ifunc.c: Likewise.
51180         * string/test-strspn-ifunc.c: Likewise.
51181         * string/test-strstr-ifunc.c: Likewise.
51183         * debug/Makefile (tests-ifunc): New variable.
51184         (tests): Add $(tests-ifunc).
51185         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
51186         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
51187         * debug/test-stpcpy_chk-ifunc.c: New file.
51188         * debug/test-strcpy_chk-ifunc.c: Likewise.
51190 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51192         [BZ #13601]
51193         * elf/dl-load.c (open_verify): Retry read if the entire ELF
51194         header is not read in.
51196 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
51198         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
51199         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
51200         directly.  Pass built executable to script as
51201         $(built-program-cmd).
51202         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
51203         $testprogram without using LD_LIBRARY_PATH and $ldso.
51205         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
51206         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
51207         $(rtld-installed-name).
51208         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
51209         (rtld_installed_name): Likewise.
51210         (library_path): Likewise.
51211         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
51212         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
51213         $(run-program-prefix) to tst-tables.sh.
51214         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
51215         it to run tst-table-from and tst-table-to.
51216         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
51217         Pass it to tst-table.sh.
51218         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
51219         $(run-program-prefix) to tst-gettext.sh.
51220         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
51221         tst-translit.sh.
51222         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
51223         tst-gettext2.sh.
51224         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
51225         to run tst-gettext.
51226         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
51227         to run tst-gettext2.
51228         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
51229         to run tst-translit.
51230         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
51231         $(run-program-prefix) to tst-mtrace.sh.
51232         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
51233         to run tst-mtrace.
51234         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
51235         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
51236         $(rtld-installed-name).
51237         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
51238         (rtld_installed_name): Likewise.
51239         (run_program_prefix): New variable.  Use it to run wordexp-test.
51241         * Makeconfig (ARCH): Remove all definitions.
51242         (machine): Likewise.
51243         [ARCH]: Remove conditional code.
51244         [!objdir]: Give error.
51245         [!objdir] (objpfx): Remove.
51246         [!objdir] (common-objpfx): Likewise.
51247         [!objdir] (common-objdir): Likewise.
51248         * configure.in (config_makefile): Remove.  Hardcode Makefile in
51249         AC_CONFIG_FILES call.
51250         * configure: Regenerated.
51252         [BZ #13888]
51253         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
51254         or TMPDIR.
51255         (testout): Likewise.
51257         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
51258         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
51259         $(rtld-installed-name).
51260         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
51261         (rtld_installed_name): Likwise.
51262         (runit): Remove function.
51263         (run_getconf): New variable,  Use it for running getconf binary.
51265 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
51267         [BZ #14716]
51268         * string/test-memmem.c (check_result): New function.
51269         (do_one_test): Use it.
51270         (check1): New function.
51271         (test_main): Use it.
51273 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
51275         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
51277 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
51279         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
51280         (_G_LSEEK64): Likewise.
51281         (_G_MMAP64): Likewise.
51282         (_G_FSTAT64): Likewise.
51283         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
51284         (_G_LSEEK64): Likewise.
51285         (_G_MMAP64): Likewise.
51286         (_G_FSTAT64): Likewise.
51287         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
51288         unconditional.  Call __mmap64 directly.
51289         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
51290         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
51291         __lseek64 directly.
51292         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
51293         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
51294         __mmap64 directly.
51295         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
51296         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
51297         __lseek64 directly.
51298         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
51299         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
51300         __lseek64 directly.
51301         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
51302         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
51303         __lseek64 directly.
51304         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
51305         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
51306         __fxstat64 directly.
51307         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
51308         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
51309         unconditional.
51310         (freopen64) [!_G_OPEN64]: Remove conditional code.
51311         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
51312         unconditional.
51313         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
51314         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
51315         unconditional.
51316         (ftello64) [!_G_LSEEK64]: Remove conditional code.
51317         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
51318         unconditional.
51319         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51320         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
51321         unconditional.
51322         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
51323         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
51324         unconditional.
51325         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51326         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
51327         unconditional.
51328         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51329         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
51330         unconditional.
51331         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51333 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51335         [BZ #12140]
51336         * manual/memory.texi (Malloc Tunable Parameters): Add note
51337         about free list pointers overwriting some perturb bytes.
51338         Wording suggested by Roland McGrath.
51340 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
51342         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
51343         (lgamma_test): Likewise.
51344         (tgamma_test): Likewise.
51346 2012-10-16  Florian Weimer  <fweimer@redhat.com>
51348         [BZ #14700]
51349         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
51350         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
51352 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
51354         * NEWS: Mention BZ #14716.
51355         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
51356         when removing AVAILABLE1_USES_J macro.
51358 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
51360         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
51361         (__bswap_64): __uint64_t for unsigned 64-bit int.
51363 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
51365         * include/string.h (memmem): Declare libc hidden alias.
51366         * string/memmem.c (memmem): Define libc hidden alias.
51367         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
51368         __read, __close instead of open, read, close.
51370 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
51372         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
51373         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
51374         global and hidden.
51375         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
51376         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
51377         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
51378         Likewise.
51379         (__rawmemchr_sse2): Likewise.
51380         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
51381         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
51382         (__strchr_sse2): Likewise.
51383         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
51384         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
51385         (__strcasecmp_sse2): Likewise.
51386         (__strncasecmp_sse2): Likewise.
51387         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
51388         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
51389         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
51390         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
51391         (__strrchr_sse2): Likewise.
51392         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
51393         ifunc-impl-list.c.
51394         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
51395         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
51396         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
51397         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51398         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
51399         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
51400         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51401         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51402         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
51403         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
51404         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
51405         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
51406         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
51407         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
51408         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
51409         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51410         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
51411         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
51412         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
51413         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
51414         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
51415         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
51416         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
51417         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51418         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
51419         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51420         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
51421         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
51422         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
51423         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
51425         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
51426         global and hidden.
51427         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
51428         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
51429         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
51430         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
51431         Likewise.
51432         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
51433         Likewise.
51434         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
51435         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
51436         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
51437         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
51438         ifunc-impl-list.c.
51439         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51440         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51441         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51442         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51443         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51444         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51445         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51446         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51447         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51448         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51449         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51450         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51451         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51452         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
51453         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
51454         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51455         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
51456         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
51457         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51458         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51459         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51460         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51461         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51462         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51463         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51464         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
51465         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
51466         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
51467         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
51468         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51469         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
51470         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51471         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51472         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
51473         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51474         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51475         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51476         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51477         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51478         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51479         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
51481         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
51482         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
51483         * include/ifunc-impl-list.h: New file.
51484         * misc/ifunc-impl-list.c: Likewise.
51485         * misc/Makefile (routines): Add ifunc-impl-list.
51486         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
51487         * string/test-string.h: Include <ifunc-impl-list.h>.
51488         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
51489         TEST_NAME]: New variables.
51490         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
51491         are defined.
51492         (test_init): Call __libc_ifunc_impl_list to initialize
51493         func_list if TEST_IFUNC and TEST_NAME are defined.
51495         * string/Makefile (strop-tests): Add bcopy and bzero.
51496         * string/test-bcopy.c: New file.
51497         * string/test-bzero.c: Likewise.
51498         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
51499         defined.
51500         * string/test-memset.c: Support bzero test if TEST_BZERO is
51501         defined.
51502         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
51503         __libc_memmove.
51504         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
51505         __libc_memset.
51506         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
51507         of memset.
51509 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
51511         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
51512         * configure: Regenerated.
51514         * Makeconfig (+link-static-before-libc): Don't include
51515         $(link-static-libc).
51517         * libio/libio.h (_IO_pos_t): Remove.
51519 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51521         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
51522         McGrath.
51524 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51526         * crypt/crypt-entry.c: Include fips-private.h.
51527         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
51528         * crypt/md5c-test.c (main): Tolerate disabled MD5.
51529         * sysdeps/unix/sysv/linux/fips-private.h: New file.
51530         * sysdeps/generic/fips-private.h: New file, dummy fallback.
51532 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51534         * crypt/crypt-private.h: Include stdbool.h.
51535         (_ufc_setup_salt_r): Return bool.
51536         * crypt/crypt-entry.c: Include errno.h.
51537         (__crypt_r): Return NULL with EINVAL for bad salt.
51538         * crypt/crypt_util.c (bad_for_salt): New.
51539         (_ufc_setup_salt_r): Check that salt is long enough and within
51540         the specified alphabet.
51541         * crypt/badsalttest.c: New file.
51542         * crypt/Makefile (tests): Add it.
51543         ($(objpfx)badsalttest): New.
51545 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
51547         * NEWS: Add entry for BZ #14602.
51549 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
51551         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
51552         type-generic.
51553         * math/libm-test.inc: Update comment listing what functions and
51554         macros are tested.
51555         (isgreater_test): New function.
51556         (isgreaterequal_test): Likewise.
51557         (isless_test): Likewise.
51558         (islessequal_test): Likewise.
51559         (islessgreater_test): Likewise.
51560         (isunordered_test): Likewise.
51561         (main): Call the new functions.
51563 2012-10-09  Roland McGrath  <roland@hack.frob.com>
51565         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
51566         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
51567         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
51568         * sysdeps/i386/configure: Regenerated.
51569         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
51570         * sysdeps/mach/configure: Regenerated.
51571         * sysdeps/mach/hurd/configure: Regenerated.
51572         * sysdeps/powerpc/configure: Regenerated.
51573         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51574         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51575         * sysdeps/s390/s390-32/configure: Regenerated.
51576         * sysdeps/s390/s390-64/configure: Regenerated.
51577         * sysdeps/sh/configure: Regenerated.
51578         * sysdeps/sparc/configure: Regenerated.
51579         * sysdeps/unix/sysv/linux/configure: Regenerated.
51580         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
51581         * sysdeps/x86_64/configure: Regenerated.
51583         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
51584         defined.  Don't check if MAP is NULL.
51586 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
51588         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
51589         (_G_stat64): Likewise.
51590         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
51591         (_G_stat64): Likewise.
51592         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
51593         instead of struct _G_stat64.
51594         * libio/fileops.c (mmap_remap_check): Likewise.
51595         (decide_maybe_mmap): Likewise.
51596         (_IO_new_file_seekoff): Likewise.
51597         (_IO_file_stat): Likewise.
51598         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
51599         _G_off64_t.
51600         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
51601         instead of struct _G_stat64.
51602         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51604 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
51606         [BZ #14602]
51607         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51608         Replace with ...
51609         (CHECK_EOL): New macro.
51610         (two_way_short_needle): Check beginning of haystack for EOL.  Use
51611         CHECK_EOL.
51612         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51613         Replace with CHECK_EOL.
51614         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51615         Replace with CHECK_EOL.
51617 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
51619         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
51620         type-generic.
51621         * math/libm-test.inc: Update comment listing what functions and
51622         macros are tested.
51623         (finite_test): New function.
51624         (isinf_test): Likewise.
51625         (isnan_test): Likewise.
51626         (fpclassify_test): Test subnormal input.
51627         (isfinite_test): Likewise.
51628         (isnormal_test): Likewise.
51629         (main): Call the new functions.
51631 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
51633         [BZ #14660]
51634         * Makerules (%.dynsym): Force C locale when running
51635         $(OBJDUMP) --dynamic-syms.
51637 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
51639         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
51640         <stdint.h>.
51642 2012-10-06  David S. Miller  <davem@davemloft.net>
51644         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
51645         upper 32-bits of the length value in %o2 since we use branch-on-register
51646         tests which consider the entire 64-bit register.
51648 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
51650         * string/test-strstr.c (check2): Add a test for page boundary.
51652 2012-10-05  David S. Miller  <davem@davemloft.net>
51654         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
51655         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
51656         file.
51657         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
51658         sysdep_routines.
51659         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
51660         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
51661         and bzero when HWCAP_SPARC_CRYPTO is present.
51663 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
51665         [BZ #14602]
51666         * string/test-strstr.c (check2): New function.
51667         (test_main): Call check2.
51669         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
51670         and bug-strchr1.
51671         * string/bug-strcasestr1.c (do_test): Moved to ...
51672         * string/test-strcasestr.c (check1): Here.  New function.
51673         (do_one_test): Break out result checking code into ...
51674         (check_result): This.  New function.
51675         (do_one_test): Call check_result.
51676         (test_main): Call check1.
51677         * string/bug-strchr1.c (do_test): Moved to ...
51678         * string/test-strchr.c (check1): Here.  New function.
51679         (do_one_test): Break out result checking code into ...
51680         (check_result): This.  New function.
51681         (do_one_test): Call check_result.
51682         (test_main): Call check1.
51683         * string/bug-strstr1.c (main): Moved to ...
51684         * string/test-strstr.c (check1): Here.  New function.
51685         (do_one_test): Break out result checking code into ...
51686         (check_result): This.  New function.
51687         (do_one_test): Call check_result.
51688         (test_main): Call check1.
51689         * string/bug-strcasestr1.c: Removed.
51690         * string/bug-strchr1.c: Likewise.
51691         * string/bug-strstr1.c: Likewise.
51693         * elf/Makefile (dl-routines): Add hwcaps.
51694         * elf/dl-support.c (_dl_important_hwcaps): Removed.
51695         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
51696         (_dl_important_hwcaps): Moved to ...
51697         * elf/dl-hwcaps.c: Here.  New file.
51698         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
51700         [BZ #14557]
51701         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
51702         if IS_IN_rtld isn't defined.
51704         * elf/dl-support.c (_dl_sysinfo_map): New.
51705         Include "get-dynamic-info.h" and "setup-vdso.h".
51706         (_dl_non_dynamic_init): Call setup_vdso.
51707         * elf/dynamic-link.h: Don't include <assert.h>.
51708         (elf_get_dynamic_info): Moved to ...
51709         * elf/get-dynamic-info.h: Here.  New file.
51710         * elf/dynamic-link.h: Include "get-dynamic-info.h".
51711         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
51712         * elf/setup-vdso.h: Here.  New file.
51713         * elf/rtld.c: Include "setup-vdso.h".
51714         (dl_main): Call setup_vdso.
51716 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
51718         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
51719         creal in comment listing functions tested.  List finite, isinf,
51720         isnan, isless, islessequal, isgreater, isgreaterequal,
51721         islessgreater, isunordered, lgamma_r and pow10 as functions and
51722         macros not tested.  Mention which functions not tested are aliases
51723         for other functions.  Fix typo.  Note that signs of NaNs are not
51724         tested.
51726         * scripts/config.guess: Update from config.git.
51727         * scripts/config.sub: Likewise.
51729 2012-10-04  Roland McGrath  <roland@hack.frob.com>
51731         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
51732         * misc/madvise.c (madvise): Renamed to __madvise.
51733         Make madvise a weak alias.
51734         * include/sys/mman.h: Declare __madvise.
51735         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
51736         * sysdeps/unix/syscalls.list
51737         (madvise): Make __madvise the strong name, and madvise a weak alias.
51738         * sysdeps/unix/sysv/linux/syscalls.list
51739         (madvise, mmap): Remove redundant entries.
51740         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
51741         * malloc/malloc.c (mtrim): Likewise.
51742         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
51744 2012-10-03  Roland McGrath  <roland@hack.frob.com>
51746         * sysdeps/mach/hurd/dl-cache.c: File removed.
51747         * config.h.in (USE_LDCONFIG): New #undef.
51748         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
51749         * configure: Regenerated.
51750         * elf/Makefile (dl-routines): Add dl-cache only under
51751         [$(use-ldconfig) = yes].
51752         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
51753         cache on [USE_LDCONFIG].
51754         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
51755         [USE_LDCONFIG].
51756         * elf/rtld.c (dl_main): Likewise.
51758 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
51760         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
51761         _SC_LEVEL4_CACHE_LINESIZE.
51763 2012-10-03  Roland McGrath  <roland@hack.frob.com>
51765         * sysdeps/unix/bsd/confstr.h: File removed.
51767 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
51769         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
51770         sys/sdt-config.h.
51772 2012-10-02  Roland McGrath  <roland@hack.frob.com>
51774         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
51775         Make 'mapoff' field ElfW(Off) rather than off_t.
51777 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
51779         * nscd/Makefile: Remove nscd-cflags and all its users.
51780         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
51781         (CFLAGS-nonlib): Add compiler flags for nscd modules.
51783         [BZ #10631]
51784         * malloc.c (malloc_printerr): Clarify error message.
51786 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
51788         [BZ #14648]
51789         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51790         Set bit_FMA_Usable if FMA is supported.
51791         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
51792         macro.
51793         (bit_FMA4_Usable): Updated.
51794         (index_FMA_Usable): New macro.
51795         (CPUID_FMA): Likewise
51796         (HAS_FMA): Defined with bit_FMA_Usable.
51798 2012-10-01  Roland McGrath  <roland@hack.frob.com>
51800         * bits/types.h (__swblk_t): Type removed.
51801         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
51802         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
51803         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51804         (__SWBLK_T_TYPE): Likewise.
51805         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51806         (__SWBLK_T_TYPE): Likewise.
51807         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51808         (__SWBLK_T_TYPE): Likewise.
51809         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51810         (__SWBLK_T_TYPE): Likewise.
51812 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
51813             Honza Horak <hhorak@redhat.com>
51815         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
51816         (xdr_mapname): Use YPMAXMAP as maxsize.
51817         (xdr_peername): Use YPMAXPEER as maxsize.
51818         (xdr_keydat): Use YPAXRECORD as maxsize.
51819         (xdr_valdat): Use YPMAXRECORD as maxsize.
51821 2012-10-01  Roland McGrath  <roland@hack.frob.com>
51823         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
51825         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
51826         * csu/init-first.c: ... here.
51827         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
51828         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
51829         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
51830         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
51831         * sysdeps/i386/init-first.c: File removed.
51832         * sysdeps/sh/init-first.c: File removed.
51834 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
51836         [BZ #14645]
51837         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
51838         if x * y might underflow to zero and z is zero.
51839         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51840         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51841         * math/libm-test.inc (min_subnorm_value): New variable.
51842         (fma_test): Add more tests.
51843         (fma_test_towardzero): Likewise.
51844         (fma_test_downward): Likewise
51845         (fma_test_upward): Likewise.
51846         (initialize): Set min_subnorm_value.
51848 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
51850         [BZ #14638]
51851         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
51852         0 + 0.
51853         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
51854         mode for addition resulting in exact zero.
51855         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
51856         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
51857         exact 0 + 0.
51858         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51859         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51860         * math/libm-test.inc (fma_test): Add more tests.
51861         (fma_test_towardzero): New function.
51862         (fma_test_downward): Likewise.
51863         (fma_test_upward): Likewise.
51864         (main): Call the new functions.
51866 2012-09-28  David S. Miller  <davem@davemloft.net>
51868         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
51870 2012-09-28  Roland McGrath  <roland@hack.frob.com>
51872         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
51873         instead of SIGALRM.
51875         * sysdeps/gnu/_G_config.h: Moved to ...
51876         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
51877         * sysdeps/mach/hurd/_G_config.h: Moved to ...
51878         * sysdeps/generic/_G_config.h: ... here.
51880         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
51882         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
51884         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
51885         Conditionalize target on [libnss_test1.so-version].
51887         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
51889         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
51890         (elfobjdir): Move out of conditionals.
51892         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
51893         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
51894         (__nss_lookup_function): Conditionalize label remove_from_tree on
51895         [!DO_STATIC_NSS || SHARED], matching its only use.
51897 2012-09-28  David S. Miller  <davem@davemloft.net>
51899         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
51900         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
51901         file.
51902         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
51903         sysdep_routines.
51904         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
51905         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
51906         when HWCAP_SPARC_CRYPTO is present.
51908 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51910         * io/tst-mknodat.c: Create a FIFO instead of a socket.
51912 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
51914         [BZ #6530]
51915         * stdio-common/vfprintf.c (process_string_arg): Revert
51916         2000-07-22 change.
51918 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
51920         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
51921         for testcase.
51922         * stdio-common/tst-sprintf.c: Include <locale.h>
51923         (main): Test sprintf's handling of incomplete multibyte
51924         characters.
51926 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
51928         * elf/dl-runtime.c (VERSYMIDX): Removed.
51929         * elf/dl-version.c (VERSYMIDX): Likewise.
51930         * elf/do-rel.h (VERSYMIDX): Likewise.
51931         (VALIDX): Likewise.
51932         * elf/dynamic-link.h (VERSYMIDX): Likewise.
51933         * elf/rtld.c (VALIDX): Likewise.
51934         (ADDRIDX): Likewise.
51935         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
51936         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
51937         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
51938         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
51939         (VALIDX): Likewise.
51940         (ADDRIDX): Likewise.
51942 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51944         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
51946 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
51948         [BZ #11438]
51949         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
51950         to global scope.
51951         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
51952         addresses are in the same scope as 192.0.2/24.
51953         * posix/gai.conf: Document new scope table defaults.
51955 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51957         [BZ #5298]
51958         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
51959         for ftell.  Compute offsets from write pointers instead.
51960         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51962 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51964         [BZ #14543]
51965         * libio/Makefile (tests): New test case tst-fseek.
51966         * libio/tst-fseek.c: New test case to verify that fseek/ftell
51967         combination works in wide mode.
51968         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
51969         state when the external buffer state changes.
51971 2012-09-27  David S. Miller  <davem@davemloft.net>
51973         [BZ #14376]
51974         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
51975         pass reloc->r_addend in as the 'high' argument to
51976         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
51978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51980 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51982         * rt/tst-aio2.c: Include <pthread.h>.
51983         * rt/tst-aio3.c: Likewise.
51985 2012-09-27  Steve Ellcey  <sellcey@mips.com>
51987         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
51989 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
51991         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
51992         contents on [SHARED].
51994 2012-09-26  Marek Polacek  <polacek@redhat.com>
51996         [BZ #14530]
51997         [BZ #13741]
51998         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
51999         for C++ and GCC <4.3 as well as for non GCC compilers.
52001 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52003         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52005 2012-09-25  Roland McGrath  <roland@hack.frob.com>
52007         * Makefile.in (all, install): Declare with .PHONY.
52008         Reported by Michael Hope <michael.hope@linaro.org>.
52010 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52012         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
52013         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
52014         system header.
52015         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
52016         Likewise.
52017         (sydep_routines): Add the new and the internal functions.
52018         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
52019         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
52020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
52021         (GLIBC_2.17): Add the new function.
52022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
52023         (GLIBC_2.17): Likewise.
52024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
52025         (GLIBC_2.17): Likewise.
52026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
52027         (GLIBC_2.17): Likewise.
52028         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
52030 2012-09-25  Alan Modra  <amodra@gmail.com>
52032         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
52033         Add release barrier before setting once_control to say
52034         initialisation is done.  Add hints on lwarx.  Use macro in
52035         place of isync.
52036         (clear_once_control): Add release barrier.
52038 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52040         [BZ #13629]
52041         * math/s_clog.c (__clog): Handle more values close to |z| = 1
52042         specially.
52043         * math/s_clog10.c (__clog10): Likewise.
52044         * math/s_clog10f.c (__clog10f): Likewise.
52045         * math/s_clog10l.c (__clog10l): Likewise.
52046         * math/s_clogf.c (__clogf): Likewise.
52047         * math/s_clogl.c (__clogl): Likewise.
52048         * math/Makefile (libm-calls): Add x2y2m1.
52049         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
52050         (__x2y2m1): Likewise.
52051         (__x2y2m1l): Likewise.
52052         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
52053         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
52054         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
52055         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52056         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
52057         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
52058         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
52059         * sysdeps/i386/fpu/libm-test-ulps: Update.
52060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52062         [BZ #14621]
52063         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
52064         int as type of variable DEPTH.
52065         (glob): Use size_t instead of int as type of variables NEWCOUNT
52066         and OLD_PATHC.
52068 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52070         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52071         Add s_sincosf-sse2.
52072         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
52073         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
52074         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
52075         macros for using routine as __sincosf_ia32.
52076         Use macro for function declaration and weak_alias.
52077         * sysdeps/i386/fpu/libm-test-ulps: Update.
52079         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
52080         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52082         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
52083         subnormal argument.
52084         * math/s_cexpf.c (__cexpf): Likewise.
52085         * math/s_csinf.c (__csinf): Likewise.
52086         * math/s_csinhf.c (__csinhf): Likewise.
52087         * math/s_ctanf.c (__ctanf): Likewise.
52088         * math/s_ctanhf.c (__ctanhf): Likewise.
52089         * math/s_ccosh.c (__ccoshf): Likewise.
52090         * math/s_cexp.c (__cexpl): Likewise.
52091         * math/s_csin.c (__csin): Likewise.
52092         * math/s_csinh.c (__csinh): Likewise.
52093         * math/s_ctan.c (__ctan): Likewise.
52094         * math/s_ctanh.c (ctanh): Likewise.
52095         * math/s_ccoshl.c (__ccoshl): Likewise.
52096         * math/s_cexpl.c (__cexpl): Likewise.
52097         * math/s_csinl.c (__csinl): Likewise.
52098         * math/s_csinhl.c (__csinhl): Likewise.
52099         * math/s_ctanl.c (__ctanl): Likewise.
52100         * math/s_ctanhl.c (__ctanhl): Likewise.
52102 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52104         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
52105         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
52106         (_IO_off_t): Define to __off_t, not _G_off_t.
52107         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
52108         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
52109         (_IO_wint_t): Define to wint_t, not _G_wint_t.
52110         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
52111         type of __dummy and __dummy2 fields.
52112         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
52113         (_G_ssize_t): Likewise.
52114         (_G_off_t): Likewise.
52115         (_G_pid_t): Likewise.
52116         (_G_uid_t): Likewise.
52117         (_G_wchar_t): Likewise.
52118         (_G_wint_t): Likewise.
52119         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
52120         (_G_ssize_t): Likewise.
52121         (_G_off_t): Likewise.
52122         (_G_pid_t): Likewise.
52123         (_G_uid_t): Likewise.
52124         (_G_wchar_t): Likewise.
52125         (_G_wint_t): Likewise.
52126         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
52127         (_G_ssize_t): Likewise.
52128         (_G_off_t): Likewise.
52129         (_G_pid_t): Likewise.
52130         (_G_uid_t): Likewise.
52131         (_G_wchar_t): Likewise.
52132         (_G_wint_t): Likewise.
52134 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52136         * malloc/arena.c: Include malloc-sysdep.h.
52137         (shrink_heap): Use check_may_shrink_heap to decide if madvise
52138         is sufficient to shrink the heap or an unmap is needed.
52139         * sysdeps/generic/malloc-sysdep.h: New file.  Define
52140         new function check_may_shrink_heap.
52141         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
52142         new function check_may_shrink_heap.
52144 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52146         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
52147         comments.
52149 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
52151         * catgets/test-gencat.sh: Add "set -e".
52152         * elf/tst-pathopt.sh: Likewise.
52153         * grp/tst_fgetgrent.sh: Likewise.
52154         * iconvdata/run-iconv-test.sh: Likewise.
52155         * intl/tst-gettext.sh: Likewise.
52156         * intl/tst-gettext2.sh: Likewise.
52157         * intl/tst-gettext4.sh: Likewise.
52158         * intl/tst-gettext6.sh: Likewise.
52159         * intl/tst-translit.sh: Likewise.
52160         * io/ftwtest-sh: Likewise.
52161         * libio/test-freopen.sh: Likewise.
52162         * malloc/tst-mtrace.sh: Likewise.
52163         * posix/globtest.sh: Likewise.
52164         * posix/tst-getconf.sh: Likewise.
52165         * posix/wordexp-tst.sh: Likewise.
52166         * stdio-common/tst-printf.sh: Likewise.
52167         * stdio-common/tst-unbputc.sh: Likewise.
52168         * stdlib/tst-fmtmsg.sh: Likewise.
52169         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52170         * catgets/Makefile: Do not specify -e option when running
52171         testsuite shell scripts.
52172         * elf/Makefile: Likewise.
52173         * grp/Makefile: Likewise.
52174         * iconvdata/Makefile: Likewise.
52175         * intl/Makefile: Likewise.
52176         * io/Makefile: Likewise.
52177         * libio/Makefile: Likewise.
52178         * malloc/Makefile: Likewise.
52179         * posix/Makefile: Likewise.
52180         * stdio-common/Makefile: Likewise.
52181         * stdlib/Makefile: Likewise.
52182         * sysdeps/x86_64/Makefile: Likewise.
52184         * io/ftwtest-sh: Add copyright header.
52185         * posix/globtest.sh: Likewise.
52186         * posix/tst-getconf.sh: Likewise.
52187         * posix/wordexp-tst.sh: Likewise.
52188         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52190 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
52192         [BZ #13679]
52193         * Makeconfig (+link): Defined as $(+link-static) if
52194         $(build-shared) isn't yes.
52195         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
52196         isn't yes.
52197         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
52199         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
52201         [BZ #14562]
52202         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
52203         new chunk size with MALLOC_ALIGN_MASK.
52205 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
52207         [BZ #5044]
52208         * stdio-common/printf_fphex.c: Include <stdbool.h> and
52209         <rounding-mode.h>.
52210         (__printf_fphex): Determine rounding using get_rounding_mode and
52211         round_away.
52212         * stdio-common/tst-printf-round.c (struct hex_test): New
52213         structure.
52214         (hex_tests): New variable.
52215         (test_hex_in_one_mode): New function.
52216         (do_test): Also run tests for hex float output.
52218 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
52220         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52221         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52222         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
52223         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52224         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52225         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
52226         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52227         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52229 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
52231         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
52232         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
52233         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
52234         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
52236 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
52238         [BZ #14579]
52239         * elf/rtld.c (dl_main): Limit the check for self loading to normal
52240         mode only.
52241         * elf/tst-rtld-load-self.sh: New test.
52242         * elf/Makefile: Run it.
52244 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
52246         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
52247         (tst-writev-ENV): Remove.
52248         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
52250 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
52252         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
52254 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
52256         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
52257         unconditional.
52258         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
52259         Likewise.
52260         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
52261         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
52262         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
52263         Likewise.
52265 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
52267         [BZ #14587]
52268         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
52269         * config.make.in (have-cpp-asm-debuginfo): Removed.
52270         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
52271         * configure: Regenerated.
52273 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
52275         [BZ #5044]
52276         * stdio-common/printf_fp.c: Include <stdbool.h> and
52277         <rounding-mode.h>.
52278         (___printf_fp): Determine rounding using get_rounding_mode and
52279         round_away.
52280         * stdio-common/tst-printf-round.c: New file.
52281         * stdio-common/Makefile (tests): Add tst-printf-round.
52282         (link-libm): New variable.
52283         ($(objpfx)tst-printf-round): Depend in $(link-libm).
52285 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
52287         [BZ #14576]
52288         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
52289         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
52290         Likewise.
52291         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
52292         Likewise.
52294 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
52296         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
52297         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52298         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52299         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52301 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
52303         [BZ #14518]
52304         * include/rounding-mode.h: New file.
52305         * sysdeps/generic/get-rounding-mode.h: Likewise.
52306         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
52307         * stdlib/strtod_l.c: Include <rounding-mode.h>.
52308         (MAX_VALUE): New macro.
52309         (MIN_VALUE): Likewise.
52310         (overflow_value): New function.
52311         (underflow_value): Likewise.
52312         (round_and_return): Use overflow_value and underflow_value to
52313         determine return values in overflow and underflow cases.  Use
52314         round_away to determine rounding depending on rounding mode.
52315         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
52316         determine return values in overflow and underflow cases.
52317         * stdlib/tst-strtod-round.c: Include <fenv.h>.
52318         (struct test_results): New structure.
52319         (struct test): Use struct test_results to store expected results
52320         for all rounding modes.
52321         (TEST): Include expected results for all rounding modes.
52322         (test_in_one_mode): New function.
52323         (do_test): Use test_in_one_mode to compute and check results.
52324         Check results for all rounding modes.
52325         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
52326         $(link-libm).
52328 2012-12-09  Allan McRae  <allan@archlinux.org>
52330         * sysdeps/i386/fpu/libm-test-ulps: Update
52332 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
52334         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
52335         (_G_int32_t): Likewise.
52336         (_G_uint16_t): Likewise.
52337         (_G_uint32_t): Likewise.
52338         (_G_HAVE_BOOL): Likewise.
52339         (_G_HAVE_ATEXIT): Likewise.
52340         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52341         (_G_HAVE_IO_FILE_OPEN): Likewise.
52342         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
52343         (_G_int32_t): Likewise.
52344         (_G_uint16_t): Likewise.
52345         (_G_uint32_t): Likewise.
52346         (_G_HAVE_BOOL): Likewise.
52347         (_G_HAVE_ATEXIT): Likewise.
52348         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52349         (_G_HAVE_IO_FILE_OPEN): Likewise.
52350         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
52351         (_G_int32_t): Likewise.
52352         (_G_uint16_t): Likewise.
52353         (_G_uint32_t): Likewise.
52354         (_G_HAVE_BOOL): Likewise.
52355         (_G_HAVE_ATEXIT): Likewise.
52356         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52357         (_G_HAVE_IO_FILE_OPEN): Likewise.
52359 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
52361         * csu/libc-tls.c: Update copyright years.
52363 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
52365         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
52366         [!_G_USING_THUNKS]: Remove conditional code.
52367         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
52368         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
52370         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
52371         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
52372         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52373         (_G_VTABLE_LABEL_PREFIX): Likewise.
52374         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52375         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52376         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52377         (_G_VTABLE_LABEL_PREFIX): Likewise.
52378         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52379         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52380         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52381         (_G_VTABLE_LABEL_PREFIX): Likewise.
52382         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52384 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
52386         * libio/Makefile: Include ../Makeconfig before tests.
52387         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
52388         only if $(build-shared) is yes.
52390         * iconv/gconv_db.c: Update copyright years.
52392 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52394         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
52395         unwind info if defined PIC. Fix special cases description.
52396         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
52398         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
52399         DP_HI_MASK entry.
52400         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
52402 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
52404         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
52406         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
52407         is NULL.
52409         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
52410         (LDLIBS-tst-chk4): This.
52411         (LDFLAGS-tst-chk5): Renamed to ...
52412         (LDLIBS-tst-chk5): This.
52413         (LDFLAGS-tst-chk6): Renamed to ...
52414         (LDLIBS-tst-chk6): This.
52415         (LDFLAGS-tst-lfschk4): Renamed to ...
52416         (LDLIBS-tst-lfschk4): This.
52417         (LDFLAGS-tst-lfschk5): Renamed to ...
52418         (LDLIBS-tst-lfschk5): This.
52419         (LDFLAGS-tst-lfschk6): Renamed to ...
52420         (LDLIBS-tst-lfschk6): This.
52422         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
52423         on $(common-objpfx)soversions.mk.
52425 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
52427         [BZ #10014]
52428         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
52429         example host name.
52431 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52433         * malloc/arena.c (arena_get_retry): New function that gets
52434         another arena for the caller to try its request on.
52435         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
52436         current arena cannot fulfill the request.
52437         (__libc_memalign): Likewise.
52438         (__libc_memalign): Likewise.
52439         (__libc_pvalloc): Likewise.
52440         (__libc_calloc): Likewise.
52442 2012-09-05  John Tobey  <john.tobey@gmail.com>
52444         [BZ #13542]
52445         * manual/arith.texi (Operations on Complex): Fix description
52446         of carg branch cut.
52448 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52450         [BZ #10014]
52451         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
52452         host name.
52454         [BZ #10038]
52455         * manual/memory.texi (Memory): Make order of menu items match
52456         order of sections.
52458 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52460         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
52461         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
52462         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
52464 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52466         * csu/libc-tls.c (static_dtv): Renamed to ...
52467         (_dl_static_dtv): This.  Make it global.
52468         (_dl_initial_dtv): Removed.
52469         (__libc_setup_tls): Updated.
52470         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
52471         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
52472         DL_INITIAL_DTV.
52474 2012-09-06  Petr Machata  <pmachata@redhat.com>
52476         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
52477         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
52478         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
52479         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
52481 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52483         [BZ #14545]
52484         * csu/libc-tls.c (_dl_initial_dtv): New variable.
52485         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
52486         freeing dtv[-1].
52488 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52490         [BZ #14544]
52491         * Makeconfig (link-static-before-libc): Replace $(+prector)
52492         with $(+prectorT).
52493         (link-static-after-libc): Replace $(+postctor) with
52494         $(+postctorT).
52495         (link-bounded): Replace $(+prector)/$(+postctor) with
52496         $(+prectorT)/$(+postctorT).
52497         (+prectorT): New macro.
52498         (+postctorT): Likewise.
52500 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52502         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
52503         (round_str): Handle values above the maximum for IBM long double
52504         as inexact.
52505         * stdlib/tst-strtod-round.c (tests): Regenerated.
52507 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52509         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
52510         assembler flag.
52511         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
52512         zarch_nohighgprs around the zarch optimized routines.
52513         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
52514         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
52515         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
52516         for zarch.
52518 2012-09-05  David S. Miller  <davem@davemloft.net>
52520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52522         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
52523         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
52524         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
52525         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52526         entries.
52528 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52530         * malloc/arena.c: Fold copyright years.
52531         * malloc/mcheck.c, malloc/memusage.c: Likewise.
52533 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52535         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
52537 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52539         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
52541 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52543         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
52544         change internal state upon failure.
52546 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52548         * malloc/mcheck.c (mcheck_check_all): Fix typo.
52549         * malloc/memusage.c (mmap): Likewise.
52550         (mmap64, mremap): Likewise.  Adjust name in comment.
52552 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52554         * libio/fileops.c: Fix typos in comments.
52555         * libio/oldfileops.c: Likewise.
52556         * libio/wfileops.c: Likewise.
52558 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52560         [BZ #1349]
52561         * malloc/Makefile (tests): Add tst-malloc-usable test case.
52562         (tst-malloc-usable-ENV): Set environment for test case.
52563         * malloc/hooks.c (malloc_check_get_size): New function to get
52564         requested size.
52565         * malloc/malloc.c (musable): Use malloc_check_get_size.
52566         * malloc/tst-malloc-usable.c: New test case.
52568 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52570         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
52572 2012-09-05  Allan McRae  <allan@archlinux.org>
52574         [BZ #13966]
52575         * configure.in (CXX_SYSINCLUDES): Use compiler output to
52576         determine header location.
52577         * configure: Regenerated.
52579 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52581         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
52582         float format.
52583         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
52584         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
52585         format.
52586         (test): Regenerate.
52588 2012-09-04  David S. Miller  <davem@davemloft.net>
52590         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
52591         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
52592         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
52594 2012-09-04  Florian Weimer  <fweimer@redhat.com>
52596         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
52597         failures.
52599         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
52601 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
52603         [BZ #9914]
52604         * libio/iogetdelim.c: Include <limits.h>.
52605         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
52606         + len + 1 would overflow.
52608 2012-09-03  Andreas Jaeger  <aj@suse.de>
52610         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52611         * sysdeps/i386/fpu/libm-test-ulps: Update.
52613 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52615         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52616         Add s_sinf-sse2, s_conf-sse2.
52618         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
52619         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
52620         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
52621         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
52623         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
52624         for using routine as __sinf_ia32.
52625         Use macro for function declaration and weak_alias.
52626         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
52627         for using routine as __cosf_ia32.
52628         Use macro for function declaration and weak_alias.
52630         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
52631         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
52633         * sysdeps/x86_64/fpu/s_sinf.S: New file.
52634         * sysdeps/x86_64/fpu/s_cosf.S: New file.
52635         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52637         * math/libm-test.inc (cos_test): Add more test cases.
52638         (sin_test): Likewise.
52639         (sincos_test): Likewise.
52641 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52643         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
52644         (IFUNC_RESOLVE): Make pointers to the specialized implementations
52645         hidden.
52646         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52648 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
52650         [BZ #14538]
52651         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
52652         first element of the GOT.
52653         (elf_machine_load_address): Return the difference between
52654         the runtime address of _DYNAMIC and elf_machine_dynamic ().
52656 2012-09-01  Allan McRae  <allan@archlinux.org>
52658         [BZ #13412]
52659         * configure.in (AWK): Require gawk version 3.0 or later.
52660         * configure: Regenerated.
52662 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
52664         * sysdeps/unix/sysv/linux/kernel-features.h
52665         (__ASSUME_POSIX_CPU_TIMERS): Remove.
52666         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52667         [__NR_clock_getres]: Make code unconditional.
52668         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
52669         (clock_getcpuclockid): Remove code left unreachable by removal of
52670         conditionals.
52671         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
52672         code unconditional.
52673         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
52674         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52675         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
52676         Make code unconditional.
52677         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
52678         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52679         * sysdeps/unix/sysv/linux/clock_settime.c
52680         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
52681         conditional code.
52682         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
52683         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52685 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
52687         [BZ #14476]
52688         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
52689         scripts/test-installation.pl.
52691         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
52692         and $ld_so_version if it is set.
52694 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52696         [BZ #14516]
52697         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
52698         failure if reading from procfs failed.
52699         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
52701 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
52703         * sysdeps/unix/sysv/linux/kernel-features.h
52704         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
52705         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
52706         Remove conditional code.
52707         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52708         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
52709         Remove conditional code.
52710         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52711         * sysdeps/unix/sysv/linux/i386/fxstat.c
52712         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52713         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52714         * sysdeps/unix/sysv/linux/i386/fxstatat.c
52715         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52716         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52717         * sysdeps/unix/sysv/linux/i386/lxstat.c
52718         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52719         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52720         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
52721         Remove conditional code.
52722         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52723         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
52724         Remove conditional code.
52725         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52726         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
52727         <kernel-features.h>.
52728         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
52729         Remove.
52730         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
52731         Remove conditional code.
52732         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52733         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
52734         Remove conditional.
52736 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
52738         [BZ #5400]
52739         * NEWS: Add fixed bug number.
52741 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
52743         [BZ #14519]
52744         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
52745         underflowing exponent in case of negative sign.
52746         * stdlib/tst-strtod-round-data: Add more tests.
52747         * stdlib/tst-strtod-round.c (tests): Regenerated.
52749         [BZ #3479]
52750         * stdlib/strtod_l.c (NDIG): Remove.
52751         (HEXNDIG): Likewise.
52752         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
52753         smallest representable value.
52754         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
52755         lie within an exact representation of 1/2 ulp of the result.
52756         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
52757         unconditionally.
52758         (TENS_P9_IDX): Define unconditionally.
52759         (TENS_P9_SIZE): Likewise.
52760         (TENS_P10_IDX): Likewise.
52761         (TENS_P10_SIZE): Likewise.
52762         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
52763         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
52764         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
52765         entries for 10^2^13 and 10^2^14.
52766         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
52767         (TENS_P13_IDX): Define.
52768         (TENS_P13_SIZE): Likewise.
52769         (TENS_P14_IDX): Likewise.
52770         (TENS_P14_SIZE): Likewise.
52771         (_fpioconst_pow10): Change array size to
52772         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
52773         unconditional.
52774         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
52775         1024]: Add entries for 10^2^13 and 10^2^14.
52776         [LAST_POW10 > _LAST_POW10]: Remove #error.
52777         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
52778         (_fpioconst_pow10): Change array size to
52779         FPIOCONST_POW10_ARRAY_SIZE.
52780         * stdlib/gen-fpioconst.c: New file.
52781         * stdlib/gen-tst-strtod-round.c: Likewise.
52782         * stdlib/tst-strtod-round-data: Likewise.
52783         * stdlib/tst-strtod-round.c: Likewise.
52784         * stdlib/Makefile (tests): Add tst-strtod-round.
52786         [BZ #14459]
52787         * stdlib/strtod_l.c: Include <stdint.h>.
52788         (NDEBUG): Do not define.
52789         (round_and_return): Change EXPONENT parameter to type intmax_t.
52790         Rearrange calculations to avoid internal overflow possibilities.
52791         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
52792         Rearrange calculations to avoid internal overflow possibilities.
52793         Assert that number fits inside MPNSIZE limbs.
52794         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
52795         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
52796         calculations and add assertions to avoid internal overflow
52797         possibilities.  Add casts to avoid signed/unsigned operations.
52798         * stdlib/tst-strtod-overflow.c: New file.
52799         * stdlib/Makefile (tests): Add tst-strtod-overflow.
52801 2012-08-25  Marek Polacek  <polacek@redhat.com>
52803         * time/time.h: Fix some typos in comments.
52805 2012-08-23  Roland McGrath  <roland@hack.frob.com>
52807         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
52808         * posix/tst-rfc3484-2.c: Likewise.
52809         * posix/tst-rfc3484-3.c: Likewise.
52811 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
52813         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
52814         (EF_ARM_ABI_FLOAT_HARD): Likewise.
52816 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
52818         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
52819         #include of fxstatat64.c.
52821 2012-08-22  Roland McGrath  <roland@hack.frob.com>
52823         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
52824         * shadow/getspent_r.c: Likewise.
52825         * shadow/getspnam.c: Likewise.
52826         * shadow/getspnam_r.c: Likewise.
52827         * gshadow/getsgent.c: Likewise.
52828         * gshadow/getsgent_r.c: Likewise.
52829         * gshadow/getsgnam.c: Likewise.
52830         * gshadow/getsgnam_r.c: Likewise.
52831         * inet/getnetbyad.c: Likewise.
52832         * inet/getnetbyad_r.c: Likewise.
52833         * inet/getnetbynm.c: Likewise.
52834         * inet/getnetbynm_r.c: Likewise.
52835         * inet/getnetent.c: Likewise.
52836         * inet/getnetent_r.c: Likewise.
52837         * inet/getproto.c: Likewise.
52838         * inet/getproto_r.c: Likewise.
52839         * inet/getprtent.c: Likewise.
52840         * inet/getprtent_r.c: Likewise.
52841         * inet/getprtname.c: Likewise.
52842         * inet/getprtname_r.c: Likewise.
52843         * inet/getrpcbyname.c: Likewise.
52844         * inet/getrpcbyname_r.c: Likewise.
52845         * inet/getrpcbynumber.c: Likewise.
52846         * inet/getrpcbynumber_r.c: Likewise.
52847         * inet/getrpcent.c: Likewise.
52848         * inet/getrpcent_r.c: Likewise.
52849         * inet/getaliasent.c: Likewise.
52850         * inet/getaliasent_r.c: Likewise.
52851         * inet/getaliasname.c: Likewise.
52852         * inet/getaliasname_r.c: Likewise.
52853         * nscd/getgrgid_r.c: Likewise.
52854         * nscd/getgrnam_r.c: Likewise.
52855         * nscd/gethstbyad_r.c: Likewise.
52856         * nscd/gethstbynm3_r.c: Likewise.
52857         * nscd/getpwnam_r.c: Likewise.
52858         * nscd/getpwuid_r.c: Likewise.
52859         * nscd/getsrvbynm_r.c: Likewise.
52860         * nscd/getsrvbypt_r.c: Likewise.
52861         * nscd/gai.c: Likewise.
52863         * configure.in (build_nscd): New substituted variable, set
52864         by --disable-build-nscd and defaults to $use_nscd.
52865         * configure: Regenerated.
52866         * config.make.in (build-nscd): New substituted variable.
52867         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
52868         Change conditional to require [$(build-nscd) = yes] as well.
52869         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
52871         [BZ# 13696]
52872         * configure.in (use_nscd): New substituted variable, set by
52873         --disable-nscd.  If enabled, define USE_NSCD.
52874         * configure: Regenerated.
52875         * config.h.in: Add USE_NSCD.
52876         * config.make.in (use-nscd): New substituted variable.
52877         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
52878         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
52879         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
52880         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
52881         (CFLAGS-getgrnam_r.c): Likewise.
52882         (CFLAGS-initgroups.c): Likewise.
52883         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
52884         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
52885         Variables removed.
52886         * inet/getnetgrent_r.c
52887         (nscd_setnetgrent): New function, broken out of ...
52888         (setnetgrent): ... here.  Call it.
52889         (innetgr): Conditionalize nscd bits on [USE_NSCD].
52890         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
52891         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
52892         * nscd/Makefile (routines, aux): Move definitions after include of
52893         Makeconfig.  Conditionalize on [$(use-nscd) != no].
52894         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
52895         Conditionalize on [USE_NSCD].
52896         (is_nscd, nscd_init_cb): Likewise.
52897         (nss_load_library): Conditionalize init callback on [USE_NSCD].
52898         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
52899         * nss/nss_db/db-init.c: Likewise.
52900         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
52901         [USE_NSCD].
52902         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
52903         (make_request): Use it.
52904         (cache_valid_p): New function.
52905         (__check_pf): Use it.
52906         * NEWS: Add item for --disable-nscd.
52908 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
52910         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
52911         to support sed >= 4.2.1-20-ga9bf076.
52912         * configure: Regenerated.
52914 2012-08-22  Roland McGrath  <roland@hack.frob.com>
52916         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
52917         Conditionalize whole body on [IREL].
52919 2012-08-22  Jeff Law <law@redhat.com>
52921         [BZ #14505]
52922         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
52923         if the family is PF_UNSPEC.
52925 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
52927         * Makerules (lib-version): Rename from V.
52928         (install-lib-nosubdir): Change V to lib-version.
52930 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
52932         [BZ #14252]
52933         * powerpc32/power6/wcschr.c: New file.
52934         * powerpc32/power6/wcscpy.c: New file.
52935         * powerpc32/power6/wcsrchr.c: New file.
52936         * powerpc64/power6/wcschr.c: New file.
52937         * powerpc64/power6/wcscpy.c: New file.
52938         * powerpc64/power6/wcsrchr.c: New file.
52940 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
52942         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
52943         (two_way_short_needle): Use it.
52944         * string/strstr.c (AVAILABLE1_USES_J): Define.
52945         * string/strcasestr.c: Likewise.
52947         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
52948         array references.
52949         * string/strcasestr.c (TOLOWER): Make side-effect safe.
52951         [BZ #11607]
52952         * NEWS: Add an entry.
52953         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
52954         define their defaults.
52955         (two_way_short_needle): Detect end-of-string on-the-fly.
52956         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
52957         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
52958         * string/bug-strcasestr1.c: New test.
52959         * string/Makefile: Run it.
52961 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
52963         [BZ #11607]
52964         * string/str-two-way.h (two_way_short_needle): Optimize matching of
52965         the first character.
52967 2012-08-21  Roland McGrath  <roland@hack.frob.com>
52969         * csu/elf-init.c (__libc_csu_irel): Function removed.
52970         * csu/libc-start.c (apply_irel): New function.
52971         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
52973 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
52975         * sysdeps/unix/sysv/linux/kernel-features.h
52976         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
52977         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52978         <kernel-features.h>.
52979         [__NR_fadvise64_64]: Make code unconditional.
52980         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
52981         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
52982         !__NR_fadvise64_64)]: Likewise.
52983         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
52984         !__NR_fadvise64_64))]: Likewise.
52985         [__NR_fadvise64]: Make code unconditional.
52986         [!__NR_fadvise64]: Remove conditional code.
52987         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
52988         <kernel-features.h>.
52989         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52990         unconditional.
52991         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52992         conditional code.
52993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
52994         not include <kernel-features.h>.
52995         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52996         unconditional.
52997         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52998         conditional code.
52999         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
53000         include <kernel-features.h>.
53001         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53002         unconditional.
53003         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53004         conditional code.
53006 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
53008         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
53009         slight instruction rearrangements per scrollpipe analysis.
53010         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53012 2012-08-20  Roland McGrath  <roland@hack.frob.com>
53014         * manual/syslog.texi (syslog; vsyslog, closelog):
53015         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
53016         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
53018         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
53019         DSOCAPS to match condition on defining it.
53021 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
53023         * sysdeps/unix/sysv/linux/kernel-features.h
53024         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
53025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
53026         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53027         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
53029         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53030         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
53032         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53033         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53035         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
53036         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
53038         * sysdeps/unix/sysv/linux/kernel-features.h
53039         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
53040         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
53041         unconditional.
53042         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53043         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
53044         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53045         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53046         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
53047         Make code unconditional.
53048         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53049         (__mmap64) [!__NR_mmap2]: Likewise.
53050         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
53051         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53052         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53053         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
53054         [__NR_mmap2]: Make code unconditional.
53055         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53056         (__mmap64) [!__NR_mmap2]: Likewise.
53058 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53060         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
53062 2012-08-18  Andreas Jaeger  <aj@suse.de>
53064         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
53066 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53068         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
53069         * include/unistd.h (__have_sock_cloexec): Likewise.
53070         (__have_pipe2): Likewise.
53071         (__have_dup3): Likewise.
53073 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53075         [BZ #9685]
53076         * include/unistd.h (__have_pipe2): Change define into an extern int.
53077         (__have_dup3): Likewise.
53078         * socket/have_sock_cloexec.c: Include fcntl.h.
53079         (__have_pipe2): New variable.
53080         (__have_dup3): Likewise.
53082 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
53084         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
53086 2012-08-17  Marek Polacek  <polacek@redhat.com>
53088         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
53089         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
53091 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53093         * configure.in: Add AC_SUBST for sysheaders.
53094         * configure: Regenerated.
53095         * config.make.in (sysheaders): New substituted variable.
53097         * sysdeps/unix/mkfifo.c: Moved ...
53098         * sysdeps/posix/mkfifo.c: ... here.
53099         * sysdeps/unix/mkfifoat.c: Moved ...
53100         * sysdeps/posix/mkfifoat.c: ... here.
53102         * sysdeps/unix/utime.c: Moved ...
53103         * sysdeps/posix/utime.c: ... here.
53105         * sysdeps/unix/time.c: Moved ...
53106         * sysdeps/posix/time.c: ... here.
53107         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
53108         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
53110         * sysdeps/unix/nice.c: Moved ...
53111         * sysdeps/posix/nice.c: ... here.
53113         * sysdeps/unix/alarm.c: Moved ...
53114         * sysdeps/posix/alarm.c: ... here.
53116         * intl/Makefile ($(codeset_mo)): Depend on the input file.
53118 2012-08-17  Jeff Law <law@redhat.com>
53120         * intl/Makefile (codeset_mo): New variable.
53121         ($(codeset_mo)): New target.
53122         (tst-codeset.out): Depend on that.  Remove explicit rule.
53123         (tst-gettext3.out, tst-gettext5.out): Likewise.
53124         (LOCPATH-ENV, tst-codeset-ENV): New variables.
53125         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
53126         * intl/tst-codeset.sh: Remove.
53127         * intl/tst-gettext3.sh: Likewise.
53128         * intl/tst-gettext5.sh: Likewise.
53130 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53132         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
53133         * sysdeps/unix/syscalls.list: ... here.
53135         * sysdeps/posix/getaddrinfo.c
53136         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
53137         (gaiconf_init, gaiconf_reload): Use them.
53138         [!_STATBUF_ST_NSEC]
53139         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
53140         Define using time_t rather than struct timespec.
53142         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
53143         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
53144         Macros removed.
53145         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
53146         [!NO_THREADS].
53147         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
53148         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
53149         Likewise.
53151         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
53152         __libc_cleanup_push argument.
53154         * bits/param.h: New file.
53155         * misc/sys/param.h: New file.
53156         * include/sys/param.h: New file.
53157         * misc/Makefile (headers): Add bits/param.h.
53158         * sysdeps/generic/sys/param.h: File removed.
53159         * sysdeps/unix/sysv/linux/bits/param.h: New file.
53160         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
53161         * sysdeps/mach/hurd/bits/param.h: New file.
53162         * sysdeps/mach/hurd/sys/param.h: File removed.
53164         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
53165         last change.
53167         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
53168         [_IO_MTSAFE_IO].
53169         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
53170         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
53171         New macros.
53173         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
53174         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
53175         rather than -D_IO_MTSAFE_IO conditionally.
53176         * stdio-common/Makefile (CPPFLAGS): Likewise.
53177         * wcsmbs/Makefile (CPPFLAGS): Likewise.
53178         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
53179         Use $(libio-mtsafe).
53180         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
53181         of -D_IO_MTSAFE_IO.
53182         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
53183         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
53184         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
53185         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
53186         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
53187         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
53188         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
53189         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
53190         (CFLAGS-fread_u_chk.c): Likewise.
53191         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
53192         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
53193         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
53194         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
53195         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
53196         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
53197         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
53198         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
53199         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
53201         * libio/Makefile: Test [$(libc-reentrant) = yes]
53202         instead of [$(filter %REENTRANT, $(defines)) nonempty].
53204         * Makeconfig
53205         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
53206         * sysdeps/pthread/configure: File removed.
53207         * sysdeps/pthread/Makeconfig: New file.
53208         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
53209         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
53211 2012-08-16  Gary Benson  <gbenson@redhat.com>
53213         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
53214         unmapping the first object in a namespace.
53216 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53218         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
53219         (__internal_setnetgrent): ... this.  Add internal_function to
53220         definition.  Add libc_hidden_def.
53221         (setnetgrent): Update caller.
53222         (internal_endnetgrent): Renamed to ...
53223         (__internal_endnetgrent): ... this.  Add internal_function to
53224         definition.  Add libc_hidden_def.
53225         (endnetgrent): Update caller.
53226         (internal_getnetgrent_r): Renamed to ...
53227         (__internal_getnetgrent_r): ... this.  Add internal_function to
53228         definition.  Add libc_hidden_def.
53229         (__getnetgrent_r): Update caller.
53230         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
53232 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53234         * stdlib/longlong.h: Update from GCC.
53236 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53238         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
53239         on _QL, which is set by umul_ppmm but never used.
53240         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
53241         variables, which are set by GMP macros but never used.
53242         * stdio-common/_itowa.c (_itowa): Likewise.
53243         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
53244         * stdlib/mod_1.c (mpn_mod_1): Likewise.
53246 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
53248         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
53249         struct La_sh_regs is not constant.
53250         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
53251         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
53252         and struct La_sparc64_regs are not constant.
53254 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53256         * sysdeps/unix/sysv/linux/kernel-features.h
53257         (__ASSUME_POSIX_TIMERS): Remove.
53258         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53259         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53260         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
53261         Make code unconditional.
53262         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53263         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
53264         Make code unconditional.
53265         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53266         * sysdeps/unix/sysv/linux/clock_nanosleep.c
53267         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
53268         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53269         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
53270         Make code unconditional.
53271         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53272         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
53273         (__libc_missing_posix_timers): Remove.
53275 2012-08-15  Roland McGrath  <roland@hack.frob.com>
53277         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
53278         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
53280         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
53282         * elf/dl-sym.c: Include <stdlib.h>.
53284         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
53285         constants, which avoids warnings in 32-bit builds.
53287         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
53288         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
53290         * misc/lseek.c: File moved to ...
53291         * io/lseek.c: ... here.
53293         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
53295         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
53296         shifting LEN more than 31 bits at once.
53298 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53300         [BZ #14195]
53301         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
53302         segmentation fault for a case of two empty input strings.
53303         * string/test-strncasecmp.c (check1): Renamed to...
53304         (bz12205): ...this.
53305         (bz14195): Add new testcase for two empty input strings and N > 0.
53306         (test_main): Call new testcase, adapt for renamed function.
53308 2012-08-15  Andreas Jaeger  <aj@suse.de>
53310         [BZ #14090]
53311         * crypt/md5test2.c: New test, based on test supplied by Serge
53312         Belyshev <belyshev@depni.sinp.msu.ru>.
53313         * crypt/Makefile (xtests): Add md5test-giant..
53314         * crypt/Makefile ($(objpfx)md5test-giant): Add.
53316 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
53318         [BZ #14090]
53319         * crypt/md5.c (md5_process_block): Don't assume the buffer
53320         length is less than 2**32.
53321         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
53322         length is less than 2**64.
53324 2012-08-15  Roland McGrath  <roland@hack.frob.com>
53326         * string/str-two-way.h: Include <sys/param.h>.
53327         (MAX): Macro removed.
53329         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
53330         Move #define and #undef of memmove to just before and after
53331         including <string.h>.
53333         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
53334         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
53335         and after including <string.h>.  Move declarations of
53336         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
53337         to before #include "string/memmove.c".
53339         * include/dirent.h: Declare __getdirentries.
53341         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
53342         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
53344 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
53346         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
53347         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
53348         * sysdeps/i386/configure: Regenerated.
53349         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
53350         STABS_CURRENT_FILE, and STABS_FUN.
53351         (END): Remove call to STABS_FUN_END.
53352         (STABS_CURRENT_FILE1): Delete.
53353         (STABS_CURRENT_FILE): Likewise.
53354         (STABS_FUN): Likewise.
53355         (STABS_FUN_END): Likewise.
53356         (STABS_FUN2): Likewise.
53357         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
53358         * sysdeps/x86_64/configure: Regenerated.
53360 2012-08-14  Roland McGrath  <roland@hack.frob.com>
53362         * elf/dl-open.c: Include <atomic.h>.
53363         * elf/dl-lookup.c: Likewise.
53365 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
53367         * sysdeps/unix/sysv/linux/kernel-features.h
53368         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
53369         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
53370         unconditionally.
53371         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
53372         unconditionally.
53373         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
53374         condition on __ASSUME_CLONE_THREAD_FLAGS.
53376 2012-08-14  Andreas Jaeger  <aj@suse.de>
53378         * sysdeps/i386/fpu/libm-test-ulps: Update.
53380 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
53382         * include/atomic.h (atomic_exchange_and_add): Split into ...
53383         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
53384         New atomic macros.
53386 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
53388         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53390 2012-08-13  Jeff Law <law@redhat.com>
53392         * manual/stdio.texi (snprintf): Clarify handling of the trailing
53393         null byte in the output string.
53395 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
53397         * sysdeps/unix/sysv/linux/kernel-features.h
53398         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
53399         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
53400         (__ASSUME_ARG_MAX_STACK_BASED): Define.
53401         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
53402         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
53403         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
53404         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
53406 2012-08-09  Jeff Law <law@redhat.com>
53408         [BZ #13939]
53409         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
53410         When avoid_arena is set, don't retry in the that arena.  Pick the
53411         next one, whatever it might be.
53412         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
53413         (arena_lock): Pass in new parameter to arena_get2.
53414         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
53415         arena_get2.
53416         (__libc_malloc): Unify retrying after main arena failure with
53417         __libc_memalign version.
53418         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
53420 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
53422         [BZ #14166]
53423         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
53424         to __redirect_strstr.
53425         (__strstr_sse42): Use typeof __redirect_strstr.
53426         (__strstr_ia32): Likewise.
53427         (__libc_strstr): New prototype.
53428         (strstr): Renamed to ...
53429         (__libc_strstr): This.
53430         (strstr): New strong alias of __libc_strstr.
53431         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53432         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
53433         __redirect_time.
53434         Include <time.h>.
53435         (__libc_time): New prototype.
53436         (time_ifunc): Replace time with __libc_time.
53437         (time): New strong alias and hidden definition of __libc_time.
53438         (__GI_time): Remove strong alias.
53439         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
53440         Include <stddef.h>.
53441         (memmove): Redefined to __redirect_memmove.
53442         (__memmove_sse2): Use typeof __redirect_memmove.
53443         (__memmove_ssse3): Likewise.
53444         (__memmove_ssse3_back): Likewise.
53445         (__libc_memmove): New prototype.
53446         (memmove): Renamed to ...
53447         (__libc_memmove): This.
53448         (memmove): New strong alias of __libc_memmove.
53450 2012-08-08  Mark Salter  <msalter@redhat.com>
53452         * elf/elf.h
53453         (R_MN10300_TLS_GD): Define.
53454         (R_MN10300_TLS_LD): Likewise.
53455         (R_MN10300_TLS_LDO): Likewise.
53456         (R_MN10300_TLS_GOTIE): Likewise.
53457         (R_MN10300_TLS_IE): Likewise.
53458         (R_MN10300_TLS_LE): Likewise.
53459         (R_MN10300_TLS_DTPMOD): Likewise.
53460         (R_MN10300_TLS_DTPOFF): Likewise.
53461         (R_MN10300_TLS_TPOFF): Likewise.
53462         (R_MN10300_SYM_DIFF): Likewise.
53463         (R_MN10300_ALIGN): Likewise.
53464         (R_MN10300_NUM): Update.
53466 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
53468         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
53469         Remove.
53471 2012-08-08  Roland McGrath  <roland@hack.frob.com>
53473         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
53475         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
53476         sysdeps/unix -> sysdeps/posix move.
53477         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53479 2012-08-07      Allan McRae     <allan@archlinux.org>
53481         [BZ #14303]
53482         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
53483         (SUNOS_CPP): Likewise.
53484         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
53485         not found.
53486         (open_input): Call CPP using execvp.
53488 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
53490         * sysdeps/unix/sysv/linux/kernel-features.h
53491         (__ASSUME_PROT_GROWSUPDOWN): Remove.
53492         (__ASSUME_NO_CLONE_DETACHED): Likewise.
53493         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53494         (__ASSUME_WAITID_SYSCALL): Likewise.
53495         * sysdeps/unix/sysv/linux/dl-execstack.c
53496         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
53497         code unconditional.
53498         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
53499         conditional code.
53500         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
53501         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
53502         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
53503         code.
53504         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
53505         unconditional.
53506         [__ASSUME_WAITID_SYSCALL]: Likewise.
53507         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
53509 2012-08-07  Roland McGrath  <roland@hack.frob.com>
53511         * sysdeps/unix/closedir.c: Renamed to ...
53512         * sysdeps/posix/closedir.c: ... here.
53513         * sysdeps/unix/dirfd.c: Renamed to ...
53514         * sysdeps/posix/dirfd.c: ... here.
53515         * sysdeps/unix/dirstream.h: Renamed to ...
53516         * sysdeps/posix/dirstream.h: ... here.
53517         * sysdeps/unix/fdopendir.c: Renamed to ...
53518         * sysdeps/posix/fdopendir.c: ... here.
53519         * sysdeps/unix/opendir.c: Renamed to ...
53520         * sysdeps/posix/opendir.c: ... here.
53521         * sysdeps/unix/readdir.c: Renamed to ...
53522         * sysdeps/posix/readdir.c: ... here.
53523         * sysdeps/unix/readdir_r.c: Renamed to ...
53524         * sysdeps/posix/readdir_r.c: ... here.
53525         * sysdeps/unix/rewinddir.c: Renamed to ...
53526         * sysdeps/posix/rewinddir.c: ... here.
53527         * sysdeps/unix/seekdir.c: Renamed to ...
53528         * sysdeps/posix/seekdir.c: ... here.
53529         * sysdeps/unix/telldir.c: Renamed to ...
53530         * sysdeps/posix/telldir.c: ... here.
53531         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
53532         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
53533         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
53534         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
53536         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
53537         * bits/fcntl.h: ... here.
53539         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
53540         not 0.
53541         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
53542         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
53543         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
53544         (struct flock): Move l_start, l_len to the beginning.
53545         Use __pid_t for l_pid.
53546         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
53547         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
53548         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
53549         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
53550         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
53551         [__USE_LARGEFILE64] (struct flock64): New type.
53552         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
53554         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
53555         * bits/dirent.h: ... here.
53557         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
53558         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
53560 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
53562         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53563         Change from 2.6.0 to 2.6.16.
53564         * sysdeps/unix/sysv/linux/configure: Regenerated.
53565         * sysdeps/unix/sysv/linux/kernel-features.h
53566         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
53567         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
53568         version.
53569         (__ASSUME_UTIMES): Likewise.
53570         (__ASSUME_CLONE_STOPPED): Remove.
53571         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
53572         architectures, not kernel version.
53573         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
53574         (__ASSUME_NO_CLONE_DETACHED): Likewise.
53575         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53576         (__ASSUME_WAITID_SYSCALL): Likewise.
53577         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
53578         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
53579         * README: State 2.6.16 as minimum Linux kernel version.  Do not
53580         refer to older versions.
53582 2012-08-06  Roland McGrath  <roland@hack.frob.com>
53584         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
53585         Define alphasort64 as an alias.
53586         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
53587         Define versionsort64 as an alias.
53588         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
53589         Define scandir64 as an alias.
53590         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
53591         Define scandirat64 as an alias.
53592         * dirent/alphasort64.c (alphasort64):
53593         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
53594         * dirent/versionsort64.c: Likewise.
53595         * dirent/scandir64.c: Likewise.
53596         * dirent/scandirat64.c: Likewise.
53597         * sysdeps/wordsize-64/alphasort.c: File removed.
53598         * sysdeps/wordsize-64/alphasort64.c: File removed.
53599         * sysdeps/wordsize-64/scandir.c: File removed.
53600         * sysdeps/wordsize-64/scandir64.c: File removed.
53601         * sysdeps/wordsize-64/scandirat.c: File removed.
53602         * sysdeps/wordsize-64/scandirat64.c: File removed.
53603         * sysdeps/wordsize-64/versionsort.c: File removed.
53604         * sysdeps/wordsize-64/versionsort64.c: File removed.
53605         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
53606         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
53607         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
53608         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
53609         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
53610         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
53611         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
53612         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
53614         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
53615         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53616         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
53617         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53618         [defined __arch64__ || defined __sparcv9]
53619         (__INO_T_MATCHES_INO64_T): New macro.
53620         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53621         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
53622         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
53623         * sysdeps/unix/sysv/linux/bits/dirent.h
53624         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
53625         (_DIRENT_MATCHES_DIRENT64): New macro.
53627         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
53628         Define lockf64 as an alias.
53629         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
53630         Define fseeko64 as an alias.
53631         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
53632         Define ftello64 as an alias.
53633         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
53634         Define _IO_fgetpos64 and fgetpos64 as aliases.
53635         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
53636         Define _IO_fsetpos64 and fsetpos64 as aliases.
53637         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
53638         Conditionalize body on this.
53639         * libio/fseeko64.c: Likewise.
53640         * libio/ftello64.c: Likewise.
53641         * libio/iofgetpos64.c: Likewise.
53642         * libio/iofsetpos64.c: Likewise.
53643         * sysdeps/wordsize-64/lockf.c: File removed.
53644         * sysdeps/wordsize-64/lockf64.c: File removed.
53645         * sysdeps/wordsize-64/fseeko.c: File removed.
53646         * sysdeps/wordsize-64/fseeko64.c: File removed.
53647         * sysdeps/wordsize-64/ftello.c: File removed.
53648         * sysdeps/wordsize-64/ftello64.c: File removed.
53649         * sysdeps/wordsize-64/iofgetpos.c: File removed.
53650         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
53651         * sysdeps/wordsize-64/iofsetpos.c: File removed.
53652         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
53653         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
53654         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
53655         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
53656         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
53657         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
53658         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
53659         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
53660         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
53661         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
53662         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
53664         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
53665         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53666         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
53667         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53668         [defined __arch64__ || defined __sparcv9]
53669         (__OFF_T_MATCHES_OFF64_T): New macro.
53670         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53671         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
53672         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53673         (__OFF_T_MATCHES_OFF64_T): New macro.
53675 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
53677         * stdlib/secure-getenv.c (__secure_getenv): Replace
53678         GLIBC_2_16 with GLIBC_2_17.
53680 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
53682         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
53683         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
53685 2012-08-03  David S. Miller  <davem@davemloft.net>
53687         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53689 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
53691         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
53692         Remove.
53693         (__ASSUME_CORRECT_SI_PID): Likewise.
53694         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
53695         (__ASSUME_TMPFS_NAME): Likewise.
53696         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
53697         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
53698         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
53699         (HAVE_AUX_SECURE): Make definition unconditional.
53700         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
53701         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
53703 2012-08-03  Roland McGrath  <roland@hack.frob.com>
53705         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
53706         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
53707         * sysdeps/mach/hurd/eloop-threshold.h: New file.
53708         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
53709         __eloop_threshold instead of SYMLOOP_MAX.
53711         * sysdeps/generic/eloop-threshold.h: New file.
53712         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
53713         of MAXSYMLINKS.
53714         * elf/chroot_canon.c (chroot_canon): Likewise.
53716 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
53718         [BZ #13717]
53719         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53720         Change to 2.6.0 everywhere.
53721         * sysdeps/unix/sysv/linux/configure: Regenerated.
53722         * sysdeps/unix/sysv/linux/kernel-features.h
53723         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
53724         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
53725         kernel versions.
53726         (__ASSUME_POSIX_TIMERS): Define unconditionally.
53727         (__ASSUME_FUTEX_REQUEUE): Remove.
53728         (__ASSUME_STATFS64): Define unconditionally.
53729         (__ASSUME_AT_SECURE): Likewise.
53730         (__ASSUME_CORRECT_SI_PID): Likewise.
53731         (__ASSUME_TGKILL): Define without depending on kernel version for
53732         i386.
53733         (__ASSUME_UTIMES): Likewise.
53734         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
53735         kernel version.
53736         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
53737         (__ASSUME_TMPFS_NAME): Likewise.
53738         * README: Update reference to Linux kernel versions.
53740 2012-08-02  Marek Polacek  <polacek@redhat.com>
53742         [BZ# 14150]
53743         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
53744         libc_cv_asm_type_prefix with %.
53745         * configure: Regenerated.
53746         * include/libc-symbols.h: Remove comment about
53747         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
53748         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
53749         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
53750         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
53751         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
53752         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
53753         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
53754         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
53755         * elf/tst-unique2mod1.c: Likewise.
53756         * elf/tst-unique1mod2.c: Likewise.
53757         * elf/tst-unique1mod1.c: Likewise.
53758         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
53759         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
53760         Replace ASM_TYPE_DIRECTIVE with .type.
53761         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53762         * sysdeps/i386/sysdep.h: Likewise.
53763         * sysdeps/x86_64/sysdep.h: Likewise.
53764         * sysdeps/sh/sysdep.h: Likewise.
53765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53766         Do not define ASM_TYPE_DIRECTIVE.
53767         * sysdeps/powerpc/sysdep.h: Likewise.
53768         * sysdeps/powerpc/powerpc32/sysdep.h:
53769         Replace ASM_TYPE_DIRECTIVE with .type.
53770         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
53771         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53772         * sysdeps/i386/fpu/e_powf.S: Likewise.
53773         * sysdeps/i386/fpu/e_expl.S: Likewise.
53774         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53775         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53776         * sysdeps/i386/fpu/e_pow.S: Likewise.
53777         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53778         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53779         * sysdeps/i386/fpu/s_expm1.S: Likewise.
53780         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53781         * sysdeps/i386/fpu/e_log2.S: Likewise.
53782         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53783         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53784         * sysdeps/i386/fpu/e_powl.S: Likewise.
53785         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53786         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53787         * sysdeps/i386/fpu/e_logl.S: Likewise.
53788         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53789         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53790         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53791         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53792         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53793         * sysdeps/i386/fpu/e_log.S: Likewise.
53794         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53795         * sysdeps/i386/fpu/e_logf.S: Likewise.
53796         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53797         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53798         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53799         * sysdeps/i386/fpu/e_log10.S: Likewise.
53800         * sysdeps/i386/fpu/s_frexp.S: Likewise.
53801         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53802         * sysdeps/i386/fpu/s_asinh.S: Likewise.
53803         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53804         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53805         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
53806         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53807         * sysdeps/i386/i686/strtok.S: Likewise.
53808         * sysdeps/i386/i386-mcount.S: Likewise.
53809         * sysdeps/i386/strtok.S: Likewise.
53810         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
53811         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53812         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53813         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53814         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53815         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53816         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53817         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53818         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53819         * sysdeps/x86_64/_mcount.S: Likewise.
53820         * sysdeps/x86_64/strtok.S: Likewise.
53821         * sysdeps/sh/_mcount.S: Likewise.
53823 2012-08-01  Roland McGrath  <roland@hack.frob.com>
53825         * libio/iofopen.c: Include <fcntl.h>.
53826         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
53827         (_IO_fopen64, fopen64): Define as aliases.
53828         * libio/iofopen64.c: Include <fcntl.h>.
53829         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
53830         Conditionalize body on this.
53831         * sysdeps/wordsize-64/iofopen.c: File removed.
53832         * sysdeps/wordsize-64/iofopen64.c: File removed.
53834 2012-08-01  Marek Polacek  <polacek@redhat.com>
53836         * libc/Makeconfig: Use elf in place of binfmt-subdir.
53837         Use dlfcn directly instead of a variable.
53838         (binfmt-subdir): Do not define.
53839         (dlfcn): Likewise.
53841 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
53843         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
53844         Remove all definitions.
53845         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
53846         <kernel-features.h>.
53847         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
53848         (miss_F_GETOWN_EX): Remove all definitions.
53849         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
53850         macro definition.
53851         [!__ASSUME_FCNTL64]: Remove conditional code.
53852         [__ASSUME_FCNTL64]: Make code unconditional.
53853         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
53854         <kernel-features.h>.
53855         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
53856         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
53857         (lockf64) [__NR_fcntl64]: Make code unconditional.
53858         (lockf64) [__ASSUME_FCNTL64]: Likewise.
53860         * sysdeps/unix/sysv/linux/kernel-features.h
53861         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
53862         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
53863         Make code unconditional.
53864         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53865         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
53867         [__NR_vfork]: Make code unconditional.
53868         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53869         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
53871         [__NR_vfork]: Make code unconditional.
53872         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53873         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53875 2012-08-01  Roland McGrath  <roland@hack.frob.com>
53877         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
53878         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
53880         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53881         Define mkstemp64 as an alias.
53882         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53883         Define mkstemps64 as an alias.
53884         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53885         Define mkostemp64 as an alias.
53886         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53887         Define mkostemps64 as an alias.
53888         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
53889         Conditionalize body on this.
53890         * misc/mkostemp64.c: Likewise.
53891         * misc/mkostemps64.c: Likewise.
53892         * misc/mkstemps64.c: Likewise.
53893         * sysdeps/wordsize-64/mkstemp64.c: File removed.
53894         * sysdeps/wordsize-64/mkostemp64.c: File removed.
53895         * sysdeps/wordsize-64/mkostemp.c: File removed.
53896         * sysdeps/wordsize-64/mkstemp.c: File removed.
53897         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
53898         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
53899         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
53900         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
53902         [BZ #14138]
53903         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
53904         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
53905         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
53906         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
53908         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
53909         compat_symbol macros from <shlib-compat.h> rather than the underlying
53910         default_symbol_version and symbol_version macros, so that DEFAULT
53911         lines in shlib-versions are respected.
53912         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
53914 2012-08-01  Florian Weimer  <fweimer@redhat.com>
53916         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
53917         Declare with warn_unused_result.
53918         (setgid, setregid, setegid, setresgid): Likewise.
53919         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
53920         Likewise.
53921         * WUR-REPORT: Remove set*id functions.
53923 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
53925         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
53927 2012-07-31  Roland McGrath  <roland@hack.frob.com>
53929         [BZ #10191]
53930         * include/sys/socket.h (__libc_accept, __libc_accept4):
53931         Add attribute_hidden.
53932         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
53934         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
53935         use of PTR_MANGLE.
53936         * inet/getnetgrent_r.c (setup): Likewise.
53938         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
53940 2012-07-31  David S. Miller  <davem@davemloft.net>
53942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53944 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
53946         [BZ #13629]
53947         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
53948         value between 1.0 and 2.0 and smaller part has absolute value less
53949         than 1.0.
53950         * math/s_clog10.c (__clog10): Likewise.
53951         * math/s_clog10f.c (__clog10f): Likewise.
53952         * math/s_clog10l.c (__clog10l): Likewise.
53953         * math/s_clogf.c (__clogf): Likewise.
53954         * math/s_clogl.c (__clogl): Likewise.
53955         * math/libm-test.inc (clog_test): Add more tests.
53956         (clog10_test): Likewise.
53957         * sysdeps/i386/fpu/libm-test-ulps: Update.
53958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53960 2012-07-31  Florian Weimer  <fweimer@redhat.com>
53962         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
53963         Exit with zero in case no suitable GID is found, and write a
53964         message to standard error.
53966 2012-07-30  Roland McGrath  <roland@hack.frob.com>
53968         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
53969         rather than to 1.
53970         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
53971         (MAXPATHLEN): Removed.
53972         (NOGROUP, NODEV): New macros.
53973         (setbit, clrbit, isset, isclr): New macros.
53974         (howmany, roundup, powerof2): New macros.
53975         (DEV_BSIZE): New macro.
53977         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
53978         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
53980         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
53981         definition on [!__NO_LONG_DOUBLE_MATH].
53983         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
53984         PTR_MANGLE and PTR_DEMANGLE.
53986         * socket/accept4.c (accept4): Rename to __libc_accept4.
53987         Define accept4 as a weak alias.
53989         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
53990         on [_DIRENT_HAVE_D_TYPE].
53991         * io/ftw.c (ftw_dir): Likewise.
53993         * io/xmknod.c (__xmknod): Don't check PATH for being null.
53995         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
53997         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
53998         Use the BSD numbers rather than the arbitrary ones we had.
53999         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
54000         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
54001         (SIGXCPU, SIGXFSZ): New macros.
54002         (_NSIG): Now 32.
54004         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
54005         initializer on [_LIBC_REENTRANT].
54007         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
54008         definitions inside [_POSIX_MAPPED_FILES].
54010         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
54012         * dirent/opendir.c: Include <fcntl.h>.
54014         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
54015         (__libc_getspecific): Likewise.
54016         (__libc_key_create): Likewise.
54018         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
54019         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
54020         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
54021         (tmpfile64): Define as alias.
54022         * sysdeps/wordsize-64/tmpfile.c: File removed.
54023         * sysdeps/wordsize-64/tmpfile64.c: File removed.
54024         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
54025         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
54027         * stdio-common/vfscanf.c: Include <stdbool.h>.
54028         * nss/makedb.c: Likewise.
54029         * stdio-common/_i18n_number.h: Likewise.
54030         * argp/argp-help.c: Likewise.
54031         * posix/wordexp.c: Likewise.
54032         * sysdeps/posix/spawni.c: Likewise.
54033         * nss/nss_files/files-initgroups.c: Likewise.
54034         * stdio-common/reg-modifier.c: Include <stdlib.h>.
54035         * nss/nss_files/files-initgroups.c: Likewise.
54036         * nss/nss_db/db-netgrp.c: Likewise.
54037         * nss/nss_db/db-initgroups.c: Likewise.
54038         * io/fchmodat.c: Include <sys/stat.h>.
54040         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
54041         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
54043         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
54044         [HAVE_MMAP].
54046         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
54047         Add multiple inclusion protection.
54049 2012-07-27  David S. Miller  <davem@davemloft.net>
54051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54053 2012-07-27  Gary Benson  <gbenson@redhat.com>
54055         [BZ #14298]
54056         * elf/rtld.c: Include <stap-probe.h>.
54057         (dl_main): Added static probes "init_start" and "init_complete".
54058         * elf/dl-load.c: Include <stap-probe.h>.
54059         (lose): Take new parameter "nsid".
54060         Added static probe "map_failed".
54061         (_dl_map_object_from_fd): Pass namespace id to lose.
54062         Added static probe "map_start".
54063         (open_verify): Pass namespace id to lose.
54064         * elf/dl-open.c: Include <stap-probe.h>.
54065         (dl_open_worker) Added static probes "map_complete", "reloc_start"
54066         and "reloc_complete".
54067         * elf/dl-close.c: Include <stap-probe.h>.
54068         (_dl_close_worker): Added static probes "unmap_start" and
54069         "unmap_complete".
54070         * elf/rtld-debugger-interface.txt: New file documenting the above.
54072 2012-07-26  Roland McGrath  <roland@hack.frob.com>
54074         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
54075         rather than a string variable.
54076         * sunrpc/rpc_main.c (h_output): Likewise.
54077         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
54079 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
54081         * inet/check_native.c: New file.
54083 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
54085         [BZ #13629]
54086         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
54087         if larger part has absolute value 1.0.
54088         * math/s_clog10.c (__clog10): Likewise.
54089         * math/s_clog10f.c (__clog10f): Likewise.
54090         * math/s_clog10l.c (__clog10l): Likewise.
54091         * math/s_clogf.c (__clogf): Likewise.
54092         * math/s_clogl.c (__clogl): Likewise.
54093         * math/libm-test.inc (clog_test): Add more tests.
54094         (clog10_test): Likewise.
54095         * sysdeps/i386/fpu/libm-test-ulps: Update.
54096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54098         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
54099         (pltexit): Likewise.
54100         (La_regs): Likewise.
54101         (La_retval): Likewise.
54102         (int_retval): Likewise.
54103         Update #error for removed macros to refer only to definitions in
54104         tst-audit.h.
54105         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
54106         macro.
54107         (pltexit): Likewise.
54108         (La_regs): Likewise.
54109         (La_retval): Likewise.
54110         (int_retval): Likewise.
54111         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
54112         macro.
54113         (pltexit): Likewise.
54114         (La_regs): Likewise.
54115         (La_retval): Likewise.
54116         (int_retval): Likewise.
54117         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
54118         macro.
54119         (pltexit): Likewise.
54120         (La_regs): Likewise.
54121         (La_retval): Likewise.
54122         (int_retval): Likewise.
54123         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
54124         macro.
54125         (pltexit): Likewise.
54126         (La_regs): Likewise.
54127         (La_retval): Likewise.
54128         (int_retval): Likewise.
54129         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
54130         macro.
54131         (pltexit): Likewise.
54132         (La_regs): Likewise.
54133         (La_retval): Likewise.
54134         (int_retval): Likewise.
54135         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
54136         macro.
54137         (pltexit): Likewise.
54138         (La_regs): Likewise.
54139         (La_retval): Likewise.
54140         (int_retval): Likewise.
54141         * sysdeps/generic/tst-audit.h: Update comment to refer only to
54142         macro definitions in tst-audit.h.
54143         * sysdeps/i386/tst-audit.h: New file.
54144         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
54145         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
54146         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
54147         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
54148         * sysdeps/sh/tst-audit.h: Likewise.
54149         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
54150         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
54151         * sysdeps/x86_64/tst-audit.h: Likewise.
54153 2012-07-26  Andreas Jaeger  <aj@suse.de>
54155         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
54156         ptrace.
54158         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
54159         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
54160         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
54161         PTRACE_O_MASK.
54162         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
54163         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
54164         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
54166         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
54167         value.
54169         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
54170         _sigsys.
54171         (si_call_addr, si_syscall, si_arch): Define new macro.
54172         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
54173         _sigsys.
54174         (si_call_addr, si_syscall, si_arch): Define new marcro.
54175         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
54176         _sigsys.
54177         (si_call_addr, si_syscall, si_arch): Define new macro.
54178         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
54179         _sigsys.
54180         (si_call_addr, si_syscall, si_arch): Define new macro.
54182 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54184         [BZ #13717]
54185         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54186         Change to 2.4.21 where previously 2.4.1.
54187         * sysdeps/unix/sysv/linux/configure: Regenerated.
54188         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
54189         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
54190         Linux kernel version.
54191         (__ASSUME_STD_AUXV): Remove.
54192         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
54193         kernel version.
54194         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
54195         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
54196         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
54197         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
54198         (__ASSUME_NETLINK_SUPPORT): Likewise.
54199         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
54200         (__no_netlink_support): Remove conditional definition.
54201         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
54202         Remove.
54203         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54204         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
54205         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
54206         (if_nameindex_ioctl): Remove.
54207         (if_nameindex_netlink): Do not handle __no_netlink_support.
54208         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54209         code.
54210         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
54211         Remove conditional code.
54212         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54213         code.
54214         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
54215         unconditional.
54216         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54217         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
54218         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
54219         Remove.
54220         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
54221         [!__ASSUME_STD_AUXV]: Remove conditional code.
54222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
54223         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
54224         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
54225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
54226         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
54227         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54228         code.
54229         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54231         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
54232         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54233         conditional code.
54234         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54236         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54237         code.
54238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54239         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54240         conditional code.
54241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
54242         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54243         code unconditional.
54244         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54245         conditional code.
54246         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54247         unconditional.
54248         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54249         conditional code.
54250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54251         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54252         unconditional.
54253         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54254         conditional code.
54255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
54256         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54257         code unconditional.
54258         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54259         conditional code.
54260         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54261         unconditional.
54262         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54263         conditional code.
54264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
54265         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54266         code unconditional.
54267         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54268         conditional code.
54269         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54270         unconditional.
54271         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54272         conditional code.
54274 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
54276         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
54277         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
54278         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
54279         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
54280         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
54281         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
54282         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
54283         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
54284         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
54285         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
54286         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
54287         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
54288         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
54289         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
54290         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
54291         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
54292         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
54293         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
54294         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
54295         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
54296         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
54297         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
54298         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
54300 2012-07-25  Florian Weimer  <fweimer@redhat.com>
54302         * Versions.def: Add GLIBC_2.17.
54303         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
54304         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
54305         Introduce __libc_secure_getenv.
54306         * stdlib/Versions (2.17): Add secure_getenv
54307         (GLIBC_PRIVATE): Add __libc_secure_getenv.
54308         * stdlib/secure-getenv.c: Rename __secure_getenv to
54309         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
54310         symbol __secure_getenv for GLIBC_2.0.
54311         * stdlib/tst-secure-getenv.c: New.
54312         * stdlib/Makefile (tests): Add testcase.
54313         * manual/startup.texi (Environment Access): Document
54314         secure_getenv.
54315         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
54316         __libc_secure_getenv.
54317         * inet/ruserpass.c (ruserpass): Likewise.
54318         * malloc/mtrace.c (mtrace): Likewise.
54319         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
54320         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
54321         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
54322         * sysdeps/posix/tempname.c: Likewise.  Evaluate
54323         HAVE_SECURE_GETENV.
54324         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
54325         __secure_getenv to __libc_secure_getenv.
54326         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
54327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54328         Likewise.
54329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54330         Likewise.
54331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54333         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54336         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54337         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54339 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54341         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
54342         (struct La_i86_retval): Likewise.
54343         (struct La_x86_64_regs): Likewise.
54344         (struct La_x86_64_retval): Likewise.
54345         (struct La_x32_regs): Likewise.
54346         (struct La_x32_retval): Likewise.
54347         (struct La_ppc32_regs): Likewise.
54348         (struct La_ppc32_retval): Likewise.
54349         (struct La_ppc64_regs): Likewise.
54350         (struct La_ppc64_retval): Likewise.
54351         (struct La_sh_regs): Likewise.
54352         (struct La_sh_retval): Likewise.
54353         (struct La_s390_32_regs): Likewise.
54354         (struct La_s390_32_retval): Likewise.
54355         (struct La_s390_64_regs): Likewise.
54356         (struct La_s390_64_retval): Likewise.
54357         (struct La_sparc32_regs): Likewise.
54358         (struct La_sparc32_retval): Likewise.
54359         (struct La_sparc64_regs): Likewise.
54360         (struct La_sparc64_retval): Likewise.
54361         (struct audit_ifaces): Remove architecture-specific pltenter and
54362         pltexit members.
54363         * sysdeps/i386/ldsodefs.h: New file.
54364         * sysdeps/powerpc/ldsodefs.h: Likewise.
54365         * sysdeps/s390/ldsodefs.h: Likewise.
54366         * sysdeps/sh/ldsodefs.h: Likewise.
54367         * sysdeps/sparc/ldsodefs.h: Likewise.
54368         * sysdeps/x86_64/ldsodefs.h: Likewise.
54370 2012-07-25  Marek Polacek  <polacek@redhat.com>
54372         [BZ #6808]
54373         * math/libm-test.inc (yn_test): Add another test.
54374         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
54375         to ERANGE when the result is +-Inf.
54376         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54377         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
54378         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
54379         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
54381 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
54383         * conform/data/time.h-data (NULL): Use macro-constant.  Require
54384         equal to 0.
54385         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
54386         clock_t.
54387         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
54389 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
54391         * configure.in <sysdeps resolving>: Correct printing
54392         Implies_before.
54393         * configure: Regenerate.
54395 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
54397         * math/w_ilogb.c: Include <limits.h>.
54398         * math/w_ilogbl.c: Likewise.
54400 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54402         * manual/lang.texi (__va_copy): Document primarily as ISO C99
54403         va_copy.  Document allowing for unavailable va_copy only as
54404         pre-C99 compatibility.
54405         * manual/string.texi (Copying and Concatenation): Use va_copy
54406         instead of __va_copy in concat example.
54408 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
54410         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
54411         (__sendto): Use create_address_port.  Initialize APORT and deallocate
54412         it if not null.
54414         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
54415         with O_NOLINK passed to __file_name_lookup.
54417         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
54418         with O_NOLINK passed to __file_name_lookup.
54420         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
54421         negative N or less than NGIDS.
54423         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
54424         type to string_t.  Set ERANGE as errno and return it if NAME is not big
54425         enough.  Use memcpy instead of strncpy.
54427 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54429         * elf/Makefile (check-data): Remove.
54430         (localplt.data): New vpath directive.
54431         ($(objpfx)check-localplt.out): Use localplt.data from vpath
54432         instead of $(check-data).
54433         * scripts/data/localplt-generic.data: Move to ...
54434         * sysdeps/generic/localplt.data: ... here.
54435         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
54436         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
54437         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
54438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
54439         ... here.
54440         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
54441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
54442         ... here.
54443         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
54444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
54445         ... here.
54446         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
54447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
54448         ... here.
54449         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
54450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
54451         ... here.
54452         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
54453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
54454         ... here.
54456 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54458         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
54459         PPC32 and PPC64 files.
54460         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
54461         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
54463 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54465         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
54466         __makecontext_ret to ...
54467         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
54468         ... here and call exit if uc_link is NULL.  New file.
54469         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
54470         __makecontext_ret.S.
54471         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
54472         __makecontext_ret to ...
54473         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
54474         ... here and call exit if uc_link is NULL.  New file.
54475         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
54476         __makecontext_ret.S.
54478 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54480         * elf/elf.h (R_390_IRELATIVE): New definition.
54481         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
54482         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
54483         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
54484         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54485         (elf_machine_lazy_rel): Likewise.
54486         * sysdeps/s390/dl-irel.h: New file.
54487         * sysdeps/s390/s390-64/memcpy.S: New asm code.
54488         * sysdeps/s390/s390-64/memset.S: New asm code.
54489         * sysdeps/s390/s390-64/memcmp.S: New asm code.
54490         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
54491         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
54492         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
54493         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
54494         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
54495         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
54496         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
54497         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
54498         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
54499         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
54500         * sysdeps/s390/s390-32/memcpy.S: New asm code.
54501         * sysdeps/s390/s390-32/memset.S: New asm code.
54502         * sysdeps/s390/s390-32/memcmp.S: New asm code.
54504 2012-07-17  Marek Polacek  <polacek@redhat.com>
54506         [BZ #14349]
54507         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
54508         * sysdeps/s390/s390-64/configure.in: Likewise.
54509         * sysdeps/sparc/configure.in: Likewise.
54510         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
54511         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
54512         * sysdeps/i386/configure.in: Likewise.
54513         * sysdeps/x86_64/configure.in: Likewise.
54514         * sysdeps/sh/configure.in: Likewise.
54515         * sysdeps/s390/s390-32/configure: Regenerated.
54516         * sysdeps/s390/s390-64/configure: Likewise.
54517         * sysdeps/x86_64/configure: Likewise.
54518         * sysdeps/sh/configure: Likewise.
54519         * sysdeps/powerpc/powerpc64/configure: Likewise.
54520         * sysdeps/powerpc/powerpc32/configure: Likewise.
54521         * sysdeps/sparc/configure: Likwise.
54522         * sysdeps/i386/configure: Likewise.
54524         * elf/dl-open.c: Comment fixes.
54526 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
54528         * Makefile [CXX] (check-data): Remove.
54529         [CXX] (c++-types.data): New vpath directive.
54530         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
54531         vpath.  Do not allow for C++ type data being missing.
54532         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
54533         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
54534         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
54535         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
54536         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
54537         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
54538         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
54539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
54540         ... here.
54541         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
54542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
54543         ... here.
54544         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
54545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
54546         ... here.
54547         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
54548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
54549         ... here.
54550         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
54551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
54552         ... here.
54553         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
54554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
54555         ... here.
54556         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
54557         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
54558         ... here.
54559         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
54560         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
54562         * elf/tls-macros.h (TLS_LE): Move architecture-specific
54563         definitions to architecture-specific files.
54564         (TLS_IE): Likewise.
54565         (TLS_LD): Likewise.
54566         (TLS_GD): Likewise.
54567         * sysdeps/i386/tls-macros.h: New file.
54568         * sysdeps/powerpc/tls-macros.h: Likewise.
54569         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
54570         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
54571         * sysdeps/sh/tls-macros.h: Likewise.
54572         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
54573         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
54574         * sysdeps/x86_64/tls-macros.h: Likewise.
54576 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
54578         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
54579         zero value for regular exit case.
54581         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
54582         (__start_context): Preserve zero value for regular exit case.
54584 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
54585             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54587         * manual/setjmp.texi (setcontext): Clarify normal process
54588         termination when uc_link is the null pointer.
54589         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
54590         exit call.
54592 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
54594         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
54595         preprocessor.  Test for each exception mask separately.
54597 2012-07-16  Andreas Jaeger  <aj@suse.de>
54599         * po/ru.po: Update from translation team.
54601 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
54603         * conform/data/string.h-data (NULL): Use macro-constant.  Require
54604         equal to 0.
54605         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
54606         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
54607         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
54608         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
54609         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54611 2012-07-13  Andreas Jaeger  <aj@suse.de>
54613         * po/fr.po: Update from translation team.
54615 2012-07-12  Marek Polacek  <polacek@redhat.com>
54617         [BZ #14173]
54618         * math/libm-test.inc (yn_test): Add test for BZ #14173.
54619         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
54620         loop condition.
54622 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
54624         [BZ #13717]
54625         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54626         Change to 2.4.1 where previously 2.4.0.
54627         * sysdeps/unix/sysv/linux/configure: Regenerated.
54628         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
54629         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
54630         version.
54631         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
54632         (__ASSUME_AT_CLKTCK): Remove.
54633         (__ASSUME_AT_PAGESIZE): Likewise.
54634         (__ASSUME_AT_XID): Likewise.
54635         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
54636         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
54637         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
54638         unconditionally.
54639         (HAVE_AUX_PAGESIZE): Likewise.
54640         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
54641         [__ASSUME_AT_CLKTCK]: Make code unconditional.
54642         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
54644 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
54646         [BZ #14307]
54647         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
54648         the temporary buffer used to invoke __gethostbyname2_r,
54649         __gethostbyaddr_r and gethostbyname4_r to make room for struct
54650         host_data / struct gaih_addrtuple.
54651         * resolv/nss_dns/dns-host.c (global scope): Move definition of
54652         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
54653         header file nss/nsswitch.h.
54654         * nss/nsswitch.h (global scope): Add definition of implementation
54655         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
54656         resolv/nss_dns/dns-host.c).
54658 2012-07-11  Andreas Jaeger  <aj@suse.de>
54660         * po/fr.po: Update from translation team.
54662         * po/sv.po: Update from translation team
54663         * po/fr.po: Another update from translation team.
54665 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54667         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
54668         for subnormals or multiply small sinh result by itself.
54669         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54672 2012-07-11  David S. Miller  <davem@davemloft.net>
54674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54676 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
54678         [BZ #14347]
54679         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
54680         (INTERNAL_MARK): Shift it here.
54682 2012-07-10  Marek Polacek  <polacek@redhat.com>
54684         [BZ #14151]
54685         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
54686         libc_cv_asm_global_directive with .globl.
54687         * configure: Regenerated.
54688         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
54689         with .globl.
54690         * sysdeps/i386/configure: Regenerated.
54691         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
54692         with .globl.
54693         * sysdeps/x86_64/configure: Regenerated.
54694         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
54695         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
54696         * elf/tst-unique2mod2.c: Likewise.
54697         * elf/tst-unique2mod1.c: Likewise.
54698         * elf/tst-unique1mod2.c: Likewise.
54699         * elf/tst-unique1mod1.c: Likewise.
54700         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54701         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54702         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54703         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54704         * sysdeps/mach/sysdep.h: Likewise.
54705         * sysdeps/i386/sysdep.h: Likewise.
54706         * sysdeps/i386/i386-mcount.S: Likewise.
54707         * sysdeps/x86_64/_mcount.S: Likewise.
54708         * sysdeps/x86_64/sysdep.h: Likewise.
54709         * sysdeps/sh/_mcount.S: Likewise.
54710         * sysdeps/sh/sysdep.h: Likewise.
54711         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
54712         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
54713         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
54714         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54715         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
54716         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
54717         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
54718         * locale/localeinfo.h: Likewise.
54719         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
54720         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
54722 2012-07-09  Roland McGrath  <roland@hack.frob.com>
54724         [BZ #14336]
54725         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
54726         system".
54727         * manual/message.texi (The Uniforum approach): Likewise.
54728         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
54729         (glibc iconv Implementation): Likewise.
54731 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
54733         [BZ #14337]
54734         * math/s_clog.c (__clog): Avoid scaling a value down where that
54735         could result in underflow.
54736         * math/s_clog10.c (__clog10): Likewise.
54737         * math/s_clog10f.c (__clog10f): Likewise.
54738         * math/s_clog10l.c (__clog10l): Likewise.
54739         * math/s_clogf.c (__clogf): Likewise.
54740         * math/s_clogl.c (__clogl): Likewise.
54741         * math/libm-test.inc (clog_test): Add more tests.
54742         (clog10_test): Likewise.
54743         * sysdeps/i386/fpu/libm-test-ulps: Update.
54744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54746 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
54748         [BZ #14283]
54749         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
54750         by 7 not 8 to examine high bit of fractional part.
54752         [BZ #14042]
54753         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
54754         for call to __mcount_internal.
54755         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
54756         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
54757         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
54759 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
54761         [BZ #14154]
54762         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
54763         approximation for values within 0x1p-13f of an odd multiple of
54764         pi/4.
54765         * math/libm-test.inc (tan_test): Do not allow spurious underflow
54766         exception.  Add more tests.
54767         * sysdeps/i386/fpu/libm-test-ulps: Update.
54769         [BZ #6778]
54770         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
54771         inputs and return -1 for them.  Do not check for +Inf in case not
54772         reachable for +Inf.
54773         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
54774         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
54775         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
54776         and return -1 for them.  Do not check for +Inf in case not
54777         reachable for +Inf.
54778         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
54779         define.
54780         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
54781         and return -1 for them.  Do not check for +Inf in case not
54782         reachable for +Inf.
54783         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
54784         spurious underflow.
54785         * sysdeps/i386/fpu/libm-test-ulps: Update.
54786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54788 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
54790         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
54792 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
54794         [BZ #14157]
54795         [BZ #14331]
54796         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
54797         could result in spurious underflow.  Scale down values above
54798         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
54799         * math/s_csqrtf.c (__csqrtf): Likewise.
54800         * math/s_csqrtl.c (__csqrtl): Likewise.
54801         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
54802         spurious underflow.
54803         * sysdeps/i386/fpu/libm-test-ulps: Update.
54804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54806 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
54808         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
54809         xopen-msg.sed.
54810         * catgets/xopen-msg.awk: New file.
54811         * catgets/xopen-msg.sed: Removed.
54813         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
54814         po2text.sed.
54815         * intl/po2test.awk: New file.
54816         * intl/po2test.sed: Removed.
54818 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
54820         [BZ #14328]
54821         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
54822         or multiply small sinh result by itself.
54823         * math/s_ctanf.c (__ctanf): Likewise.
54824         * math/s_ctanh.c (__ctanh): Likewise.
54825         * math/s_ctanhf.c (__ctanhf): Likewise.
54826         * math/s_ctanhl.c (__ctanhl): Likewise.
54827         * math/s_ctanl.c (__ctanl): Likewise.
54828         * math/libm-test.inc (ctan_test_tonearest): New function.
54829         (ctan_test_towardzero): Likewise.
54830         (ctan_test_downward): Likewise.
54831         (ctan_test_upward): Likewise.
54832         (ctanh_test_tonearest): Likewise.
54833         (ctanh_test_towardzero): Likewise.
54834         (ctanh_test_downward): Likewise.
54835         (ctanh_test_upward): Likewise.
54836         (main): Call these new functions.
54837         * sysdeps/i386/fpu/libm-test-ulps: Update.
54838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54840 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
54842         * .gitignore: Delete /ports entry.
54844 2012-07-03  Andreas Jaeger  <aj@suse.de>
54846         * po/bg.po: Update from translation team.
54847         * po/cs.po: Likewise.
54848         * po/de.po: Likewise.
54849         * po/hr.po: Likewise.
54850         * po/nl.pl: Likewise.
54851         * po/pl.po: Likewise.
54852         * po/vi.po: Likewise.
54854 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
54856         * Makeconfig [!+link] (+link-before-libc): New variable.
54857         [!+link] (+link-after-libc): Likewise.
54858         [!+link] (+link-tests): Likewise.
54859         [!+link] (+link): Define in terms of $(+link-before-libc) and
54860         $(+link-after-libc).
54861         [!+link-static] (+link-static-before-libc): New variable.
54862         [!+link-static] (+link-static-after-libc): Likewise.
54863         [!+link-static] (+link-static-tests): Likewise.
54864         [!+link-static] (+link-static): Define in terms of
54865         $(+link-static-before-libc) and $(+link-static-after-libc).
54866         [build-shared] (link-libc-before-gnulib): New variable.
54867         [build-shared] (link-libc-tests): Likewise.
54868         [build-shared] (link-libc): Define in terms of
54869         $(link-libc-before-gnulib).
54870         [!build-shared] (link-libc-tests): New variable.
54871         (link-libc-static-tests): New variable.
54872         [!gnulib] (gnulib-arch): New variable.
54873         [!gnulib] (gnulib-tests): Likewise.
54874         [!gnulib] (static-gnulib-arch): Likewise.
54875         [!gnulib] (static-gnulib-tests): Likewise.
54876         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
54877         Define with "=" instead of ":=".
54878         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
54879         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
54880         * Rules (binaries-all-notests): New variable.
54881         (binaries-all-tests): Likewise.
54882         (binaries-static-notests): Likewise.
54883         (binaries-static-tests): Likewise.
54884         (binaries-all): Define using $(binaries-all-notests) and
54885         $(binaries-all-tests).
54886         (binaries-static): Define using $(binaries-static-notests) and
54887         $(binaries-static-tests).
54888         (binaries-shared-tests): New variable.
54889         (binaries-shared-notests): Likewise.
54890         (binaries-shared): Remove variable.
54891         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
54892         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
54893         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
54894         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
54895         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
54896         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
54897         * elf/Makefile (sln-modules): New variable.
54898         (extra-objs): Add $(sln-modules:=.o).
54899         (ldconfig-modules): Add static-stubs.
54900         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
54901         * elf/static-stubs.c: New file.
54903         [BZ #14283]
54904         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
54905         by 7 not 8 to examine high bit of fractional part.  Use volatile
54906         variables when splitting into final array of floats if
54907         __FLT_EVAL_METHOD__ != 0.
54908         * math/libm-test.inc (cos_test): Add another test.
54909         (sin_test): Likewise.
54910         * sysdeps/i386/fpu/libm-test-ulps: Update.
54912         [BZ #14273]
54913         * math/libm-test.inc (cosh_test): Add more tests.
54915         * version.h (RELEASE): Set to "development".
54916         (VERSION): Set to "2.16.90".
54918 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
54920         * NEWS: Update copyright. Remove last-updated date.
54921         Mention math library bug fixes and timezone data changes.
54922         * README: Mention GNU/Hurd, x32, and HPPA support status.
54924 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
54926         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
54928 2012-06-27  Andreas Jaeger  <aj@suse.de>
54930         * manual/contrib.texi (Contributors): Add Samuel Thibault.
54932 2012-06-25  Andreas Jaeger  <aj@suse.de>
54934         * sysdeps/s390/fpu/libm-test-ulps: Update.
54936 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
54937             Thomas Schwinge  <thomas@codesourcery.com>
54939         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
54940         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
54941         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
54942         fanotify_mark.
54944 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
54946         * sysdeps/mach/start.c: Remove file.
54947         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
54948         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
54949         * sysdeps/sh/init-first.c: Likewise.
54951         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
54952         registers for frame unwinding purposes, add CFI directives.
54953         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
54954         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
54955         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
54956         Likewise.
54958         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
54959         __fortify_fail returning.
54960         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
54962         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
54963         sysdeps/sh/____longjmp_chk.S.
54964         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
54965         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
54966         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
54967         (gen-as-const-headers): Append sigaltstack-offsets.sym.
54969         * sysdeps/sh/abort-instr.h: New file.
54970         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
54971         process in case exit returns.
54973         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
54974         initialize the GOT register before use.
54976         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
54977         calculation of ARGC > 4.
54979         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
54980         meaningful names to some local labels.
54982 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54983             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54985         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
54986         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
54987         (__arch_compare_and_exchange_val_16_acq): Likewise.
54988         (__arch_compare_and_exchange_val_32_acq): Likewise.
54989         (atomic_exchange_and_add): Fix gUSA sequence.
54990         (atomic_add): Likewise.
54991         (atomic_add_negative): Likewise.
54992         (atomic_add_zero): Likewise.
54993         (atomic_bit_test_set): Likewise.
54995 2012-06-22  Andreas Schwab  <schwab@redhat.com>
54997         [BZ #13579]
54998         * include/link.h (struct link_map): Add l_free_initfini.
54999         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
55000         l_initfini.
55001         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
55002         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
55003         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
55004         set.
55006 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
55008         * configure.in: Use AC_LANG_SOURCE.
55009         * configure: Regenerate.
55011 2012-06-22  Roland McGrath  <roland@hack.frob.com>
55013         * configure.in (libc_cv_localstatedir): New substituted variable.
55014         * configure: Regenerated.
55015         * config.make.in (localstatedir): New variable, substituted from
55016         libc_cv_localstatedir.
55017         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
55018         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
55019         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
55020         * sysdeps/gnu/configure: Regenerated.
55022 2012-06-21  Jeff Law  <law@redhat.com>
55024         [BZ #14277]
55025         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
55026         free.  Simplify list management for _LIBC case.
55028 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
55030         [BZ #14273]
55031         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
55032         Clear sign bit of 64-bit integer value before comparing against
55033         overflow value.
55035         * sysdeps/mach/configure: Regenerated.
55037 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
55039         [BZ #14278]
55040         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
55042 2012-06-21  Jeff Law  <law@redhat.com>
55044         [BZ #13882]
55045         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
55046         uint16_t for elements in the "seen" array to avoid char overflows.
55047         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55048         * elf/dl-open.c (dl_open_worker): Likewise.
55050 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
55052         * scripts/list-sources.sh: Scan PORTS for translations.
55053         * po/libc.pot: Regenerated.
55055 2012-06-21  Andreas Jaeger  <aj@suse.de>
55057         [BZ #12194]
55058         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
55059         warning.
55060         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
55061         * bits/byteswap-16.h (__bswap_16): Likewise.
55062         * bits/byteswap.h (__bswap_constant_16): Likewise.
55064 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
55066         [BZ #14117]
55067         * sysdeps/i386/fpu_control.h: Removed.
55068         * sysdeps/x86_64/fpu_control.h: Moved to ...
55069         * sysdeps/x86/fpu_control.h: Here.
55071         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
55072         (_FPU_SETCW): Likewise.
55074 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
55076         [BZ #14117]
55077         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
55078         * sysdeps/x86/fpu/bits/mathinline.h: This.
55079         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
55081         [BZ #14050]
55082         [BZ #14117]
55083         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
55084         functions if __x86_64__ is defined.
55086 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
55088         * string/endian.h: Add !__ASSEMBLER__ condition for including
55089         conversion interfaces.
55091 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
55093         [BZ #14241]
55094         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
55095         of ABS(x) in calculating zero to negative powers other than odd
55096         integers.
55097         * math/libm-test.inc (pow_test): Add more tests.
55099 2012-06-15  Andreas Jaeger  <aj@suse.de>
55101         * manual/contrib.texi (Contributors): Update entry of Liubov
55102         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
55103         Machado Filho.
55105 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
55107         * string/string.h: Add __wur to GNU version of strerror_r.
55109 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
55111         [BZ #14229]
55112         * string/Makefile (tests): Add tst-strtok_r.
55113         * string/tst-strtok_r.c: New file.
55114         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
55115         RAX_LP/RDX_LP on SAVE_PTR.
55117 2012-06-14  Roland McGrath  <roland@hack.frob.com>
55119         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
55121 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
55123         * libm_test.inc (csqrt_test): Allow more spurious underflow
55124         exceptions.
55125         (j0_test): Likewise.
55126         (j1_test): Likewise.
55127         (y0_test): Likewise.
55128         (y1_test): Likewise.
55130 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
55132         * po/Makefile (libc.pot): Use UTF-8 charset.
55134 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
55136         [BZ #14210]
55137         Suppress sign-conversion warning from FD_SET.
55138         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
55139         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
55140         not unsigned long int.
55141         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
55143 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
55145         [BZ #14050]
55146         [BZ #14117]
55147         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
55148         __extern_always_inline instead of __extern_inline.
55149         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
55150         (__signbit): Likewise.
55151         (__signbitl): Support C++ namespace.
55152         (lrintf): New inline function.
55153         (lrint): Likewise.
55154         (llrintf): Likewise.
55155         (llrint): Likewise.
55156         (fmaxf): Likewise.
55157         (fmax): Likewise.
55158         (fminf): Likewise.
55159         (fmin): Likewise.
55160         (rint): Likewise.
55161         (rintf): Likewise.
55162         (ceil): Likewise.
55163         (ceilf): Likewise.
55164         (floor): Likewise.
55165         (floorf): Likewise.
55166         (nearbyint): Likewise.
55167         (nearbyintf): Likewise.
55169 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
55171         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
55172         non-default versions.
55174 2012-06-11  Roland McGrath  <roland@hack.frob.com>
55176         [BZ #14218]
55177         * manual/argp.texi (Argp): Reword argp_parse description slightly.
55179 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
55181         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
55182         (FE_UPWARD, FE_DOWNWARD): Don't define.
55183         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
55184         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55186         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
55187         reading it.
55188         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55189         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55191 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55193         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
55194         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
55195         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
55196         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
55198 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
55200         [BZ #14117]
55201         * sysdeps/i386/fpu/bits/fenv.h: Removed.
55202         * sysdeps/i386/fpu/Implies: New file.
55203         * sysdeps/x86_64/fpu/Implies: Likewise.
55204         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
55205         * sysdeps/x86/fpu/bits/fenv.h: This.
55207         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
55208         __SSE_MATH__.
55210 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55212         [BZ #14134]
55213         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
55214         character 0xffff that matches the last element of the
55215         conversion table.
55217 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55219         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
55220         fmodl commit.
55222 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55224         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
55225         values higher than 25.6283.
55227 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55229         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
55230         subnormal exponent extraction and add some __builtin_expect.
55231         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
55232         Fix for subnormal mantissa calculation.
55234 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
55236         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
55237         cpu2 is -1 and errno is not ENOSYS.
55239 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
55241         [BZ #14117]
55242         * sysdeps/i386/i486/bits/string.h: Renamed to ...
55243         * sysdeps/x86/bits/string.h: This.
55244         * sysdeps/x86_64/bits/string.h: Removed.
55246         * sysdeps/i386/i486/bits/string.h: Define inline functions only
55247         if not compiling for x86-64, but compiling for >= i486.
55249         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
55250         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
55252         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
55253         New macro from Linux kernel 3.4.0.
55254         (FP_XSTATE_MAGIC2): Likewise.
55255         (FP_XSTATE_MAGIC2_SIZE): Likewise.
55256         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
55257         (struct _fpx_sw_bytes): New struct.
55258         (struct _xsave_hdr): Likewise.
55259         (struct _ymmh_state): Likewise.
55260         (struct _xstate): Likewise.
55262         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
55263         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
55264         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
55265         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
55266         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
55267         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
55269         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
55270         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
55271         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
55272         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
55273         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
55274         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
55276 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55278         [BZ #13743]
55279         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
55280         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
55281         (sysdep_headers): Include sys/platform/ppc.h.
55282         * sysdeps/powerpc/test-gettimebase.c: Test for
55283         __ppc_get_timebase() to catch future ISA opcode/insn changes.
55284         * manual/Makefile (appendices): Include platform.texi.
55285         * manual/contrib.texi (Contributors): Update @node pointers.
55286         * manual/maint.texi (Maintenance): Likewise.
55287         (Platform): New node.
55288         * manual/platform.texi: New file.  Document the new features.
55290 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55291             Jakub Jelinek  <jakub@redhat.com>
55293         [BZ #14188]
55294         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
55295         where __builtin_expect is unavailable.
55297 2012-06-03  David S. Miller  <davem@davemloft.net>
55299         * stdlib/longlong.h: Updated from GCC.
55301 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
55303         [BZ #14042]
55304         * sysdeps/powerpc/powerpc32/mcount.c: New file.
55305         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
55306         __mcount_internal.
55307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
55308         (GLIBC_2.16): Likewise.
55310 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55312         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
55314 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
55317         (default-abi): New variable.
55318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
55319         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
55320         variable.
55321         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
55322         Likewise.
55323         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
55324         Likewise.
55325         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
55326         Likewise.
55328         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
55329         definition.  Document in comment.
55331 2012-06-01  David S. Miller  <davem@davemloft.net>
55333         * stdlib/longlong.h: Updated from GCC.
55335 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55337         [BZ #14117]
55338         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
55339         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
55340         sys/debugreg.h sys/io.h here.
55341         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
55342         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
55343         sys/io.h.
55344         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
55345         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
55346         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
55347         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
55348         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
55349         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
55351         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
55352         Define only if __x86_64__ is defined.
55354 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55356         [BZ #14048]
55357         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
55358         Use int64_t for variable i.
55359         * math/libm-test.inc (fmod_test): Add more tests.
55361         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
55362         z computation is not scheduled after fetestexcept.
55363         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
55364         Use math_force_eval instead of asm to ensure calculation scheduled
55365         before exception test.
55366         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
55367         Ensure a1 + u.d computation is not scheduled after fetestexcept.
55369 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
55371         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
55372         computation is not scheduled after fetestexcept.
55374 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55376         [BZ #14117]
55377         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
55378         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
55380 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55382         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
55383         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55385 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55387         [BZ #14117]
55388         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
55389         <bits/wordsize.h>.
55390         (__WCHAR_MIN): Support __WORDSIZE == 64.
55391         (__WCHAR_MAX): Likewise.
55393         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
55394         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
55396         [BZ #14183]
55397         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
55398         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
55400         [BZ #14117]
55401         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
55402         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
55404         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
55405         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
55407         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
55408         Defined to 1 if __x86_64__ isn't defined.
55409         (_STAT_VER_LINUX_OLD): New.
55410         (st_atime): Remove duplicate.
55411         (st_mtime): Likewise.
55412         (st_ctime): Likewise.
55414 2012-05-31  David S. Miller  <davem@davemloft.net>
55416         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
55417         entries.
55419 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
55421         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
55422         gen-libm-test.pl.
55424         [BZ #14132]
55425         * elf/dl-reloc.c: Include <_itoa.h>.
55426         (_dl_reloc_bad_type): Remove use of INTUSE.
55427         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
55428         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
55429         * stdio-common/psiginfo.c (psiginfo): Likewise.
55430         * stdio-common/psignal.c (psignal): Likewise.
55431         * string/strsignal.c (strsignal): Likewise.
55432         * include/signal.h (_sys_siglist): Declare hidden proto.
55433         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
55434         INTVARDEF with libc_hidden_data_def.
55435         * stdio-common/itoa-udigits.c: Likewise.
55436         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
55437         (_itoa_lower_digits_internal): Remove declaration.
55438         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
55439         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
55440         (_sys_sigabbrev_internal): Remove aliases.
55441         (_sys_siglist): Define hidden alias.
55443 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
55445         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55446         bits/sysctl.h.
55448 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55450         [BZ #14117]
55451         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
55452         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
55454         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
55455         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
55456         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
55457         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
55458         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
55459         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
55461         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
55462         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
55463         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
55465         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
55466         with __addr.
55467         (insw): Likewise.
55468         (insl): Likewise.
55469         (outsb): Likewise.
55470         (outsw): Likewise.
55471         (outsl): Likewise.
55473         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
55474         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
55475         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
55477         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
55478         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
55479         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
55480         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
55481         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
55482         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
55484         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
55485         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
55487         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
55488         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
55490         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
55491         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
55492         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
55494         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
55495         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
55496         to ...
55497         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
55499         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
55500         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
55501         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
55503         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
55504         for x86-64.
55505         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
55507 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
55509         * math/math.h (M_El): Use two more decimal places.
55510         (M_LOG2El): Likewise.
55511         (M_LOG10El): Likewise.
55512         (M_LN2l): Likewise.
55513         (M_LN10l): Likewise.
55514         (M_PIl): Likewise.
55515         (M_PI_2l): Likewise.
55516         (M_PI_4l): Likewise.
55517         (M_1_PIl): Likewise.
55518         (M_2_PIl): Likewise.
55519         (M_2_SQRTPIl): Likewise.
55520         (M_SQRT2l): Likewise.
55521         (M_SQRT1_2l): Likewise.
55523 2012-05-31  David S. Miller  <davem@davemloft.net>
55525         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
55526         values between float registers.
55527         * sysdeps/sparc/sparc64/memset.S: Likewise.
55528         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55530 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
55532         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
55533         -D_FORTIFY_SOURCE=1.
55534         (CPPFLAGS-tst-longjmp_chk.c): Define.
55535         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
55536         (CPPFLAGS-tst-longjmp_chk2.c): Define.
55537         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
55538         CFLAGS-tst-wchar-h.c.
55540 2012-05-31  Marek Polacek  <polacek@redhat.com>
55542         [BZ #14132]
55543         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
55544         __endmntent_internal): Remove declaration.
55545         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
55546         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
55547         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
55549 2012-05-30  David S. Miller  <davem@davemloft.net>
55551         * sysdeps/sparc/sparc32/soft-fp/q_util.c
55552         (___Q_simulate_exceptions): Use real FP ops rather than writing
55553         into the %fsr.
55554         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
55555         Likewise.
55557 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55559         [BZ #14117]
55560         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
55561         * sysdeps/x86/bits/xtitypes.h: This.
55563         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
55564         * sysdeps/x86/bits/wordsize.h: This.
55566         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
55567         * sysdeps/x86/bits/huge_vall.h: This.
55569         * sysdeps/i386/bits/select.h: Removed.
55570         * sysdeps/x86_64/bits/select.h: Renamed to ...
55571         * sysdeps/x86/bits/select.h: This.
55573         * sysdeps/i386/bits/setjmp.h: Removed.
55574         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
55575         * sysdeps/x86/bits/setjmp.h: This.
55577         * sysdeps/i386/bits/mathdef.h: Removed.
55578         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
55579         * sysdeps/x86/bits/mathdef.h: This.
55581 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
55583         [BZ #14132]
55584         * include/sys/socket.h (__connect_internal)
55585         (__libc_sa_len_internal): Remove declaration.
55586         (__connect, __libc_sa_len): Declare hidden_proto.
55587         (SA_LEN): Remove use of INTUSE.
55588         * socket/connect.c: Add libc_hidden_def.
55589         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
55590         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
55591         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
55592         alias.
55593         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
55594         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
55595         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
55596         of adding _internal alias.
55598 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55600         [BZ #14117]
55601         * sysdeps/i386/bits/link.h: Removed.
55602         * sysdeps/i386/bits/linkmap.h: Likewise.
55603         * sysdeps/x86_64/bits/link.h: Renamed to ...
55604         * sysdeps/x86/bits/link.h: This.
55605         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
55606         * sysdeps/x86/bits/linkmap.h: This.
55608         * sysdeps/i386/bits/endian.h: Removed.
55609         * sysdeps/x86_64/bits/endian.h: Renamed to ...
55610         * sysdeps/x86/bits/endian.h: This.
55612         * sysdeps/i386/bits/byteswap.h: Removed.
55613         * sysdeps/i386/bits/byteswap-16.h: Likewise.
55614         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
55615         * sysdeps/x86/bits/byteswap.h: This.
55616         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
55617         * sysdeps/x86/bits/byteswap-16.h: This.
55618         * sysdeps/i386/Implies: Add x86.
55619         * sysdeps/x86_64/Implies: Likewise.
55621 2012-05-30  David S. Miller  <davem@davemloft.net>
55623         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
55624         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
55625         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
55626         (FP_TRAPPING_EXCEPTIONS): Define.
55627         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
55628         (FP_TRAPPING_EXCEPTIONS): Define.
55629         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
55630         subnormals only when inexact has been signalled or underflow
55631         exceptions are enabled.
55632         (_FP_PACK_CANONICAL): Likewise.
55634 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55636         [BZ #14183]
55637         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
55638         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
55640 2012-05-30  Richard Henderson  <rth@twiddle.net>
55642         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
55643         with #ifndef NOT_IN_libc.
55645         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
55646         marked to avoid plt entry.
55648 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55650         [BZ #14112]
55651         * Makeconfig (default-abi): New macro.
55652         (abi-includes): Likewise.
55653         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
55654         $(abi-$(default-abi)-lib-soname) for soname if defined.
55655         ($(common-objpfx)gnu/lib-names.stmp): Generate from
55656         abi-variants.
55657         * Makefile (installed-stubs): Likewise.
55658         * include/stubs-biarch.h: Removed.
55659         * scripts/lib-names.awk: Only handle one library at a time.
55660         * scripts/soversions.awk: Remove WORDSIZE support.
55661         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
55662         entries.
55663         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
55664         Removed.
55665         (syscall-list-default-condition): Likewise.
55666         (syscall-list-default-condition): Likewise.
55667         (syscall-list-includes): Likewise.
55668         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
55669         syscall-list-* with abi-*.  Handle undefined abi-variants.
55670         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
55671         * sysdeps/unix/sysv/linux/i386/Implies: New file.
55672         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
55673         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
55674         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
55675         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
55676         Removed.
55677         (syscall-list-32-options): Likewise.
55678         (syscall-list-32-condition): Likewise.
55679         (syscall-list-64-options): Likewise.
55680         (syscall-list-64-condition): Likewise.
55681         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
55682         macro.
55683         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
55684         Renamed to ...
55685         (abi-*): This.
55686         (abi-64-ld-soname): New macro.
55687         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
55688         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
55689         Renamed to ...
55690         (abi-*): This.
55691         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
55692         * sysdeps/x86_64/x32/shlib-versions: Likewise.
55694 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
55696         * sysdeps/unix/sysv/linux/kernel-features.h
55697         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
55698         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
55699         include <kernel-features.h>.
55700         [!__NR_ftruncate64]: Remove conditional code.
55701         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55702         [__NR_ftruncate64]: Make code unconditional.
55703         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55704         * sysdeps/unix/sysv/linux/truncate64.c: Do not
55705         include <kernel-features.h>.
55706         [!__NR_ftruncate64]: Remove conditional code.
55707         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55708         [__NR_ftruncate64]: Make code unconditional.
55709         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
55711         include <kernel-features.h>.
55712         [!__NR_ftruncate64]: Remove conditional code.
55713         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55714         [__NR_ftruncate64]: Make code unconditional.
55715         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55717         include <kernel-features.h>.
55718         [!__NR_ftruncate64]: Remove conditional code.
55719         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55720         [__NR_ftruncate64]: Make code unconditional.
55721         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55723         * configure.in (libc_cv_fpie): Weaken to a compile test using
55724         LIBC_TRY_CC_OPTION.
55725         * configure: Regenerated.
55727 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
55730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
55731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
55732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55733         Refreshed.
55734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
55735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
55736         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
55737         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
55738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
55739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55740         Refreshed.
55742 2012-05-27  David S. Miller  <davem@davemloft.net>
55744         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
55745         (___Q_zero): New.
55746         (__Q_simulate_exceptions): Return void.  Change to simulate
55747         exceptions by writing into the %fsr.
55748         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
55749         (__Qp_handle_exceptions): Likewise.
55750         (numbers): Delete.
55751         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
55752         __Qp_handle_exceptions.
55753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
55754         __Qp_handle_exceptions.
55755         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
55756         as unused and give dummy FP_RND_NEAREST initializer.
55757         (FP_INHIBIT_RESULTS): Define.
55758         (___Q_simulate_exceptions): Update declaration.
55759         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
55760         formatting.
55761         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
55762         as unused and give dummy FP_RND_NEAREST initializer.
55763         (__Qp_handle_exceptions): Update declaration.
55764         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
55765         formatting.
55767 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
55769         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
55770         the temporary FPU control word.
55771         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
55772         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
55773         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
55774         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55775         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
55776         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
55777         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
55778         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55779         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
55780         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
55781         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55783 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55785         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
55786         fields.
55788 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
55790         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
55791         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
55792         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
55793         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
55794         Likewise.
55795         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
55796         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
55797         Likewise.
55799 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
55801         * po/h.po: Update from translation team.
55803 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
55805         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
55807         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
55808         handling of denormals.
55809         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55810         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
55811         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
55812         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
55813         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55814         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
55815         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
55816         Likewise.
55818 2012-05-26  Marek Polacek  <polacek@redhat.com>
55820         [BZ #14152]
55821         * math/libm-test.inc (fma_test): Don't always expect underflow
55822         exception.
55824 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55826         [BZ #12416]
55827         * elf/tst-execstack.c: Include stackinfo.h.
55828         (do_test): Adjust test case to ensure that pthread_getattr_np
55829         behaviour remains the same after marking stack executable.
55831 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
55833         * sysdeps/unix/sysv/linux/kernel-features.h
55834         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
55835         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
55836         kernel-features.h.
55837         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
55838         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
55839         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
55840         kernel-features.h.
55841         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
55842         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
55844 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
55846         * configure.in: Define the default includes to being none.
55847         * configure: Regenerated.
55849 2012-05-25  Roland McGrath  <roland@hack.frob.com>
55851         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
55852         * sysdeps/x86_64/setjmp.S: Likewise.
55853         * sysdeps/i386/bsd-setjmp.S: Likewise.
55854         * sysdeps/i386/bsd-_setjmp.S: Likewise.
55855         * sysdeps/i386/setjmp.S: Likewise.
55856         * sysdeps/i386/__longjmp.S: Likewise.
55857         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
55858         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
55860         * include/stap-probe.h: New file.
55861         * configure.in: Handle --enable-systemtap.
55862         * configure: Regenerated.
55863         * config.h.in (USE_STAP_PROBE): New #undef.
55864         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
55865         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
55866         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
55868 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
55870         [BZ #13717]
55871         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
55872         to 2.4.0 where earlier.
55873         * sysdeps/unix/sysv/linux/configure: Regenerated.
55874         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55875         <kernel-features.h>.
55876         [__ASSUME_32BITUIDS]: Make code unconditional.
55877         [!__ASSUME_32BITUIDS]: Remove conditional code.
55878         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
55879         <kernel-features.h>.
55880         [__ASSUME_32BITUIDS]: Make code unconditional.
55881         [!__ASSUME_32BITUIDS]: Remove conditional code.
55882         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
55883         [__ASSUME_32BITUIDS]: Make code unconditional.
55884         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
55885         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
55886         <kernel-features.h>.
55887         [__ASSUME_32BITUIDS]: Make code unconditional.
55888         [!__ASSUME_32BITUIDS]: Remove conditional code.
55889         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
55890         <kernel-features.h>.
55891         [__ASSUME_32BITUIDS]: Make code unconditional.
55892         [!__ASSUME_32BITUIDS]: Remove conditional code.
55893         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
55894         <kernel-features.h>.
55895         [__ASSUME_32BITUIDS]: Make code unconditional.
55896         [!__ASSUME_32BITUIDS]: Remove conditional code.
55897         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
55898         <kernel-features.h>.
55899         [__ASSUME_32BITUIDS]: Make code unconditional.
55900         [!__ASSUME_32BITUIDS]: Remove conditional code.
55901         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55902         <kernel-features.h>.
55903         [__ASSUME_32BITUIDS]: Make code unconditional.
55904         [!__ASSUME_32BITUIDS]: Remove conditional code.
55905         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55906         <kernel-features.h>.
55907         [__ASSUME_32BITUIDS]: Make code unconditional.
55908         [!__ASSUME_32BITUIDS]: Remove conditional code.
55909         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
55910         <kernel-features.h>.
55911         [__ASSUME_32BITUIDS]: Make code unconditional.
55912         [!__ASSUME_32BITUIDS]: Remove conditional code.
55913         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55914         <kernel-features.h>.
55915         [__ASSUME_32BITUIDS]: Make code unconditional.
55916         [!__ASSUME_32BITUIDS]: Remove conditional code.
55917         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55918         <kernel-features.h>.
55919         [__ASSUME_32BITUIDS]: Make code unconditional.
55920         [!__ASSUME_32BITUIDS]: Remove conditional code.
55921         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
55922         <kernel-features.h>.
55923         [__ASSUME_32BITUIDS]: Make code unconditional.
55924         [!__ASSUME_32BITUIDS]: Remove conditional code.
55925         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
55926         <kernel-features.h>.
55927         [__NR_setresgid] (__setresgid): Do not declare.
55928         [__ASSUME_32BITUIDS]: Make code unconditional.
55929         [!__ASSUME_32BITUIDS]: Remove conditional code.
55930         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
55931         <kernel-features.h>.
55932         [__NR_setresuid] (__setresuid): Do not declare.
55933         [__ASSUME_32BITUIDS]: Make code unconditional.
55934         [!__ASSUME_32BITUIDS]: Remove conditional code.
55935         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
55936         <kernel-features.h>.
55937         [__ASSUME_32BITUIDS]: Make code unconditional.
55938         [!__ASSUME_32BITUIDS]: Remove conditional code.
55939         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
55940         <kernel-features.h>.
55941         [__ASSUME_32BITUIDS]: Make code unconditional.
55942         [!__ASSUME_32BITUIDS]: Remove conditional code.
55943         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
55944         <kernel-features.h>.
55945         [__ASSUME_32BITUIDS]: Make code unconditional.
55946         [!__ASSUME_32BITUIDS]: Remove conditional code.
55947         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
55948         <kernel-features.h>.
55949         [__ASSUME_32BITUIDS]: Make code unconditional.
55950         [!__ASSUME_32BITUIDS]: Remove conditional code.
55951         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
55952         <kernel-features.h>.
55953         [__ASSUME_32BITUIDS]: Make code unconditional.
55954         [!__ASSUME_32BITUIDS]: Remove conditional code.
55955         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
55956         <kernel-features.h>.
55957         [__ASSUME_32BITUIDS]: Make code unconditional.
55958         [!__ASSUME_32BITUIDS]: Remove conditional code.
55959         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
55960         <kernel-features.h>.
55961         [__ASSUME_32BITUIDS]: Make code unconditional.
55962         [!__ASSUME_32BITUIDS]: Remove conditional code.
55963         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
55964         <kernel-features.h>.
55965         [__ASSUME_32BITUIDS]: Make code unconditional.
55966         [!__ASSUME_32BITUIDS]: Remove conditional code.
55967         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
55968         <kernel-features.h>.
55969         [__ASSUME_32BITUIDS]: Make code unconditional.
55970         [!__ASSUME_32BITUIDS]: Remove conditional code.
55971         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55972         <kernel-features.h>.
55973         [__ASSUME_32BITUIDS]: Make code unconditional.
55974         [!__ASSUME_32BITUIDS]: Remove conditional code.
55975         * sysdeps/unix/sysv/linux/kernel-features.h
55976         (__ASSUME_SETRESUID_SYSCALL): Remove.
55977         (__ASSUME_SETRESGID_SYSCALL): Likewise.
55978         (__ASSUME_32BITUIDS): Likewise.
55979         (__ASSUME_LDT_WORKS): Likewise.
55980         (__ASSUME_O_DIRECTORY): Likewise.
55981         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
55982         architecture but not kernel version.
55983         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
55984         (__ASSUME_MMAP2_SYSCALL): Likewise.
55985         (__ASSUME_STAT64_SYSCALL): Likewise.
55986         (__ASSUME_IPC64): Likewise.
55987         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
55988         <kernel-features.h>.
55989         [__ASSUME_32BITUIDS]: Make code unconditional.
55990         [!__ASSUME_32BITUIDS]: Remove conditional code.
55991         * sysdeps/unix/sysv/linux/opendir.c: Do not include
55992         <kernel-features.h>.
55993         [__ASSUME_O_DIRECTORY]: Make code unconditional.
55994         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
55995         132096]: Remove conditional code.
55996         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
55997         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55998         <kernel-features.h>.
55999         [__ASSUME_32BITUIDS]: Make code unconditional.
56000         [!__ASSUME_32BITUIDS]: Remove conditional code.
56001         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56002         <kernel-features.h>.
56003         [__ASSUME_32BITUIDS]: Make code unconditional.
56004         [!__ASSUME_32BITUIDS]: Remove conditional code.
56005         * sysdeps/unix/sysv/linux/setegid.c: Do not include
56006         <kernel-features.h>.
56007         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
56008         unconditional.
56009         (__setresgid): Do not declare.
56010         [__ASSUME_32BITUIDS]: Make code unconditional.
56011         [!__ASSUME_32BITUIDS]: Remove conditional code.
56012         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
56013         <kernel-features.h>.
56014         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
56015         unconditional.
56016         (__setresuid): Do not declare.
56017         [__ASSUME_32BITUIDS]: Make code unconditional.
56018         [!__ASSUME_32BITUIDS]: Remove conditional code.
56019         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56020         <kernel-features.h>.
56021         [__ASSUME_32BITUIDS]: Make code unconditional.
56022         [!__ASSUME_32BITUIDS]: Remove conditional code.
56023         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
56024         <kernel-features.h>.
56025         [__ASSUME_32BITUIDS]: Make code unconditional.
56026         [!__ASSUME_32BITUIDS]: Remove conditional code.
56028 2012-05-25  Richard Henderson  <rth@twiddle.net>
56030         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
56031         dl_hwcap to ifunc resolver.
56032         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
56033         elf_ifunc_invoke.
56034         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
56035         dl_hwcap to ifunc resolver.
56036         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
56038 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56040         [BZ #14153]
56041         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
56042         for |x| <= 2**-26, not 2**-57.
56043         * math/libm-test.inc (acos_test): Do not allow spurious underflow
56044         exception.
56046 2012-05-24  Jeff Law  <law@redhat.com>
56048         * stdio-common/Makefile (tests): Add bug25.
56049         * stdio-common/bug25.c: New test.
56051 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56053         [BZ #13576]
56054         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
56055         multiple of MALLOC_ALIGNMENT in size.
56056         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
56058 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56060         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
56061         Require >= 256.
56062         (FILENAME_MAX): Use macro-int-constant.
56063         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
56064         (_IOFBF): Use macro-int-constant.
56065         (_IOLBF): Likewise.
56066         (_IONBF): Likewise.
56067         (SEEK_CUR): Likewise.
56068         (SEEK_END): Likewise.
56069         (SEEK_SET): Likewise.
56070         (TMP_MAX): Likewise.
56071         (EOF): Use macro-int-constant.  Require < 0.
56072         (NULL): Use macro-constant.  Require == 0.
56073         (stdin): Require type to be FILE *.
56074         (stdout): Likewise.
56075         (stderr): Likewise.
56076         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
56077         macro-int-constant.
56078         (EXIT_SUCCESS): Likewise.
56079         (NULL): Use macro-constant.  Require == 0.
56080         (RAND_MAX): Use macro-int-constant.
56081         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
56082         [C99-based standards] (strtof): Require function.
56083         [C99-based standards] (strtold): Likewise.
56084         [C99-based standards] (strtoll): Likewise.
56085         [C99-based standards] (strtoull): Likewise.
56086         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56087         [ISO || ISO99 || ISO11] (limits.h): Likewise.
56088         [ISO || ISO99 || ISO11] (math.h): Likewise.
56089         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
56090         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56091         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56093 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
56095         [BZ #14132]
56096         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
56097         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
56098         * intl/dgettext.c (DCGETTEXT): Likewise.
56099         * intl/gettext.c (DCGETTEXT): Likewise.
56100         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
56101         * posix/regex_internal.h (gettext): Likewise.
56102         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
56103         Remove declaration.
56104         * include/argz.h (__argz_count_internal)
56105         (__argz_stringify_internal): Remove declaration.
56106         (__argz_count, __argz_stringify): Declare hidden proto.
56107         * intl/dcgettext.c: Remove use of INTDEF.
56108         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
56109         * string/argz-stringify.c: Likewise.
56110         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56111         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56112         Declare hidden proto.
56113         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56114         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56115         Declare hidden proto.
56116         * include/stdio.h (__asprintf_internal): Don't declare.
56117         (__asprintf): Don't define as macro.  Declare hidden proto.
56118         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
56119         (__fsetlocking): Declare hidden proto.
56120         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
56121         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
56122         hidden proto.
56123         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
56124         (_IO_setlinebuf): Remove use of INTUSE.
56125         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
56126         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
56127         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
56128         Remove declaration.
56129         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
56130         (_IO_do_flush): Remove use of INTUSE.
56131         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
56132         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
56133         (_IO_adjust_column, _IO_least_wmarker)
56134         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
56135         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
56136         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
56137         (_IO_default_doallocate, _IO_wdefault_doallocate)
56138         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
56139         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
56140         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
56141         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
56142         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
56143         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
56144         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
56145         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
56146         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
56147         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
56148         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
56149         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
56150         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
56151         proto.
56152         (_IO_flush_all_internal, _IO_adjust_column_internal)
56153         (_IO_default_uflow_internal, _IO_default_finish_internal)
56154         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
56155         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
56156         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
56157         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
56158         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
56159         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
56160         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
56161         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
56162         (_IO_file_close_internal, _IO_file_close_it_internal)
56163         (_IO_file_underflow_internal, _IO_file_overflow_internal)
56164         (_IO_file_init_internal, _IO_file_attach_internal)
56165         (_IO_file_fopen_internal, _IO_file_read_internal)
56166         (_IO_file_sync_internal, _IO_file_seek_internal)
56167         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
56168         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
56169         (_IO_str_underflow_internal, _IO_str_overflow_internal)
56170         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
56171         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
56172         (_IO_list_all_internal, _IO_link_in_internal)
56173         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
56174         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
56175         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
56176         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
56177         (_IO_do_write_internal, _IO_padn_internal)
56178         (_IO_getline_info_internal, _IO_getline_internal)
56179         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
56180         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
56181         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
56182         (_IO_vfscanf_internal, _IO_vfprintf_internal)
56183         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
56184         (_IO_init_internal, _IO_un_link_internal): Don't declare.
56185         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
56186         with libc_hidden_ver, remove use of INTUSE.
56187         * libio/genops.c: Likewise.
56188         * libio/freopen.c: Likewise.
56189         * libio/freopen64.c: Likewise.
56190         * libio/iofclose.c: Likewise.
56191         * libio/iofdopen.c: Likewise.
56192         * libio/iofflush.c: Likewise.
56193         * libio/iofflush_u.c: Likewise.
56194         * libio/iofgets.c: Likewise.
56195         * libio/iofgets_u.c: Likewise.
56196         * libio/iofopen.c: Likewise.
56197         * libio/iofopncook.c: Likewise.
56198         * libio/iofread.c: Likewise.
56199         * libio/iofread_u.c: Likewise.
56200         * libio/ioftell.c: Likewise.
56201         * libio/iofwrite.c: Likewise.
56202         * libio/iogetline.c: Likewise.
56203         * libio/iogets.c: Likewise.
56204         * libio/iogetwline.c: Likewise.
56205         * libio/iopadn.c: Likewise.
56206         * libio/iopopen.c: Likewise.
56207         * libio/ioseekoff.c: Likewise.
56208         * libio/ioseekpos.c: Likewise.
56209         * libio/iosetbuffer.c: Likewise.
56210         * libio/iosetvbuf.c: Likewise.
56211         * libio/ioungetc.c: Likewise.
56212         * libio/ioungetwc.c: Likewise.
56213         * libio/iovdprintf.c: Likewise.
56214         * libio/iovsprintf.c: Likewise.
56215         * libio/iovsscanf.c: Likewise.
56216         * libio/memstream.c: Likewise.
56217         * libio/obprintf.c: Likewise.
56218         * libio/oldfileops.c: Likewise.
56219         * libio/oldiofclose.c: Likewise.
56220         * libio/oldiofdopen.c: Likewise.
56221         * libio/oldiofopen.c: Likewise.
56222         * libio/oldiopopen.c: Likewise.
56223         * libio/oldstdfiles.c: Likewise.
56224         * libio/putc.c: Likewise.
56225         * libio/setbuf.c: Likewise.
56226         * libio/setlinebuf.c: Likewise.
56227         * libio/stdfiles.c: Likewise.
56228         * libio/strops.c: Likewise.
56229         * libio/vasprintf.c: Likewise.
56230         * libio/vscanf.c: Likewise.
56231         * libio/vsnprintf.c: Likewise.
56232         * libio/vswprintf.c: Likewise.
56233         * libio/wfiledoalloc.c: Likewise.
56234         * libio/wfileops.c: Likewise.
56235         * libio/wgenops.c: Likewise.
56236         * libio/wmemstream.c: Likewise.
56237         * libio/wstrops.c: Likewise.
56238         * libio/__fpurge.c: Likewise.
56239         * libio/__fsetlocking.c: Likewise.
56240         * assert/assert.c: Likewise.
56241         * debug/fgets_chk.c: Likewise.
56242         * debug/fgets_u_chk.c: Likewise.
56243         * debug/fread_chk.c: Likewise.
56244         * debug/fread_u_chk.c: Likewise.
56245         * debug/gets_chk.c: Likewise.
56246         * debug/obprintf_chk.c: Likewise.
56247         * debug/vasprintf_chk.c: Likewise.
56248         * debug/vdprintf_chk.c: Likewise.
56249         * debug/vsnprintf_chk.c: Likewise.
56250         * debug/vsprintf_chk.c: Likewise.
56251         * malloc/mtrace.c: Likewise.
56252         * misc/error.c: Likewise.
56253         * misc/syslog.c: Likewise.
56254         * stdio-common/asprintf.c: Likewise.
56255         * stdio-common/fxprintf.c: Likewise.
56256         * stdio-common/getw.c: Likewise.
56257         * stdio-common/isoc99_fscanf.c: Likewise.
56258         * stdio-common/isoc99_scanf.c: Likewise.
56259         * stdio-common/isoc99_vfscanf.c: Likewise.
56260         * stdio-common/isoc99_vscanf.c: Likewise.
56261         * stdio-common/isoc99_vsscanf.c: Likewise.
56262         * stdio-common/printf-prs.c: Likewise.
56263         * stdio-common/printf_fp.c: Likewise.
56264         * stdio-common/printf_fphex.c: Likewise.
56265         * stdio-common/printf_size.c: Likewise.
56266         * stdio-common/putw.c: Likewise.
56267         * stdio-common/scanf.c: Likewise.
56268         * stdio-common/sprintf.c: Likewise.
56269         * stdio-common/tmpfile.c: Likewise.
56270         * stdio-common/vfprintf.c: Likewise.
56271         * stdio-common/vfscanf.c: Likewise.
56272         * stdlib/strfmon_l.c: Likewise.
56273         * sunrpc/openchild.c: Likewise.
56274         * sunrpc/xdr_stdio.c: Likewise.
56275         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
56276         * sysdeps/mach/hurd/tmpfile.c: Likewise.
56278 2012-05-24  Roland McGrath  <roland@hack.frob.com>
56280         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56282         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
56283         in the third column, to generate for the shared library an IFUNC
56284         that uses _dl_vdso_vsym.
56285         * Makerules (COMPILE.c, compile-stdin.c): New variables.
56286         * Makeconfig (object-suffixes-noshared): New variable.
56288         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
56289         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
56290         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
56291         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
56293         [BZ #14132]
56294         * include/sys/time.h (__gettimeofday): Remove macro.
56295         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
56296         * time/gettimeofday.c (__gettimeofday): Remove #undef.
56297         Remove INTDEF.
56298         (__gettimeofday): Add libc_hidden_def.
56299         (gettimeofday): Add libc_hidden_weak.
56300         * sysdeps/mach/gettimeofday.c: Likewise.
56301         * sysdeps/posix/gettimeofday.c: Likewise.
56302         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
56303         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
56304         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
56305         (__gettimeofday_internal): Remove strong_alias.
56306         (__gettimeofday): Add libc_hidden_def.
56307         (gettimeofday): Add libc_hidden_weak.
56308         * sysdeps/unix/syscalls.list (gettimeofday):
56309         Remove __gettimeofday_internal alias.
56311 2012-05-24  Daniel Jacobowitz  <drow@false.org>
56312             H.J. Lu  <hongjiu.lu@intel.com>
56314         [BZ #12495]
56315         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
56316         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
56317         (largebin_index_32_big): New.
56318         (largebin_index): Use it for 16-byte alignment.
56319         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
56320         correction with front_misalign.
56322 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56324         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
56325         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
56326         Likewise.
56327         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
56328         Likewise.
56329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56330         Likewise.
56331         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
56332         Likewise.
56333         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
56334         Likewise.
56335         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
56336         Likewise.
56337         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
56338         Likewise.
56339         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
56340         Likewise.
56341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
56342         Likewise.
56343         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
56344         Likewise.
56345         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
56346         Likewise.
56347         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
56348         Likewise.
56350         * scripts/data/c++-types-x32-linux-gnu.data: New file.
56351         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
56353 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56355         [BZ #10846]
56356         [BZ #14036]
56357         * math/libm-test.inc (exp_test): Add test from bug 14036.
56358         (pow_test): Add test from bug 10846.
56360         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
56361         and other flags.
56362         (special_function): Do not include flags in test name.
56363         (parse_args): Likewise.
56364         * sysdeps/i386/fpu/libm-test-ulps: Update.
56365         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56366         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56367         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56370         * math/gen-libm-test.pl (%beautify): Add entries for underflow
56371         exceptions.
56372         * math/libm-test.inc ("Philosophy"): Update comment about
56373         exception testing.
56374         (UNDERFLOW_EXCEPTION): New macro.
56375         (UNDERFLOW_EXCEPTION_OK): Likewise.
56376         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
56377         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
56378         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
56379         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
56380         (INVALID_EXCEPTION_OK): Update value.
56381         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56382         (OVERFLOW_EXCEPTION_OK): Likewise.
56383         (IGNORE_ZERO_INF_SIGN): Likewise.
56384         (test_exceptions): Handle underflow exceptions.
56385         (acos_test): Update for underflow exception expectations.
56386         (cexp_test): Likewise.
56387         (clog_test): Likewise.
56388         (clog10_test): Likewise.
56389         (csqrt_test): Likewise.
56390         (ctan_test): Likewise.
56391         (ctanh_test): Likewise.
56392         (exp_test): Likewise.
56393         (exp10_test): Likewise.
56394         (exp2_test): Likewise.
56395         (expm1_test): Likewise.
56396         (fma_test): Likewise.
56397         (j0_test): Likewise.
56398         (jn_test): Likewise.
56399         (nexttoward_test): Likewise.
56400         (pow_test): Likewise.
56401         (scalbn_test): Likewise.
56402         (scalbln_test): Likewise.
56403         (tan_test): Likewise.
56404         (y1_test): Likewise.
56405         * sysdeps/i386/fpu/libm-test-ulps: Update.
56406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56408 2012-05-23  David S. Miller  <davem@davemloft.net>
56410         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56411         (__libc_sigaction): Remove unused local variables.
56413 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56415         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
56417 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
56419         mktime: avoid signed integer overflow
56420         * time/mktime.c (__mktime_internal): Do not mishandle the case
56421         where diff == INT_MIN.
56423         mktime: simplify computation of average
56424         * time/mktime.c (ranged_convert): Use new time_t_avg function
56425         instead of rolling our own (probably-slower) code.
56427         mktime: do not assume signed right shift propagates sign bit
56428         * time/mktime.c (isdst_differ): New static function.
56429         (__mktime_internal): No need to normalize tm_isdst now.
56430         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
56431         tm_isdst values.
56433         mktime: merge another wrapv change from gnulib
56434         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
56435         from some compilers.
56437         mktime: remove incorrect attempt at unusual arithmetics
56438         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
56439         The code didn't really work on such machines anyway.
56440         (TYPE_MINIMUM): Assume two's complement.
56441         (twos_complement_arithmetic): Verify that long_int and time_t
56442         are two's complement (or unsigned, in the latter case).
56444         mktime: check signed shifts on long_int and time_t, too
56445         * time/mktime.c (SHR): Check that shifts work as desired
56446         on the types long_int and time_t too, as SHR is used on
56447         such types.
56449         mktime: do not assume 'long' is wide enough
56450         * time/mktime.c (verify): Move decl up.
56451         (long_int): New type.
56452         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
56453         to remove assumption in the code that 'long' is wide enough to
56454         store year values.  This assumption is not true on x32 and on
56455         some non-glibc platforms.
56457         mktime: merge wrapv change from gnulib
56458         * time/mktime.c (WRAPV): New macro.
56459         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
56460         (guess_time_tm, __mktime_internal): Do not assume that signed
56461         integer overflow wraps around; modern compilers generate code
56462         where this assumption is no longer valid.
56464 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56466         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56467         Replace "jmp L(pseudo_end)" with "ret".
56468         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
56469         Likewise.
56471 2012-05-23  Andreas Jaeger  <aj@suse.de>
56473         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
56474         * sysdeps/unix/sysv/linux/poll.c: Remove file.
56476 2012-05-23  Andreas Jaeger  <aj@suse.de>
56477             Maximilian Attems  <max@stro.at>
56479         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
56480         New macros.
56482 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56484         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
56485         code so that pseudo_end is just ret and the stack pointer is
56486         correct also for static library in error case.
56488 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
56490         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
56491         move to syscalls.list.
56492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
56493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
56494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
56495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
56497         * manual/install.texi (Running make install): Do not mention Linux
56498         kernel version for which pt_chown is not needed.
56499         (Linux): Do not mention problems with nscd with 2.0 kernels.
56500         * INSTALL: Regenerated.
56502 2012-05-23  Andreas Jaeger  <aj@suse.de>
56504         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
56505         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
56506         macro.
56507         * sysdeps/unix/sysv/linux/s390/bits/mman.h
56508         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56509         * sysdeps/unix/sysv/linux/sh/bits/mman.h
56510         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56511         * sysdeps/unix/sysv/linux/i386/bits/mman.h
56512         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56513         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
56514         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56515         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
56516         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56517         * sysdeps/unix/sysv/linux/bits/in.h
56518         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
56520 2012-05-22  Roland McGrath  <roland@hack.frob.com>
56522         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
56523         (PREPARE_VERSION): Just use assert instead, it will be elided
56524         under [NDEBUG] anyway.
56526 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56528         * sysdeps/unix/sysv/linux/Makefile: Include
56529         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
56530         (sysdep_routines): Remove sysctl.
56531         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
56532         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
56533         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
56534         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
56535         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
56537 2012-05-22  Andreas Jaeger  <aj@suse.de>
56539         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
56540         that pseudo_end is just ret and the stack pointer is correct also
56541         for static library in error case.
56543 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
56545         [BZ #14122]
56546         * nss/nsswitch.c (defconfig_entries): New variable.
56547         (__nss_database_lookup): Don't leak defconfig entries.
56548         (nss_parse_service_list): Don't leak on error paths.
56549         (free_database_entries): New function.
56550         (free_defconfig): New function.
56551         (free_mem): Move common code to free_database_entries.
56553 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56555         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
56556         Add arch_prctl.
56557         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
56559         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
56560         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
56561         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
56562         New macro.
56563         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
56564         (INTERNAL_SYSCALL_TYPES): Likewise.
56565         (LOAD_ARGS_TYPES_[1-6]): Likewise.
56566         (LOAD_REGS_TYPES_[1-6]): Likewise.
56567         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
56568         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
56570 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56572         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
56573         copysignl for GLIBC_2_0.
56574         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
56575         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
56576         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
56577         logbl for GLIBC_2_0.
56578         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
56579         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
56581 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56583         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
56584         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56586         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56587         Use "neg %eax".
56589         * time/mktime.c: Update copyright years.
56591 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
56593         mktime: merge comment-quoting-style change from gnulib
56594         * time/mktime.c: Quote 'like this' in comments.
56595         The GNU coding standards suggest that we no longer quote `like this',
56596         as "`" and "'" are typically rendered asymmetrically nowadays.
56597         The typical gnulib style is to quote 'like this' when quoting
56598         code, and "like this" when quoting English.
56600         * time/mktime.c (compile-command): Add "-I.".
56602         mktime: merge mktime-internal.h change from gnulib
56603         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
56605         mktime: merge time_r change from gnulib
56606         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
56608         mktime: merge DEBUG change from gnulib
56609         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
56610         case system <time.h> has a #define.
56612         mktime: merge <sys/types.h> change from gnulib
56613         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
56614         since <time.t> is now guaranteed to define time_t.
56616         mktime: merge HAVE_CONFIG_H change from gnulib
56617         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
56619 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56621         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56622         Use "neg %eax".
56624         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
56625         __rlim_t cast.
56626         (struct rusage): Use anonymous union to pad each field to
56627         __syscall_slong_t.
56629 2012-05-21  David S. Miller  <davem@davemloft.net>
56631         * Makefules (o-iterator): Remove .s cases.
56632         (compile-command.s): Delete.
56633         (COMPILE.s): Delete.
56634         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
56636 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
56638         * configure.in (libc_cv_predef_stack_protector): Only consider
56639         "foobar" and "__stack_chk_fail" lines in libc_undefs.
56640         * configure: Regenerated.
56642 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56644         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56645         New macro.  Use R*LP on int and pointer.
56646         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
56647         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
56648         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
56649         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
56651         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
56652         [__WORDSIZE_TIME64_COMPAT32] instead of
56653         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
56654         (struct utmp): Likewise.
56655         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
56656         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
56657         Renamed to ...
56658         (__WORDSIZE_TIME64_COMPAT32): This.
56659         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
56660         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
56661         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
56662         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
56663         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
56664         (__WORDSIZE_TIME64_COMPAT32): New macro.
56666 2012-05-21  Andreas Jaeger  <aj@suse.de>
56668         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
56669         only if [SHARED]. Add prototype for __wcschr_ia32.
56671 2012-05-21  Roland McGrath  <roland@hack.frob.com>
56673         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
56674         of %rbp unmolested in the jmp_buf while mangling the low bits.
56675         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
56676         unmolested high bits of %rbp while demangling the low bits.
56677         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56679 2012-05-21  Andreas Jaeger  <aj@suse.de>
56681         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
56682         * sunrpc/svc_simple.c: Use it for registerrpc.
56683         * sunrpc/xcrypt.c: Use it for passwd2des.
56685         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
56687 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56689         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
56690         Don't define if [__SYSCALL_WORDSIZE != 32].
56691         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
56692         New macro.
56694 2012-05-21  Bruno Haible  <bruno@clisp.org>
56695             Andreas Jaeger  <aj@suse.de>
56697         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
56698         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
56699         inptr and inend for must_buffer_ch.
56700         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
56701         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
56702         * stdio-common/Makefile (tests): Remove bug15.
56703         (bug15-ENV): Remove macro.
56704         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
56705         anymore.
56707 2012-05-19  Andreas Jaeger  <aj@suse.de>
56708             Roland McGrath  <roland@hack.frob.com>
56710         * manual/contrib.texi: Completely rewritten. It contains now an
56711         alphabetical list of contributors and their contributions.
56713 2012-05-21  Richard Henderson  <rth@twiddle.net>
56715         * misc/getauxval.c (__getauxval): Use unsigned long int.
56716         * misc/sys/auxv.h: Include <sys/cdefs.h>.
56717         (getauxval): Use unsigned long int.
56719 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56721         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56723 2012-05-21  Roland McGrath  <roland@hack.frob.com>
56725         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
56726         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
56727         __alignof__ (long double).
56729 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56733 2012-05-20  Richard Henderson  <rth@twiddle.net>
56735         * misc/getauxval.c: New file.
56736         * misc/sys/auxv.h: New file.
56737         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
56738         (routines): Add getauxval.
56739         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
56740         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
56741         * elf/dl-sysdep.c (_dl_auxv): Remove.
56742         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
56743         * elf/dl-support.c (_dl_auxv): New variable.
56744         (_dl_aux_init): Initialize it.
56745         * manual/startup.texi (Auxiliary Vector): New node.
56746         * sysdeps/generic/bits/hwcap.h: New file.
56747         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
56748         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
56749         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
56750         * sysdeps/sparc/sysdep.h: ... here.  Include it.
56751         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
56752         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
56753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56754         Update.
56755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
56756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
56757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
56758         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
56759         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
56760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
56761         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
56762         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
56764 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56768 2012-05-19  David S. Miller  <davem@davemloft.net>
56770         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56772 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
56774         [BZ #14123]
56775         * math/s_ccosh.c: Include <float.h>
56776         (__ccosh): Avoid internal overflow calculating sinh and cosh
56777         values before multiplying by sin and cos values.
56778         * math/s_ccoshf.c: Likewise.
56779         * math/s_ccoshl.c: Likewise.
56780         * math/s_csin.c: Likewise.
56781         * math/s_csinf.c: Likewise.
56782         * math/s_csinl.c: Likewise.
56783         * math/s_csinh.c: Likewise.
56784         * math/s_csinhf.c: Likewise.
56785         * math/s_csinhl.c: Likewise.
56786         * math/libm-test.inc (ccos_test): Add more tests.
56787         (ccosh_test): Likewise.
56788         (csin_test): Likewise.
56789         (csinh_test): Likewise.
56790         * sysdeps/i386/fpu/libm-test-ulps: Update.
56791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56793 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
56795         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
56796         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
56798         * sysdeps/x86_64/x32/_itoa.h: Add comment.
56800 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
56802         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
56803         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
56804         * sysdeps/powerpc/soft-fp/Versions: Likewise.
56805         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
56806         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
56807         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
56808         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
56809         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
56810         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
56811         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
56812         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
56813         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
56814         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
56815         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
56816         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
56817         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
56818         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
56819         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
56820         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
56821         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
56822         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
56823         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
56824         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
56825         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
56826         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
56827         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
56828         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
56829         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
56830         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
56831         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
56832         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
56834 2012-05-18  Andreas Jaeger  <aj@suse.de>
56836         * csu/.gitignore: Delete.
56838 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56840         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
56841         (timex): Use __syscall_slong_t.
56843 2012-05-18  Andreas Jaeger  <aj@suse.de>
56844             Carlos O'Donell  <carlos_odonell@mentor.com>
56846         * manual/install.texi (Configuring and compiling): Update
56847         description about files modified in the source directory.
56848         * INSTALL: Regenerated.
56850 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56852         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
56853         value.  Use "or" to set return value to -1.
56854         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
56855         negate return value.
56857 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56859         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
56860         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
56861         failure if the compiler has Graphite support disabled.
56862         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
56863         Likewise.
56864         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
56865         (CFLAGS-memmove.c): Likewise.
56866         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
56867         Likewise.
56869 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56871         * sysdeps/x86_64/x32/_itoa.h: New file.
56873         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
56874         getdents system call only if kernel and user dirents have the
56875         same d_ino and d_off.
56877         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
56878         LLONG_MAX != LONG_MAX.
56879         (_itoa_word): Use _ITOA_WORD_TYPE on value.
56880         (_fitoa_word): Likewise.
56882         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
56883         years.
56884         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
56885         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
56886         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
56888         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
56889         include <bits/wordsize.h>.  Check __x86_64__ instead of
56890         __WORDSIZE.
56891         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
56892         if __x86_64__ is defined.  Use anonymous union on fpstate.
56894         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
56895         anonymous union.
56897 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
56899         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
56900         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
56901         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
56902         Refer to _rtld_local_ro instead of _rtld_global_ro.
56903         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
56904         Likewise.
56905         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
56906         Likewise.
56907         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
56908         Likewise.
56909         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
56910         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
56911         of _rtld_global, and rtld_progname instead of _dl_argv[0].
56913         [BZ #10882]
56914         * sysdeps/powerpc/powerpc32/dl-machine.c
56915         (__elf_machine_runtime_setup) [PROF]: Don't reference
56916         _dl_prof_resolve.
56918 2012-05-18  Andreas Jaeger  <aj@suse.de>
56920         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
56921         function only available for GCCs before 3.4 since GCC 3.4
56922         introduced a builtin.
56923         (lrint): Likewise.
56924         (llrintf): Likewise.
56925         (llrint): Likewise.
56926         (fmaxf): Likewise.
56927         (fmax): Likewise.
56928         (fminf): Likewise.
56929         (fmin): Likewise.
56930         (rint): Likewise.
56931         (rintf): Likewise.
56932         (nearbyint): Likewise.
56933         (nearbyintf): Likewise.
56934         (ceil): Likewise.
56935         (ceilf): Likewise.
56936         (floor): Likewise.
56937         (floorf): Likewise.
56939 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56941         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
56942         on both fields and cast pointer to __syscall_ulong_t.
56944         * bits/types.h (__fsword_t): New type.
56945         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
56946         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
56947         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56948         (__FSWORD_T_TYPE): Likewise.
56949         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56950         (__FSWORD_T_TYPE): Likewise.
56951         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56952         (__FSWORD_T_TYPE): Likewise.
56953         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
56954         (__FSWORD_T_TYPE): Likewise.
56955         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
56956         __SWORD_TYPE with __fsword_t.
56957         (statfs64): Likewise.
56959 2012-05-17  David S. Miller  <davem@davemloft.net>
56961         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
56963 2012-05-17  Andreas Jaeger  <aj@suse.de>
56965         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
56966         warning.
56968 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56970         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
56972 2012-05-17  Andreas Jaeger  <aj@suse.de>
56974         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
56975         when it is used.
56977 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
56979         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
56981 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56983         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
56984         * sysdeps/x86_64/tst-mallocalign1.c: New file.
56986 2012-05-17  Andreas Jaeger  <aj@suse.de>
56987             Carlos O'Donell  <carlos_odonell@mentor.com>
56989         [BZ #14059]
56990         * sysdeps/x86_64/multiarch/init-arch.h
56991         (bit_YMM_Usable): Rename to...
56992         (bit_AVX_Usable): ... this.
56993         (bit_FMA4_Usable): New macro.
56994         (bit_XMM_state): New macro.
56995         (bit_YMM_state): New macro.
56996         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
56997         [__ASSEMBLER__] (index_AVX_Usable): ... this.
56998         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
56999         (CPUID_OSXSAVE): New macro.
57000         (CPUID_AVX): New macro.
57001         (CPUID_FMA4): New macro.
57002         (index_YMM_Usable): Rename to...
57003         (index_AVX_Usable): ... this.
57004         (HAS_AVX): Use HAS_ARCH_FEATURE.
57005         (HAS_FMA4): Likewise.
57006         (HAS_YMM_USABLE): Remove.
57007         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57008         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
57009         are present.
57010         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
57011         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
57012         * sysdeps/x86_64/multiarch/Makefile: Likewise.
57013         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
57014         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
57016 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
57018         * math/libm-test.c: Support platforms without multiple rounding modes.
57019         * math/bug-nextafter.c: Support platforms without FP exceptions.
57020         * math/bug-nexttoward.c: Likewise.
57021         * math/test-fenv.c: Likewise.
57022         * math/test-misc.c: Likewise.
57023         * stdlib/bug-getcontext.c: Likewise.
57025 2012-05-17  Andreas Jaeger  <aj@suse.de>
57027         * manual/examples/search.c (critter_cmp): Change signature to
57028         avoid warnings.
57029         * manual/string.texi (Collation Functions): Likewise.
57031 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57033         * bits/types.h: Fold copyright years.
57034         * bits/typesizes.h: Likewise.
57035         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
57036         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
57037         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
57038         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
57039         * time/time.h: Likewise.
57041 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
57043         [BZ #208]
57044         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
57045         in instead of returning them.  Return void.
57046         (__libc_mallinfo): Accumulate over all arenas.
57047         (__malloc_stats): Adjust for change in int_mallinfo interface.
57049 2012-05-16  Roland McGrath  <roland@hack.frob.com>
57051         [BZ #10375]
57052         * configure.in (NM): Add AC_CHECK_TOOL for it.
57053         (libc_extra_cflags): New substituted variable.
57054         Check for -fstack-protector being used implicitly.
57055         * configure: Regenerated.
57056         * config.make.in (config-extra-cflags): New variable,
57057         gets @libc_extra_cflags@.
57058         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
57060         [BZ #10375]
57061         * configure.in: Check for _FORTIFY_SOURCE being predefined.
57062         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
57063         * configure: Regenerated.
57064         * config.make.in (CPPUNDEFS): New substituted variable.
57065         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
57066         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
57067         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
57069 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57071         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
57072         (mq_attr): Use __syscall_slong_t.
57074 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57076         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
57077         Check __x86_64__ instead of __WORDSIZE.
57078         (_STAT_VER_LINUX): Likewise.
57079         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
57080         __syscall_ulong_t and __syscall_slong_t.
57081         (stat64): Likewise.
57083 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57085         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
57087 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57089         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
57091 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57093         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
57094         __syscall_ulong_t.
57096         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
57097         include <bits/wordsize.h>.  Check __x86_64__ instead of
57098         __WORDSIZE.
57099         (greg_t): Use "__extension__ long long int" if __x86_64__ is
57100         defined.
57101         (mcontext_t): Replace "unsigned long" with "unsigned long long".
57103         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
57104         include <bits/wordsize.h>.  Check __x86_64__ instead of
57105         __WORDSIZE.
57106         (user_regs_struct): Use "__extension__ unsigned long long"
57107         instead of "unsigned long" if __x86_64__ is defined.
57108         (user): Likewise.  Pad after pointer field if __ILP32__ is
57109         defined.
57111 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
57113         * configure.in (makeinfo): Require version 4.5 or later.  Allow
57114         versions 5 to 9.
57115         * configure: Regenerated.
57116         * manual/install.texi (texinfo): Increase version requirement to
57117         4.5 or later.
57118         * INSTALL: Regenerated.
57120         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
57122 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57124         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
57126         * sysdeps/x86_64/x32/ffs.c: New file.
57128         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
57129         __syscall_ulong_t.
57130         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
57131         defined.  Use __syscall_ulong_t.
57132         (shminfo): Use __syscall_ulong_t.
57133         (shm_info): Likewise.
57135         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
57136         __syscall_ulong_t.
57138         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
57139         <bits/wordsize.h>.
57140         (msgqnum_t): Use __syscall_ulong_t.
57141         (msglen_t): Likewise.
57142         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
57143         __syscall_ulong_t.
57145         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
57146         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57148         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
57150         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
57151         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
57153         * sysvipc/sys/msg.h (msgbuf): Replace long int with
57154         __syscall_slong_t.
57156         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
57157         include <bits/wordsize.h>.  Check __x86_64__ instead of
57158         __WORDSIZE.
57160         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
57161         "unsigned long long int" if __x86_64__ is defined.
57162         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
57164         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
57165         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57166         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
57168         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
57169         <stdint.h>.
57170         (GET_PC): Cast to uintptr_t first.
57171         (GET_FRAME): Likewise.
57172         (GET_STACK): Likewise.
57174         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
57175         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
57176         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
57177         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
57178         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
57179         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
57180         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
57181         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
57182         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
57183         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
57184         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
57185         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
57186         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57187         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
57188         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
57189         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
57190         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
57191         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
57192         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
57193         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
57194         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
57195         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
57196         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
57197         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
57198         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
57199         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
57200         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
57201         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
57202         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
57204 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
57206         * Makerules (+depfiles): Also collect depfiles from .oS in
57207         $(extra-objs).
57208         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
57209         .oS, $(libnldbl-routines)).
57211         * Makerules (native-compile-mkdep-flags): Define.
57212         * sunrpc/Makefile (extra-objs): Add $(addprefix
57213         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
57214         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
57215         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
57216         calling $(make-target-directory).
57218 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57220         * bits/types.h (__snseconds_t): Removed.
57221         * time/time.h (struct timespec): Replace __snseconds_t with
57222         __syscall_slong_t.
57223         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
57224         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
57225         Likewise.
57226         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57227         (__SNSECONDS_T_TYPE): Likewise.
57228         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57229         (__SNSECONDS_T_TYPE): Likewise.
57230         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57231         (__SNSECONDS_T_TYPE): Likewise.
57233 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57235         * sysdeps/mach/hurd/bits/typesizes.h
57236         (__SYSCALL_SLONG_TYPE): New macro.
57237         (__SYSCALL_ULONG_TYPE): Likewise.
57239 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57241         * bits/types.h (__syscall_slong_t): New type.
57242         (__syscall_ulong_t): Likewise.
57244         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
57245         (__SYSCALL_ULONG_TYPE): Likewise.
57246         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57247         (__SYSCALL_SLONG_TYPE): Likewise.
57248         (__SYSCALL_ULONG_TYPE): Likewise.
57249         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57250         (__SYSCALL_SLONG_TYPE): Likewise.
57251         (__SYSCALL_ULONG_TYPE): Likewise.
57252         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57253         (__SYSCALL_SLONG_TYPE): Likewise.
57254         (__SYSCALL_ULONG_TYPE): Likewise.
57256 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57258         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
57259         Add sigaltstack-offsets.sym.
57260         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
57261         <sigaltstack-offsets.h>.
57262         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
57263         longjmp_msg pointer.
57264         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
57265         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
57266         signal stack.
57267         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
57269 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57271         * elf/stackguard-macros.h: Remove file.
57272         * sysdeps/generic/stackguard-macros.h: New file.
57273         * sysdeps/i386/stackguard-macros.h: Likewise.
57274         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57275         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57276         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57277         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57278         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57279         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57280         * sysdeps/x86_64/stackguard-macros.h: Likewise.
57281         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
57282         <elf/stackguard-macros.h>.
57284         [BZ #14109]
57285         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
57286         __aligned__ in attribute.
57287         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
57288         (gregset_t): Likewise.
57290 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57292         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
57293         * sysdeps/x86_64/64/Implies-after: Here.  New file.
57294         * sysdeps/x86_64/x32/Implies-after: New file.
57296 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57298         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
57299         and access return value for _dl_profile_fixup.  Use R10_LP to
57300         load frame size.
57302 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57304         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
57306 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57308         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
57309         * sysdeps/x86_64/x32/sysdep.h: New file.
57311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57313         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
57314         * sysdeps/x86_64/setjmp.S: Likewise.
57316 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57318         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
57319         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
57320         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
57321         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
57322         remove unused global constant.
57324 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
57326         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
57327         include of <not-cancel.h>.
57329 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57331         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
57333 2012-05-15  Jeff Law  <law@redhat.com>
57334             Andreas Jaeger  <aj@suse.de>
57336         [BZ #13594]
57337         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
57338         out from...
57339         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
57340         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
57341         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
57342         code changing __hst_map_handle.map.
57344 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57346         * configure.in (sysnames): Look for Implies-before and Implies-after
57347         files.
57348         * configure: Regenerated.
57350 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57352         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
57353         8-byte data alignment with LP_SIZE alignment.
57355 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57357         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
57358         into R10_LP.
57360 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57362         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
57364 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57366         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
57367         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
57368         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
57369         Likewise.
57370         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57372 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57374         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
57375         (stackinfo_sub_sp): Likewise.
57377 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57379         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
57380         RAX_LP.
57382 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57384         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
57385         into R*_LP.
57387 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57389         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
57390         sizes into R*_LP.
57392 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57394         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
57396 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57398         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
57399         into R11_LP and load __x86_64_shared_cache_size_half into
57400         R8_LP.
57402 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57404         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
57405         R8_LP.
57407 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57409         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
57410         logb for POWER7.
57411         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
57412         logbf for POWER7.
57413         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
57414         logbl for POWER7.
57415         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
57416         powerpc32/power7/fpu/s_logb.c via #include.
57417         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
57418         powerpc32/power7/fpu/s_logbf.c via #include.
57419         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
57420         powerpc32/power7/fpu/s_logbl.c via #include.
57422 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57424         * README.libm: Remove file.
57426 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57428         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
57429         count for x32.  Use R*_LP and omit operand-size suffix.
57431 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57433         * shlib-versions: Move x86_64-.*-linux.* entries to ...
57434         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
57435         * sysdeps/x86_64/x32/shlib-versions: New file.
57437 2012-05-14  Roland McGrath  <roland@hack.frob.com>
57439         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
57440         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
57441         Use _dl_fatal_printf instead.
57443 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57445         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
57446         set if not set by the user.  Do not allow for being unset.
57447         * sysdeps/unix/sysv/linux/configure: Regenerated.
57449 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57451         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
57452         the `q' suffix from lea and replace .quad with ASM_ADDR.
57454 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57456         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
57457         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
57458         instead of $17.
57459         (PTR_DEMANGLE): Likewise.
57461 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57463         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
57464         (LP_OP): Likewise.
57465         (ASM_ADDR): Likewise.
57466         (RAX_LP): Likewise.
57467         (RBP_LP): Likewise.
57468         (RBX_LP): Likewise.
57469         (RCX_LP): Likewise.
57470         (RDI_LP): Likewise.
57471         (RSI_LP): Likewise.
57472         (RSP_LP): Likewise.
57473         (R8_LP): Likewise.
57474         (R9_LP): Likewise.
57475         (R10_LP): Likewise.
57476         (R10_LP): Likewise.
57477         (R11_LP): Likewise.
57478         (R12_LP): Likewise.
57479         (R13_LP): Likewise.
57480         (R14_LP): Likewise.
57481         (R15_LP): Likewise.
57483 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57485         * sysdeps/x86_64/x32/dl-machine.h: New file.
57487 2012-05-14  Andreas Jaeger  <aj@suse.de>
57489         * manual/Makefile (subdir): Remove export of subdir.
57490         (all): Remove target.
57491         (.PHONY): Remove all from list.
57492         (mkinstalldirs): Remove.
57493         (.PHONY): Remove installdirs from list.
57494         ($(inst_infodir)/libc.info): Use make-target-directory.
57495         (installdirs): Remove.
57496         (subdir_%): Remove.
57497         (glibc-targets): Remove.
57498         (lib): Remove.
57499         (stubs): Remove.
57500         ($(objpfx)stubs ../po/manual.pot): Remove.
57501         ($(objpfx)stamp%): Remove.
57502         (make-target-directory): Remove.
57503         (subdir_install): Remove.
57504         (routines): Remove.
57505         (aux): Remove.
57506         (sources): Remove.
57507         (objects): Remove.
57508         (headers): Remove.
57510         [BZ #13750]
57511         * manual/.gitignore: Remove, it's not needed anymore.
57512         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
57513         all files in it.
57514         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
57515         directory.
57516         (texis): Renamed to $(objpfx)texis.
57517         (texis-path): New, contains path to generated files.
57518         (chapters.%): Use texis-path for complete path, add extra argument
57519         libc-texinfo.sh.
57520         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
57521         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
57522         (summary,texi, stamp-summary): Use complete path of
57523         files. Generate files in build dir.
57524         (dir-add.texi): Build in build dir.
57525         (libm-err.texi,stamp-libm-err): Likewise.
57526         (version.texi, stamp-version): Likewise.
57527         (.%c.texi): Likewise.
57528         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
57529         (mostlyclean): Remove target.
57530         (realclean): Remove target.
57531         (generated): Add new variable with contents from mostlyclean and
57532         realclean, remove entries duplicated in common-mostlyclean, add
57533         stamp-libm-err and stamp-version.
57534         (generated-dirs): Add libc directory.
57535         ($(inst_infodir)/libc.info): Install files from build dir.
57537         * manual/install.texi (Configuring and compiling): Adjust since
57538         the info files are not part of the tar ball anymore.
57540 2012-05-14  Andreas Jaeger  <aj@suse.de>
57542         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
57543         variable.
57545 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57547         [BZ #13717]
57548         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57549         to 2.2.0 where earlier.
57550         * sysdeps/unix/sysv/linux/configure: Regenerated.
57551         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
57552         Remove conditional code.
57553         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
57554         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
57555         Remove conditional code.
57556         [!__NR_lchown]: Likewise.
57557         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57558         [__NR_lchown]: Likewise.
57559         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
57560         comment referencing __ASSUME_LCHOWN_SYSCALL.
57561         * sysdeps/unix/sysv/linux/i386/sigaction.c
57562         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57563         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57564         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
57565         Remove conditional code.
57566         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
57567         (__protocol_available): Remove #if 0 code.
57568         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
57569         conditional code.
57570         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
57571         * sysdeps/unix/sysv/linux/kernel-features.h
57572         (__ASSUME_GETCWD_SYSCALL): Don't define.
57573         (__ASSUME_REALTIME_SIGNALS): Likewise.
57574         (__ASSUME_PREAD_SYSCALL): Likewise.
57575         (__ASSUME_PWRITE_SYSCALL): Likewise.
57576         (__ASSUME_POLL_SYSCALL): Likewise.
57577         (__ASSUME_LCHOWN_SYSCALL): Likewise.
57578         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
57579         non-SPARC.
57580         (__ASSUME_SIOCGIFNAME): Don't define.
57581         (__ASSUME_MSG_NOSIGNAL): Likewise.
57582         (__ASSUME_SENDFILE): Define unconditionally.
57583         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
57584         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
57585         conditional code.
57586         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
57587         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
57588         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57589         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57590         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
57591         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57592         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
57594         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57595         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
57597         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57598         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
57600         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57601         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
57603         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57604         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
57606         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57607         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
57609         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57610         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
57612         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57613         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
57615         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57616         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57617         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
57618         Remove conditional code.
57619         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57620         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
57621         Remove conditional code.
57622         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57623         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
57624         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
57625         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
57626         Remove conditional code.
57627         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57628         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
57629         Remove conditional code.
57630         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57631         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
57632         Remove conditional code.
57633         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57634         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
57635         Remove conditional code.
57636         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57637         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
57638         Remove conditional code.
57639         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57640         * sysdeps/unix/sysv/linux/sh/pwrite64.c
57641         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57642         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57643         * sysdeps/unix/sysv/linux/sigaction.c
57644         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57645         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57646         * sysdeps/unix/sysv/linux/sigpending.c
57647         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57648         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57649         * sysdeps/unix/sysv/linux/sigprocmask.c
57650         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57651         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57652         * sysdeps/unix/sysv/linux/sigsuspend.c
57653         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57654         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57655         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57656         (__libc_missing_rt_sigs): Remove.
57657         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
57658         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
57659         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
57660         Remove conditional code.
57661         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
57662         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
57663         return 1.
57664         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
57665         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
57666         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
57667         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
57669 2012-05-14  Andreas Jaeger  <aj@suse.de>
57671         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
57672         it's not used in glibc.
57673         (__coshm1): Likewise.
57674         (__acosh1p): Likewise.
57675         (__sgn): Likewise.
57677         * manual/string.texi (Copying and Concatenation): Add missing
57678         variable in concat example.
57679         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
57681 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57683         [BZ #14103]
57684         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
57685         __builtin_clzl with __builtin_clzll.
57687 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57689         [BZ #14104]
57690         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
57691         libc_freeres_ptr.
57693 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57695         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
57696         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
57697         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
57698         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
57700 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
57702         * NEWS: Update ia64 info.
57704 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
57706         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
57707         used as bcopy.
57709 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
57711         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
57712         * sysdeps/unix/syscalls.list (dup3): Likewise.
57713         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
57714         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
57716 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
57718         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
57719         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
57721 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
57723         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
57724         thread pointer.
57725         (TLS_IE): Use mov/add instead of movq/addq to load thread
57726         pointer.
57727         (TLS_GD_PREFIX): New.
57728         (TLS_GD): Use it.
57730 2012-05-11  David S. Miller  <davem@davemloft.net>
57732         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
57733         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
57734         (_FPU_SETCW): Likewise.
57736 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57738         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
57739         is 32-byte aligned.
57741 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
57743         [BZ #11837]
57744         * iconvdata/gb18030.c: Update tables.
57745         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
57746         characters specially.
57747         (BODY for TO_LOOP): Add encoding of missing ranges.
57749 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
57751         [BZ #13673]
57752         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
57753         * sysdeps/mach/hurd/dup3.c: Likewise.
57754         * sysdeps/mach/hurd/readlinkat.c: Likewise.
57755         * sysdeps/powerpc/memmove.c:: Likewise.
57757 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57759         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
57760         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
57762 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57764         * elf/elf.h (R_X86_64_RELATIVE64): New.
57765         (R_X86_64_NUM): Updated.
57766         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
57767         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
57768         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
57769         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
57770         tst-quad1pie tst-quad2pie
57771         (modules-names): Add tst-quadmod1 tst-quadmod2.
57772         ($(objpfx)tst-quad1): New dependency.
57773         ($(objpfx)tst-quad2): Likewise.
57774         ($(objpfx)tst-quad1pie): Likewise.
57775         ($(objpfx)tst-quad2pie): Likewise.
57776         * sysdeps/x86_64/tst-quad1.c: New file.
57777         * sysdeps/x86_64/tst-quad1pie.c: New file.
57778         * sysdeps/x86_64/tst-quad2.c: Likewise.
57779         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
57780         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
57781         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
57782         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
57783         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
57785 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57787         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
57788         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
57789         * streams/stropts.h (t_scalar_t): Define type.
57791         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
57792         (_PATH_PRESERVE): Set to "/var/lib".
57793         (_PATH_RWHODIR): Set to "/var/spool/rwho".
57795         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
57796         instead of int.
57798         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
57799         if __dir_mkfile succeeded.
57801         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
57802         checking for _hurd_dtablesize.  Unlock it right after having
57803         finished _hurd_dtable allocation.
57805 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57807         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
57808         * sysdeps/mach/hurd/configure: Regenerated.
57809         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
57810         special-casing to...
57811         * sysdeps/gnu/configure.in: ... this new file.
57812         * sysdeps/unix/sysv/linux/configure: Regenerated.
57813         * sysdeps/gnu/configure: New generated file.
57815         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
57816         for Linux: use nsec instead of usec, as well as:
57817         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
57818         members of type struct timespec.
57819         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
57820         New macros.
57821         (struct stat64): Likewise.
57822         (_STATBUF_ST_NSEC): New macro.
57823         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
57825         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57826         __strtoul_internal rather than strtoul.
57828 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57830         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
57831         and reject them.
57833 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57835         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
57836         which preserves existing values.
57837         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
57839 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57841         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
57842         TIMEOUT values.  Return EINVAL for NFDS values either negative or
57843         greater than FD_SETSIZE.
57845 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57847         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
57848         allocated, call __vm_protect to finish enabling the existing space, and
57849         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
57850         allocate the remainder.
57852 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57854         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
57855         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
57857 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57859         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
57860         sysdeps/mach/hurd/readlink.c.
57862         * posix/tst-sysconf.c (posix_options): Only use
57863         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
57864         _POSIX_SYNCHRONIZED_IO when they are defined
57865         * sysdeps/mach/hurd/bits/posix_opt.h:
57866         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
57867         (_XOPEN_REALTIME): Undefine macro.
57868         (_XOPEN_REALTIME_THREADS): Undefine macro.
57869         (_XOPEN_SHM): Undefine macro.
57870         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
57871         macro to -1.
57872         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
57873         macro to -1.
57874         (_POSIX_ASYNC_IO): Undefine macro.
57875         (_POSIX_PRIORITIZED_IO): Undefine macro.
57876         (_POSIX_SPIN_LOCKS): Define macro to -1.
57878         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
57879         SA_NODEFER, SA_RESETHAND.
57880         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
57881         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
57882         F_DUPFD_CLOEXEC.
57884 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57886         * elf/Makefile (pldd-modules): Define unconditionally.
57888 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57890         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
57892 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57894         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
57895         Return ENOENT when name is empty.
57896         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
57898 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57900         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
57902         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
57904 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57906         Fix mlock in all cases except non-readable pages.
57907         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
57908         instead of VM_PROT_ALL as parameter to __vm_wire function.
57910         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
57911         (__mkdir): When path is `/', just fail with EEXIST.
57912         * sysdeps/mach/hurd/mkdirat.c: Likewise.
57914 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57916         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
57917         <sys/uio.h> (for writev).
57918         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
57919         and <sys/param.h> (for MIN).
57921 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57923         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
57924         REQUESTED_TIME.  Properly set the remaining time and return EINTR
57925         if interrupted.
57927 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57929         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
57930         Depend on against $(link-rpcuserlibs).
57932 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57934         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
57935         (__libc_stack_end): Do not use attribute_relro.
57936         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
57937         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
57938         to libthread-provided value.
57939         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
57940         attribute_relro.
57942 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57944         [BZ #3748]
57945         * bits/libc-lock.h (__libc_once_get): New macro.
57946         * sysdeps/mach/bits/libc-lock.h: Likewise.
57947         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
57948         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
57949         instead of using implementation details.
57951         * libio/fileops.c: Unconditionally include <kernel-features.h>.
57952         * libio/freopen.c: Likewise.
57953         * libio/freopen64.c: Likewise.
57954         * misc/syslog.c: Likewise.
57955         * nscd/connections.c: Likewise.
57956         * nscd/netgroupcache.c: Likewise.
57957         * sysdeps/posix/getcwd.c: Likewise.
57959 2012-05-10  Roland McGrath  <roland@hack.frob.com>
57961         * math/w_ilogbf.c: Add #include <limits.h>.
57963 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57965         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
57966         path instead of returning without unlocking.
57968         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
57969         immediate-write ioctls.
57970         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
57972 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57974         * sysdeps/mach/hurd/i386/init-first.c (init): Use
57975         __builtin_frame_address instead of making assumptions about the
57976         location of the return address relative to DATA.  Force early load of
57977         the return address.
57978         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
57979         __builtin_frame_address.
57981         dup3 for GNU Hurd.
57982         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
57983         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
57984         implement dup3 and do some further code clean-ups.
57985         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
57986         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
57988 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57990         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
57992         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
57993         HURD_CRITICAL_END around holding _hurd_dtable_lock.
57994         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
57995         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
57996         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
57997         d->port.lock.
57999         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
58000         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
58001         when handler == SIG_ERR, not when handler != SIG_ERR.
58003 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58005         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
58006         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
58007         definitions.
58009         accept4 for GNU Hurd.
58010         * include/sys/socket.h (__libc_accept4): New prototype.
58011         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
58012         to implement __libc_accept4.
58013         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
58014         __libc_accept4.
58015         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
58017         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
58018         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
58019         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
58020         signal-defines.sym.
58022 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58024         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
58026 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58028         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
58029         assertion on O_CLOEXEC flag.
58030         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
58031         * hurd/intern-fd.c: Likewise.
58032         * hurd/port2fd.c: Likewise.
58034 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58036         [BZ #3906]
58037         * bits/in.h (IPV6_PKTINFO): Define new macro.
58038         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
58040 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58042         [BZ #13954]
58043         [BZ #13955]
58044         [BZ #13956]
58045         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
58046         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
58047         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
58048         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
58049         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58050         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
58051         * math/libm-test.inc (logb_test) : Additional logb tests.
58053 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
58054             Andreas Jaeger  <aj@suse.de>
58056         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
58057         * configure: Regenerated.
58058         * config.h.in (LINK_OBSOLETE_RPC): New macro.
58059         * config.make.in (link-obsolete-rpc): New substituted variable.
58060         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
58061         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
58062         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58063         (shared-only-routines): Don't set it under [link-obsolete-rpc],
58064         so that libc.a contains the symbols.
58065         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58066         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
58067         * sunrpc/auth_none.c: Likewise.
58068         * sunrpc/auth_unix.c: Likewise.
58069         * sunrpc/authdes_prot.c: Likewise.
58070         * sunrpc/authuxprot.c: Likewise.
58071         * sunrpc/clnt_gen.c: Likewise.
58072         * sunrpc/clnt_perr.c: Likewise.
58073         * sunrpc/clnt_raw.c: Likewise.
58074         * sunrpc/clnt_simp.c: Likewise.
58075         * sunrpc/clnt_tcp.c: Likewise.
58076         * sunrpc/clnt_udp.c: Likewise.
58077         * sunrpc/clnt_unix.c: Likewise.
58078         * sunrpc/des_crypt.c: Likewise.
58079         * sunrpc/des_soft.c: Likewise.
58080         * sunrpc/get_myaddr.c: Likewise.
58081         * sunrpc/key_call.c: Likewise.
58082         * sunrpc/key_prot.c: Likewise.
58083         * sunrpc/netname.c: Likewise.
58084         * sunrpc/pm_getmaps.c: Likewise.
58085         * sunrpc/pm_getport.c: Likewise.
58086         * sunrpc/pmap_clnt.c: Likewise.
58087         * sunrpc/pmap_prot.c: Likewise.
58088         * sunrpc/pmap_prot2.c: Likewise.
58089         * sunrpc/pmap_rmt.c: Likewise.
58090         * sunrpc/publickey.c: Likewise.
58091         * sunrpc/rpc_cmsg.c: Likewise.
58092         * sunrpc/rpc_common.c: Likewise.
58093         * sunrpc/rpc_dtable.c: Likewise.
58094         * sunrpc/rpc_prot.c: Likewise.
58095         * sunrpc/rpc_thread.c: Likewise.
58096         * sunrpc/rtime.c: Likewise.
58097         * sunrpc/svc.c: Likewise.
58098         * sunrpc/svc_auth.c: Likewise.
58099         * sunrpc/svc_raw.c: Likewise.
58100         * sunrpc/svc_run.c: Likewise.
58101         * sunrpc/svc_tcp.c: Likewise.
58102         * sunrpc/svc_udp.c: Likewise.
58103         * sunrpc/svc_unix.c: Likewise.
58104         * sunrpc/svcauth_des.c: Likewise.
58105         * sunrpc/xcrypt.c: Likewise.
58106         * sunrpc/xdr.c: Likewise.
58107         * sunrpc/xdr_array.c: Likewise.
58108         * sunrpc/xdr_float.c: Likewise.
58109         * sunrpc/xdr_intXX_t.c: Likewise.
58110         * sunrpc/xdr_mem.c: Likewise.
58111         * sunrpc/xdr_rec.c: Likewise.
58112         * sunrpc/xdr_ref.c: Likewise.
58113         * sunrpc/xdr_sizeof.c: Likewise.
58114         * sunrpc/xdr_stdio.c: Likewise.
58116 2012-05-10  Roland McGrath  <roland@hack.frob.com>
58118         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
58119         change.  Update copyright years.
58121 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58123         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
58125 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
58126             Joseph Myers  <joseph@codesourcery.com>
58127             Paul Pluzhnikov  <ppluzhnikov@google.com>
58129         [BZ #14012]
58130         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
58131         requiring rpcgen.
58132         [cross-compiling] (extra-libs): Likewise.
58133         [cross-compiling] (extra-libs-others): Likewise.
58134         [cross-compiling] (librpcsvc-routines): Likewise.
58135         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
58136         [cross-compiling] (omit-deps): Likewise.
58137         (sunrpc-CPPFLAGS): New variable.
58138         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
58139         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
58140         (cross-rpcgen-objs): New variable.
58141         (extra-objs): Append $(cross-rpcgen-objs).
58142         ($(cross-rpcgen-objs)): New rule.
58143         ($(objpfx)cross-rpcgen): Likewise.
58144         (rpcgen-cmd): Define to use $(built-program-file).  Expand
58145         comment.
58146         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
58147         ($(objpfx)x%.stmp): Likewise.
58148         * sunrpc/proto.h [IS_IN_build] (_): Define.
58149         [IS_IN_build] (_libc_intl_domainname): Likewise.
58151 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58153         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
58154         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
58155         and R_X86_64_TPOFF64.
58157 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58159         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
58160         sysdeps/unix/sysv/syscalls.list.
58161         (stime): Likewise.
58162         (utime): Likewise.
58163         * sysdeps/unix/sysv/syscalls.list: Remove file.
58165 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
58167         [BZ #3440]
58168         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
58169         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
58170         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
58171         (__LC_IDENTIFICATION): Make these macros useful in #if
58172         expressions, as required by C99.
58174 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
58176         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
58177         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
58178         after this.
58180 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
58182         * stdlib/longlong.h: Updated from GCC.
58184 2012-05-09  Andreas Jaeger  <aj@suse.de>
58186         * nscd/nscd.c (run_modes): Make named enum, reorder so that
58187         default is first entry.
58188         (run_mode): Set type.
58189         (main): Remove informal message about syslog.
58190         (options): Fix typo.
58192         [BZ #14053]
58193         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
58194         to asm.
58195         (lrint): Likewise.
58196         (llrintf): Likewise.
58197         (llrint): Likewise.
58198         (rint): Likewise.
58199         (rintf): Likewise.
58200         (nearbyint): Likewise.
58201         (nearbyintf): Likewise.
58203 2012-05-09  Andreas Jaeger  <aj@suse.de>
58204             Pedro Alves  <palves@redhat.com>
58206         * nscd/nscd.c (run_mode): Use enum.
58207         (main): Cleanup coding style issue.
58209 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
58210             Andreas Jaeger  <aj@suse.de>
58212         * nscd/nscd.c (go_background): Replaced with...
58213         (run_mode): ... this.
58214         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
58215         (options): Add -F --foreground.
58216         (main): Implement it.
58217         (parse_opt): Parse it.
58219 2012-05-09  Andreas Jaeger  <aj@suse.de>
58221         [BZ #14083]
58222         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
58223         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
58224         -Wconversion warning.
58225         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
58226         Likewise.
58228 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
58230         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
58231         == 0.
58232         (LC_ALL): Use macro-int-constant.
58233         (LC_COLLATE): Likewise.
58234         (LC_CTYPE): Likewise.
58235         (LC_MESSAGES): Likewise.
58236         (LC_MONETARY): Likewise.
58237         (LC_NUMERIC): Likewise.
58238         (LC_TIME): Likewise.
58239         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
58240         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58241         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58242         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
58243         Specify type.
58244         [C99-based standards] (float_t): Expect type.
58245         [C99-based standards] (double_t): Expect type.
58246         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
58247         type.
58248         [C99-based standards] (HUGE_VALL): Likewise.
58249         [C99-based standards] (INFINITY): Likewise.
58250         [C99-based standards] (NAN): Likewise.
58251         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
58252         [C99-based standards] (FP_NAN): Likewise.
58253         [C99-based standards] (FP_NORMAL): Likewise.
58254         [C99-based standards] (FP_SUBNORMAL): Likewise.
58255         [C99-based standards] (FP_ZERO): Likewise.
58256         [C99-based standards] (FP_FAST_FMA): Use
58257         optional-macro-int-constant.  Specify type.  Require == 1.
58258         [C99-based standards] (FP_FAST_FMAF): Likewise.
58259         [C99-based standards] (FP_FAST_FMAL): Likewise.
58260         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
58261         [C99-based standards] (FP_ILOGBNAN): Likewise.
58262         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
58263         Specify type.
58264         [C99-based standards] (MATH_ERREXCEPT): Likewise.
58265         [C99-based standards] (math_errhandling): Specify type.
58266         [ISO99 || ISO11] (signgam): Do not allow.
58267         [non-C99-based standards] (copysignf): Do not allow.
58268         [non-C99-based standards] (exp2f): Likewise.
58269         [non-C99-based standards] (log2f): Likewise.
58270         [non-C99-based standards] (modff): Allow.
58271         [non-C99-based standards] (erff): Do not allow.
58272         [non-C99-based standards] (erfcf): Likewise.
58273         [non-C99-based standards] (gammaf): Likewise.
58274         [non-C99-based standards] (hypotf): Likewise.
58275         [non-C99-based standards] (j0f): Likewise.
58276         [non-C99-based standards] (j1f): Likewise.
58277         [non-C99-based standards] (jnf): Likewise.
58278         [non-C99-based standards] (lgammaf): Likewise.
58279         [non-C99-based standards] (tgammaf): Likewise.
58280         [non-C99-based standards] (y0f): Likewise.
58281         [non-C99-based standards] (y1f): Likewise.
58282         [non-C99-based standards] (ynf): Likewise.
58283         [non-C99-based standards] (isnanf): Likewise.
58284         [non-C99-based standards] (acoshf): Likewise.
58285         [non-C99-based standards] (asinhf): Likewise.
58286         [non-C99-based standards] (atanhf): Likewise.
58287         [non-C99-based standards] (cbrtf): Likewise.
58288         [non-C99-based standards] (expm1f): Likewise.
58289         [non-C99-based standards] (ilogbf): Likewise.
58290         [non-C99-based standards] (log1pf): Likewise.
58291         [non-C99-based standards] (logbf): Likewise.
58292         [non-C99-based standards] (nextafterf): Likewise.
58293         [non-C99-based standards] (remainderf): Likewise.
58294         [non-C99-based standards] (rintf): Likewise.
58295         [non-C99-based standards] (scalbf): Likewise.
58296         [non-C99-based standards] (copysignl): Likewise.
58297         [non-C99-based standards] (exp2l): Likewise.
58298         [non-C99-based standards] (log2l): Likewise.
58299         [non-C99-based standards] (modfl): Allow.
58300         [non-C99-based standards] (erfl): Do not allow.
58301         [non-C99-based standards] (erfcl): Likewise.
58302         [non-C99-based standards] (gammal): Likewise.
58303         [non-C99-based standards] (hypotl): Likewise.
58304         [non-C99-based standards] (j0l): Likewise.
58305         [non-C99-based standards] (j1l): Likewise.
58306         [non-C99-based standards] (jnl): Likewise.
58307         [non-C99-based standards] (lgammal): Likewise.
58308         [non-C99-based standards] (tgammal): Likewise.
58309         [non-C99-based standards] (y0l): Likewise.
58310         [non-C99-based standards] (y1l): Likewise.
58311         [non-C99-based standards] (ynl): Likewise.
58312         [non-C99-based standards] (isnanl): Likewise.
58313         [non-C99-based standards] (acoshl): Likewise.
58314         [non-C99-based standards] (asinhl): Likewise.
58315         [non-C99-based standards] (atanhl): Likewise.
58316         [non-C99-based standards] (cbrtl): Likewise.
58317         [non-C99-based standards] (expm1l): Likewise.
58318         [non-C99-based standards] (ilogbl): Likewise.
58319         [non-C99-based standards] (log1pl): Likewise.
58320         [non-C99-based standards] (logbl): Likewise.
58321         [non-C99-based standards] (nextafterl): Likewise.
58322         [non-C99-based standards] (remainderl): Likewise.
58323         [non-C99-based standards] (rintl): Likewise.
58324         [non-C99-based standards] (scalbl): Likewise.
58325         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58326         [non-C99-based standards] (FP_*): Do not allow.
58327         [C99-based standards] (FP_*): Change to
58328         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58329         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58330         allow.
58331         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
58332         (SIG_ERR): Likewise.
58333         [X/Open-based standards] (SIG_HOLD): Likewise.
58334         (SIG_IGN): Likewise.
58335         (SIGABRT): Use macro-int-constant.  Specify type.  Require
58336         positive value.
58337         (SIGFPE): Likewise.
58338         (SIGILL): Likewise.
58339         (SIGINT): Likewise.
58340         (SIGSEGV): Likewise.
58341         (SIGTER): Likewise.
58342         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
58343         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
58344         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
58345         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
58346         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
58347         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
58348         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
58349         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
58350         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
58351         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
58352         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
58353         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
58354         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
58355         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
58356         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
58357         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
58358         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
58359         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
58360         [X/Open-based standards] (SIGTRAP): Likewise.
58361         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
58362         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
58363         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
58364         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
58365         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58366         allow.
58368 2012-05-08  Ian Wienand  <ianw@vmware.com>
58370         [BZ #14080]
58371         * time/tzset.c (__tzset_parse_tz): Update default rules for
58372         daylight time changes in the Energy Policy Act of 2005.
58374 2012-05-09  Andreas Jaeger  <aj@suse.de>
58376         [BZ #13983]
58377         * elf/ldconfig.c (parse_conf): Change string to make clear that
58378         ldconfig only issued a warning if ld.so.conf does not exist.
58380 2012-05-08  David S. Miller  <davem@davemloft.net>
58382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
58383         movxtod instead of popping the value on the stack.
58385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58387 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
58389         * config.h.in: Add HAVE_ARM_PCS_VFP.
58391 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
58393         [BZ #13979]
58394         * include/features.h: Warn if user requests __FORTIFY_SOURCE
58395         checking but the checks are disabled for any reason.
58397 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
58399         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
58400         and ELF64_R_TYPE with ELFW(R_TYPE).
58402 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
58404         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
58405         (ulimit): Likewise.
58407         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
58408         (settimeofday): Likewise.
58410 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
58412         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
58413         a struct th_u2 inside the union, and move tu_block/tu_code into
58414         a new th_u3 union of tu_block/tu_code inside of that.  Move
58415         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
58416         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
58417         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
58418         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
58419         (th_stuff): Change to th_u1.tu_stuff.
58420         (th_data): Define.
58421         (th_msg): Change to th_u1.th_u2.tu_data.
58423 2012-05-07  David S. Miller  <davem@davemloft.net>
58425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58427         [BZ #14074]
58428         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
58429         (SETUP_PIC_REG): Use it.
58430         (SETUP_PIC_REG_LEAF): Use it.
58432 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
58434         [BZ #13885]
58435         [BZ #13923]
58436         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58437         USE_AS_EXPM1L.
58438         (EXPL_FINITE): Likewise.
58439         (FLDLOG): Likewise.
58440         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58441         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58442         e_expl.S.
58443         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58444         USE_AS_EXPM1L.
58445         (EXPL_FINITE): Likewise.
58446         (FLDLOG): Likewise.
58447         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58448         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58449         e_expl.S.
58450         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
58451         test of -max_value argument for long double.
58452         * sysdeps/i386/fpu/libm-test-ulps: Update.
58453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58455 2012-05-06  David S. Miller  <davem@davemloft.net>
58457         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
58458         quad soft-float symbols whose references which are compiler
58459         generated.
58460         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58462 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
58464         [BZ #13884]
58465         [BZ #13914]
58466         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58467         USE_AS_EXP10L.
58468         (EXPL_FINITE): Likewise.
58469         (FLDLOG): Likewise.
58470         (c0): Likewise.
58471         (c1): Likewise.
58472         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58473         Adjust comments for base varying.
58474         (__expl_finite): Change alias to EXPL_FINITE.
58475         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
58476         e_expl.S.
58477         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
58478         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
58479         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
58480         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
58481         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58482         USE_AS_EXP10L.
58483         (EXPL_FINITE): Likewise.
58484         (FLDLOG): Likewise.
58485         (c0): Likewise.
58486         (c1): Likewise.
58487         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58488         Adjust comments for base varying.
58489         (__expl_finite): Change alias to EXPL_FINITE.
58490         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
58491         tests for bugs.
58492         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58494         [BZ #14064]
58495         * math/libm-test.inc (check_float_internal): Correct ulp
58496         calculation for subnormal expected results.
58498 2012-05-06  Andreas Jaeger  <aj@suse.de>
58500         * Makeconfig (+math-flags): New, set to -frounding-math.
58501         (+cflags): Add +math-flags so that all of glibc gets compiled with
58502         it.
58504         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
58506 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
58508         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
58509         Disable one test.
58511         [BZ #13787]
58512         [BZ #13922]
58513         [BZ #14036]
58514         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
58515         (__ieee754_expl): Allow for and saturate large arguments.
58516         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
58517         (u_threshold): Likewise.
58518         (__exp): Call __ieee754_exp before checking for overflow and
58519         underflow.
58520         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
58521         (u_threshold): Likewise.
58522         (__expf): Call __ieee754_expf before checking for overflow and
58523         underflow.
58524         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
58525         (u_threshold): Likewise.
58526         (__expl): Call __ieee754_expl before checking for overflow and
58527         underflow.
58528         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
58529         (__ieee754_expl): Allow for and saturate large arguments.
58530         * math/libm-test.inc (exp_test): Add another test.  Do not allow
58531         missing overflow exception on overflow.
58532         (expm1_test): Do not allow missing overflow exception on overflow.
58534         * sysdeps/i386/fpu/e_expl.c: Move to ...
58535         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
58536         rather than using inline asm.
58537         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
58538         * sysdeps/x86_64/fpu/e_expl.S: Copy from
58539         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
58541         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
58542         (nice): Likewise.
58543         (poll): Likewise.
58544         (signal): Likewise.
58545         (time): Likewise.
58546         (times): Likewise.
58548 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58550         * sysdeps/unix/syscalls.list (adjtime): Add entry from
58551         sysdeps/unix/common/syscalls.list.
58552         (fchmod): Likewise.
58553         (fchown): Likewise.
58554         (ftruncate): Likewise.
58555         (getrusage): Likewise.
58556         (gettimeofday): Likewise.
58557         (setpgid): Likewise.
58558         (setregid): Likewise.
58559         (setreuid): Likewise.
58560         (sigaction): Likewise.
58561         (truncate): Likewise.
58562         (vhangup): Likewise.
58563         * sysdeps/unix/common/syscalls.list: Remove file.
58564         * sysdeps/unix/bsd/Implies: Don't include unix/common.
58565         * sysdeps/unix/sysv/linux/Implies: Likewise.
58567 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
58569         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
58570         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
58571         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
58572         Moved to ...
58573         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
58574         Here.
58575         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
58576         to ...
58577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
58578         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
58579         to ...
58580         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
58581         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
58582         to ...
58583         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
58584         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
58585         to ...
58586         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
58587         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
58588         to ...
58589         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
58590         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
58591         to ...
58592         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
58593         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
58594         to ...
58595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58596         Here.
58597         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
58598         to ...
58599         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
58600         Here.
58601         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
58602         to ...
58603         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
58604         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
58605         Moved to ...
58606         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
58607         Here.
58608         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
58609         to ...
58610         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
58612 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58614         * sysdeps/unix/common/bits/dirent.h: Remove file.
58615         * sysdeps/unix/common/bits/fcntl.h: Likewise.
58617         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
58618         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
58619         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
58620         * sysdeps/unix/bsd/isatty.c: Likewise.
58621         * sysdeps/unix/bsd/tcdrain.c: Likewise.
58622         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
58623         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
58625 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58627         [BZ #13563]
58628         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
58629         long double comparison inaccuracies.
58630         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
58631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58633 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
58635         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
58636         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
58638 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58640         [BZ #14049]
58641         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
58642         nonzero digits before rounding a hex value.
58643         * stdlib/tst-strtod.c (tests): Add another test.
58645 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58647         * sysdeps/s390/fpu/libm-test-ulps: Update.
58649 2012-05-03  Andreas Jaeger  <aj@suse.de>
58651         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
58652         does not get optimized out.
58653         (malloc_opt_barrier): New.
58655 2012-05-03  Andreas Jaeger  <aj@suse.de>
58656             Roland McGrath  <roland@hack.frob.com>
58658         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
58659         intermediate file deletion.
58660         (generated): Add .symlist files.
58662 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
58664         [BZ #13775]
58665         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
58666         Redirect under this condition.
58667         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
58668         [__USE_GNU] (__dprintf_chk): Not under this condition.
58669         [__USE_GNU] (__vdprintf_chk): Likewise.
58670         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
58671         under this condition.
58672         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
58673         [__USE_XOPEN2K8] (dprintf): Define under this condition.
58674         [__USE_XOPEN2K8] (vdprintf): Likewise.
58675         [__USE_GNU] (__dprintf_chk): Not under this condition.
58676         [__USE_GNU] (__vdprintf_chk): Likewise.
58677         [__USE_GNU] (dprintf): Likewise.
58678         [__USE_GNU] (vdprintf): Likewise.
58680 2012-05-03  Roland McGrath  <roland@hack.frob.com>
58682         * elf/Makefile (common-generated): Set this instead of generated for
58683         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
58684         $(all-built-dso)-derived lists.
58686 2012-05-03  Andreas Jaeger  <aj@suse.de>
58688         * sysdeps/i386/fpu/libm-test-ulps: Update.
58690         * FAQ: Removed.
58691         * FAQ.in: Likewise.
58692         * scripts/gen-FAQ.pl: Likewise.
58693         * manual/install.texi (Installation): Point to online location of
58694         FAQ.
58695         * Makefile (files-for-dist): Remove FAQ.
58696         (FAQ): Remove.
58698 2012-05-02  Allan McRae  <allan@archlinux.org>
58700         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
58701         (LDFLAGS-reldepmod5.so): Likewise.
58702         (LDFLAGS-reldep6mod1.so): Likewise.
58703         (LDFLAGS-reldep6mod4.so): Likewise.
58704         (LDFLAGS-reldep8mod3.so): Likewise.
58705         (LDFLAGS-unload4mod1.so): Likewise.
58706         (LDFLAGS-unload4mod2.so): Likewise.
58707         (LDFLAGS-tst-initorder): Likewise.
58708         (LDFLAGS-tst-initordera2.so): Likewise.
58709         (LDFLAGS-tst-initordera3.so): Likewise.
58710         (LDFLAGS-tst-initordera4.so): Likewise.
58711         (LDFLAGS-tst-initorderb2.so): Likewise.
58712         (LDFLAGS-noload): Likewise.
58713         (LDFLAGS-next): Likewise.
58714         (LDFLAGS-order2mod1.so): Likewise.
58715         (LDFLAGS-order2mod2.so): Likewise.
58716         (LDFLAGS-tst-initorder2): Likewise.
58717         (LDFLAGS-tst-initorder2a.so): Likewise.
58718         (LDFLAGS-tst-initorder2b.so): Likewise.
58719         (LDFLAGS-tst-initorder2c.so): Likewise.
58720         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
58722 2012-05-02  David S. Miller  <davem@davemloft.net>
58724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58726 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
58728         [BZ #14055]
58729         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
58731 2012-05-02  Andreas Jaeger  <aj@suse.de>
58733         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
58734         since we manipulate rounding mode.
58735         (CPPFLAGS-test-idouble.c): Likewise.
58736         (CPPFLAGS-test-ifloat.c): Likewise.
58737         (CFLAGS-test-ldouble.c): Likewise.
58738         (CFLAGS-test-double.c): Likewise.
58739         (CFLAGS-test-float.c): Likewise.
58740         (CFLAGS-test-misc.c): Likewise.
58741         (CFLAGS-test-test-fenv.c): Likewise.
58743 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58745         [BZ #2550]
58746         [BZ #2570]
58747         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
58748         comparisons to determine direction to adjust input.
58750 2012-05-01  Roland McGrath  <roland@hack.frob.com>
58752         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
58753         output to the target.
58755         * scripts/localplt.awk: New file.
58756         * elf/Makefile ($(objpfx)check-localplt): Target removed.
58757         (check-localplt-CFLAGS): Variable removed.
58758         ($(all-built-dso:=.jmprel)): New static pattern rule.
58759         (generated): Add those targets.
58760         (localplt-built-dso): New variable.
58761         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
58763         * elf/check-localplt.c: File removed.
58765         * scripts/check-execstack.awk: New file.
58766         * elf/Makefile ($(objpfx)check-execstack): Target removed.
58767         (check-execstack-CFLAGS): Variable removed.
58768         ($(objpfx)check-execstack.h): Target removed.
58769         ($(objpfx)execstack-default): New target.
58770         (generated): Add that instead of check-execstack.h.
58771         ($(all-built-dso:=.phdr)): New static pattern rule.
58772         (generated): Add those targets.
58773         * elf/check-execstack.c: File removed.
58775         * scripts/check-textrel.awk: New file.
58776         * elf/Makefile ($(objpfx)check-textrel): Target removed.
58777         (check-textrel-CFLAGS): Variable removed.
58778         (all-built-dso): Use := to define.o
58779         ($(all-built-dso:=.dyn)): New static pattern rule.
58780         (generated): Add those targets.
58781         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
58782         * config.make.in (READELF): New substituted variable.
58783         * elf/check-textrel.c: File removed.
58785 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58787         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58788         allow.
58789         * conform/data/ctype.h-data [C99-based standards] (isblank):
58790         Expect function.
58791         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
58792         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
58793         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58794         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
58795         Specify type.  Require positive value.
58796         (EILSEQ): Likewise.
58797         (ERANGE): Likewise.
58798         [ISO || POSIX] (EILSEQ): Do not expect.
58799         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
58800         Specify type.  Require positive value.
58801         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
58802         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
58803         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
58804         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
58805         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
58806         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
58807         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
58808         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
58809         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
58810         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
58811         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
58812         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
58813         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
58814         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
58815         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
58816         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
58817         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
58818         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
58819         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
58820         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
58821         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
58822         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
58823         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
58824         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
58825         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
58826         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
58827         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
58828         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
58829         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
58830         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
58831         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
58832         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
58833         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
58834         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
58835         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
58836         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
58837         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
58838         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
58839         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
58840         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
58841         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
58842         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
58843         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
58844         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
58845         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
58846         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
58847         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
58848         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
58849         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
58850         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
58851         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
58852         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
58853         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
58854         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
58855         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
58856         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
58857         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
58858         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
58859         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
58860         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
58861         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
58862         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
58863         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
58864         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
58865         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
58866         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
58867         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
58868         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
58869         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
58870         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
58871         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
58872         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
58873         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
58874         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
58875         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
58876         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
58877         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
58878         Require >= 2.
58879         (FLT_ROUNDS): Expect as macro, not constant.
58880         (FLT_MANT_DIG): Use macro-int-constant.
58881         (DBL_MANT_DIG): Likewise.
58882         (LDBL_MANT_DIG): Likewise.
58883         (FLT_DIG): Likewise.
58884         (DBL_DIG): Likewise.
58885         (LDBL_DIG): Likewise.
58886         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
58887         (DBL_MIN_EXP): Likewise.
58888         (LDBL_MIN_EXP): Likewise.
58889         (FLT_MAX_EXP): Use macro-int-constant.
58890         (DBL_MAX_EXP): Likewise.
58891         (LDBL_MAX_EXP): Likewise.
58892         (FLT_MAX_10_EXP): Likewise.
58893         (DBL_MAX_10_EXP): Likewise.
58894         (LDBL_MAX_10_EXP): Likewise.
58895         (FLT_MAX): Use macro-constant.
58896         (DBL_MAX): Likewise.
58897         (LDBL_MAX): Likewise.
58898         (FLT_EPSILON): Use macro-constant.  Give upper bound.
58899         (DBL_EPSILON): Likewise.
58900         (LDBL_EPSILON): Likewise.
58901         (FLT_MIN): Likewise.
58902         (DBL_MIN): Likewise.
58903         (LDBL_MIN): Likewise.
58904         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
58905         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
58906         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
58907         [ISO11] (FLT_HAS_SUBNORM): Likewise.
58908         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
58909         [ISO11] (DBL_DECIMAL_DIG): Likewise.
58910         [ISO11] (FLT_DECIMAL_DIG): Likewise.
58911         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
58912         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
58913         [ISO11] (FLT_TRUE_MIN): Likewise.
58914         [ISO11] (LDBL_TRUE_MIN): Likewise.
58915         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58916         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
58917         (SCHAR_MIN): Use macro-int-constant.  Specify type.
58918         (SCHAR_MAX): Likewise.
58919         (UCHAR_MAX): Likewise.
58920         (CHAR_MIN): Likewise.
58921         (CHAR_MAX): Likewise.
58922         (MB_LEN_MAX): Use macro-int-constant.
58923         (SHRT_MIN): Use macro-int-constant.  Specify type.
58924         (SHRT_MAX): Likewise.
58925         (USHRT_MAX): Likewise.
58926         (INT_MAX): Likewise.
58927         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
58928         bound negative.
58929         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58930         bound with "U".
58931         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58932         bound with "L".
58933         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
58934         bound negative.  Suffix upper bound with "L".
58935         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58936         bound with "UL".
58937         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
58938         Specify type.
58939         [C99-based standards] (LLONG_MAX): Likewise.
58940         [C99-based standards] (ULLONG_MAX): Likewise.
58941         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
58942         == 0.
58943         [ISO11] (max_align_t): Require type.
58944         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58946         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
58947         from $CFLAGS, without defining away __attribute__ calls.
58948         (checknamespace): Use $CFLAGS_namespace.
58950         * conform/conformtest.pl (@keywords): Only include C99 keywords
58951         for standards based on C99 or C11.
58953         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
58954         Disable tests.
58955         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
58956         UNIX98]: Likewise.
58958         * conform/conformtest.pl: Handle "macro-int-constant" and test for
58959         usability of symbols in #if.
58961         * conform/conformtest.pl: If macro or constant types start
58962         "promoted:", expect the symbol to be of the following type
58963         promoted by the integer promotions.
58965         * conform/conformtest.pl: Parse all "constant" and "macro" lines
58966         in one place.  Also handle "macro-constant".
58968         * conform/conformtest.pl: Only accept expected macro values with
58969         "==".  Parse all "macro" lines in one place.
58970         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
58972         * conform/conformtest.pl: Handle braced types on "constant" lines
58973         instead of handling "typed-constant".
58974         * conform/data/signal.h-data: Use "constant" instead of
58975         "typed-constant".
58977         * conform/conformtest.pl: Handle "optional-" at start of lines in
58978         one place rather than duplicating several cases.  Handle each
58979         format of "macro" line with initial "optional-".
58981         * conform/conformtest.pl: Only accept expected constant or
58982         optional-constant values with "==".  Parse all "constant" lines in
58983         one place.  Parse all "optional-constant" lines in one place.
58984         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
58985         * conform/data/fmtmsg.h-data: Likewise.
58986         * conform/data/netinet/in.h-data: Likewise.
58987         * conform/data/tar.h-data: Likewise.
58988         * conform/data/limits.h-data: Use "==" form on "constant" and
58989         "optional-constant" lines.
58991         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
58992         Use -std=c99 for XOPEN2K.
58993         (@knownproblems): Remove.
58994         (newtoken): Don't check %isknown.
58996         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
58997         Do not expect macro.
58998         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
58999         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
59000         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
59001         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
59002         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
59003         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
59004         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
59005         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
59006         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
59007         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
59008         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
59009         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
59010         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
59011         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
59012         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
59013         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
59014         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
59015         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
59016         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
59017         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
59018         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
59019         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
59020         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
59021         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
59022         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
59023         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
59024         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
59025         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
59026         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
59027         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
59028         [XPG3] (acosh): Likewise.
59029         [XPG3] (asinh): Likewise.
59030         [XPG3] (atanh): Likewise.
59031         [XPG3] (cbrt): Likewise.
59032         [XPG3] (expm1): Likewise.
59033         [XPG3] (ilogb): Likewise.
59034         [XPG3] (log1p): Likewise.
59035         [XPG3] (logb): Likewise.
59036         [XPG3] (nextafter): Likewise.
59037         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
59038         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
59039         [XPG3] (remainder): Likewise.
59040         [XPG3] (rint): Likewise.
59041         [XPG3 || XPG4 || UNIX98] (round): Likewise.
59042         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
59043         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
59044         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
59045         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
59046         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
59047         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
59048         [UNIX98 || XOPEN2K] (scalb): Expect.
59049         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
59050         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
59051         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
59052         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
59053         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
59054         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
59055         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
59056         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
59057         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
59058         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
59059         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
59060         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
59061         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
59062         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
59063         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
59064         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
59065         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
59066         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
59067         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
59068         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
59069         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
59070         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
59071         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
59072         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
59073         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
59074         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
59075         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
59076         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
59077         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
59078         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
59079         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
59080         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
59081         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
59082         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
59083         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
59084         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
59085         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
59086         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
59087         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
59088         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
59089         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
59090         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
59091         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
59092         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
59093         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
59094         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
59095         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
59096         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
59097         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
59098         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
59099         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
59100         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
59101         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
59102         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
59103         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
59104         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
59105         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
59106         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
59107         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
59108         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
59109         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
59110         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
59111         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
59112         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
59113         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
59114         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
59115         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
59116         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
59117         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
59118         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
59119         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
59120         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
59121         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
59122         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
59123         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
59124         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
59125         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
59126         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
59127         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
59128         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
59129         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
59130         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
59131         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
59132         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
59133         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
59134         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
59135         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
59136         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
59137         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
59138         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
59139         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
59140         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
59141         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
59142         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
59143         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
59144         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
59145         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
59146         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
59147         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
59148         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
59149         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
59150         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
59151         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
59152         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
59153         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
59154         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
59155         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
59156         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
59157         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
59158         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
59159         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
59160         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
59161         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
59162         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
59163         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
59164         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
59165         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
59166         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
59167         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
59168         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
59169         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
59170         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
59171         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
59172         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
59173         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
59174         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
59175         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
59176         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
59177         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
59178         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
59179         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
59180         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
59181         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
59182         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
59183         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
59184         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
59185         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
59187         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
59188         _XOPEN_SOURCE_EXTENDED for XPG4.
59190         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
59192         * Makeconfig (localtime): Remove variable.
59193         (inst_localtime-file): Likewise.
59195 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
59198         Update.
59199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59200         Update.
59201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
59202         Update.
59203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
59204         Update.
59205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
59206         Update.
59207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
59208         Update.
59209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59210         Update.
59211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
59212         Update.
59213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59214         Update.
59216 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59218         [BZ #2550]
59219         [BZ #2570]
59220         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
59221         comparisons to determine direction to adjust input.
59222         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
59223         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
59224         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
59225         Likewise.
59226         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
59227         Likewise.
59228         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59229         Likewise.
59230         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
59231         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
59232         Likewise.
59233         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
59234         Likewise.
59235         * math/libm-test.inc (nexttoward_test): Add more tests.
59237 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59239         [BZ #14040]
59240         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
59241         in version GLIBC_2.1, not GLIBC_2.0.
59242         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
59243         Likewise.
59245 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
59247         [BZ #13942]
59248         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
59249         (1 - x) * (1 + x).
59250         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59251         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
59252         * math/libm-test.inc (acos_test): Add more tests.
59253         (asin_test): Likewise.
59254         * sysdeps/i386/fpu/libm-test-ulps: Update.
59255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59257         [BZ #14034]
59258         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
59259         of square root.
59260         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
59261         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59262         * math/libm-test.inc (acos_test_tonearest): New function.
59263         (acos_test_towardzero): Likewise.
59264         (acos_test_downward): Likewise.
59265         (acos_test_upward): Likewise.
59266         (asin_test_tonearest): Likewise.
59267         (asin_test_towardzero): Likewise.
59268         (asin_test_downward): Likewise.
59269         (asin_test_upward): Likewise.
59270         (main): Call the new functions.
59271         * sysdeps/i386/fpu/libm-test-ulps: Update.
59272         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59274         [BZ #13884]
59275         [BZ #13924]
59276         * math/e_exp10.c: Include <float.h>.
59277         (__ieee754_exp10): Handle underflow here rather than multiplying
59278         large negative argument by M_LN10.
59279         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
59280         of __ieee754_expf.
59281         * math/e_exp10l.c: Include <float.h>.
59282         (__ieee754_exp10l): Handle underflow here rather than multiplying
59283         large negative argument by M_LN10l.
59284         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
59285         spurious overflow exception on underflow.
59287 2012-04-29  Marek Polacek  <polacek@redhat.com>
59289         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
59290         (__fortify_function): New macro.
59291         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
59292         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
59293         __extern_always_inline.
59294         * libio/bits/stdio2.h: Likewise.
59295         * libio/bits/stdio.h: Likewise.
59296         * string/string.h: Likewise.
59297         * string/bits/string3.h: Likewise.
59298         * include/stdio.h: Likewise.
59299         * stdlib/bits/stdlib.h: Likewise.
59300         * stdlib/stdlib.h: Likewise.
59301         * rt/bits/mqueue2.h: Likewise.
59302         * rt/mqueue.h: Likewise.
59303         * posix/bits/unistd.h: Likewise.
59304         * posix/unistd.h: Likewise.
59305         * io/bits/poll2.h: Likewise.
59306         * io/bits/fcntl2.h: Likewise.
59307         * io/fcntl.h: Likewise.
59308         * io/sys/poll.h: Likewise.
59309         * misc/bits/syslog.h: Likewise.
59310         * misc/bits/syslog-ldbl.h: Likewise.
59311         * misc/sys/syslog.h: Likewise.
59312         * socket/bits/socket2.h: Likewise.
59313         * socket/sys/socket.h: Likewise.
59314         * debug/tst-chk1.c: Likewise.
59315         * wcsmbs/bits/wchar2.h: Likewise.
59316         * wcsmbs/bits/wchar-ldbl.h: Likewise.
59317         * wcsmbs/wchar.h: Likewise.
59319 2012-04-29  Andreas Jaeger  <aj@suse.de>
59321         * Makerules (tests): Remove enable-check-abi protection.
59322         (check-abi-warn): Remove.
59323         (check-abi-%): Remove check-abi-warn usage.
59325         * configure.in: Remove check-abi configure option.
59326         * configure: Regenerated.
59327         * config.make.in (enable-check-abi): Remove.
59329 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
59331         [BZ #14033]
59332         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
59333         double functions to double *_finite functions.
59335         [BZ #13941]
59336         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
59337         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
59338         LDBL_MIN_EXP.
59339         * stdio-common/Makefile (tests): Add tst-sprintf3.
59340         * stdio-common/tst-sprintf3.c: New file.
59342         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
59343         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
59345 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59347         * conform/conformtest.pl: Remove duplicate typed-constant
59348         handling.
59350 2012-04-28  David S. Miller  <davem@davemloft.net>
59352         * Makerules (%.abilist): Add vpath on sysdep_dirs.
59353         (check-abi-%): Remove AWK script prerequisite and explicit
59354         abilist directory.
59355         (check-abi): Rewrite to just diff the symlist with the abilist.
59356         (config-tls, config-abi-config): Delete, no longer used.
59357         (update-abi-%): Remove AWK script and explicit abilist directory.
59358         (update-abi): Rewrite to simply compare and conditionally copy the
59359         symlist and the sysdep abilist file.  Remove update-abi-config
59360         checks.
59361         * abilist/ld.abilist: Remove.
59362         * abilist/libBrokenLocale.abilist: Remove.
59363         * abilist/libanl.abilist: Remove.
59364         * abilist/libcrypt.abilist: Remove.
59365         * abilist/libdl.abilist: Remove.
59366         * abilist/librt.abilist: Remove.
59367         * abilist/libthread_db.abilist: Remove.
59368         * abilist/libutil.abilist: Remove.
59369         * scripts/extract-abilist.awk: Remove.
59370         * scripts/merge-abilist.awk: Remove.
59371         * sysdeps/generic/libcidn.abilist: New file.
59372         * sysdeps/generic/libnss_compat.abilist: New file.
59373         * sysdeps/generic/libnss_db.abilist: New file.
59374         * sysdeps/generic/libnss_dns.abilist: New file.
59375         * sysdeps/generic/libnss_files.abilist: New file.
59376         * sysdeps/generic/libnss_hesiod.abilist: New file.
59377         * sysdeps/generic/libnss_nis.abilist: New file.
59378         * sysdeps/generic/libnss_nisplus.abilist: New file.
59379         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
59380         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
59381         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
59382         file.
59383         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
59384         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
59385         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
59386         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
59387         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
59388         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
59389         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
59390         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
59391         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
59392         file.
59393         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
59394         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
59395         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
59396         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
59397         file.
59398         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
59399         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
59400         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
59401         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
59402         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
59403         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
59404         file.
59405         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
59406         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
59407         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
59408         file.
59409         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
59410         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
59411         New file.
59412         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
59413         New file.
59414         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
59415         New file.
59416         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
59417         New file.
59418         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
59419         New file.
59420         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
59421         New file.
59422         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
59423         New file.
59424         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
59425         New file.
59426         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
59427         New file.
59428         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
59429         New file.
59430         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
59431         New file.
59432         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
59433         New file.
59434         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
59435         New file.
59436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
59437         file.
59438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
59439         New file.
59440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
59441         New file.
59442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
59443         file.
59444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
59445         New file.
59446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
59447         New file.
59448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
59449         file.
59450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
59451         New file.
59452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59453         New file.
59454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
59455         New file.
59456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
59457         New file.
59458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
59459         New file.
59460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
59461         New file.
59462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
59463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
59464         file.
59465         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
59466         New file.
59467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
59468         file.
59469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
59470         file.
59471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
59472         file.
59473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
59474         file.
59475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
59476         file.
59477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59478         New file.
59479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
59480         file.
59481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
59482         file.
59483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
59484         New file.
59485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
59486         file.
59487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
59488         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
59489         file.
59490         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
59491         New file.
59492         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
59493         file.
59494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
59495         file.
59496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
59497         file.
59498         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
59499         file.
59500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
59501         file.
59502         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59503         New file.
59504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
59505         file.
59506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
59507         file.
59508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
59509         New file.
59510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
59511         file.
59512         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59513         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
59514         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
59515         file.
59516         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
59517         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
59518         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
59519         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
59520         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
59521         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
59522         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
59523         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
59524         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
59525         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
59526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
59527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
59528         file.
59529         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
59530         New file.
59531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
59532         file.
59533         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
59534         file.
59535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
59536         file.
59537         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
59538         file.
59539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
59540         file.
59541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
59542         New file.
59543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
59544         New file.
59545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
59546         file.
59547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
59548         New file.
59549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
59550         file.
59551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
59552         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
59553         file.
59554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
59555         New file.
59556         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
59557         file.
59558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
59559         file.
59560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
59561         file.
59562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
59563         file.
59564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
59565         file.
59566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
59567         New file.
59568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
59569         New file.
59570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
59571         file.
59572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
59573         New file.
59574         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
59575         file.
59577 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59579         * conform/conformtest.pl: Fix typo in handling typed-constant from
59580         allow-header.
59582 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
59584         * README: Cut down references to pre-2.6 Linux kernels and
59585         Linuxthreads.  Update lists of configurations in libc and ports
59586         and sort alphabetically.  Say "or newer" with Linux kernel version
59587         requirements.
59589         * config.h.in [IS_IN_build]: Allow compiling without optimization.
59591 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59593         [BZ #887]
59594         * math/libm-test.inc (logb_test_downward): New test to expose
59595         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
59596         rounding mode.
59598 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
59600         [BZ #14027]
59601         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
59602         to be done.
59603         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
59604         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
59606 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
59608         * sysdeps/unix/i386/brk.S: Remove file.
59609         * sysdeps/unix/i386/dl-brk.S: Likewise.
59610         * sysdeps/unix/i386/pipe.S: Likewise.
59611         * sysdeps/unix/i386/sigreturn.S: Likewise.
59612         * sysdeps/unix/i386/syscall.S: Likewise.
59613         * sysdeps/unix/i386/vfork.S: Likewise.
59614         * sysdeps/unix/i386/wait.S: Likewise.
59616         * sysdeps/unix/common/tcsendbrk.c: Move to ...
59617         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
59619         * configure.in (arm*-none*): Do not allow without
59620         --enable-hacker-mode.
59621         (netbsd*): Remove case setting base_os.
59622         (386bsd*): Likewise.
59623         (freebsd*): Likewise.
59624         (bsdi*): Likewise.
59625         (osf*): Likewise.
59626         (sunos*): Likewise.
59627         (ultrix*): Likewise.
59628         (newsos*): Likewise.
59629         (dynix*): Likewise.
59630         (*bsd*): Likewise.
59631         (sysv*): Likewise.
59632         (isc*): Likewise.
59633         (esix*): Likewise.
59634         (sco*): Likewise.
59635         (minix*): Likewise.
59636         (irix4*): Likewise.
59637         (irix6*): Likewise.
59638         (solaris[2-9]*): Likewise.
59639         (none): Likewise.
59640         * configure: Regenerated.
59642 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59644         [BZ #11521]
59645         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
59646         overflow or cancellation in calculating denominator.
59647         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
59648         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
59649         down expression to avoid unexpected rounding in newer GCCs.
59650         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
59652 2012-04-26  David S. Miller  <davem@davemloft.net>
59654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
59655         long-double compat symbols.
59656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
59658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
59659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
59660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
59661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
59662         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
59663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
59664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
59665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
59666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
59667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
59668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
59670 2012-04-25  David S. Miller  <davem@davemloft.net>
59672         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
59673         HWCAP_* values only after the memory barriers have been defined.
59674         (atomic_full_barrier): Define.
59675         (atomic_read_barrier): Define.
59676         (atomic_write_barrier): Define.
59678 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59680         * shlib-versions: Add libgcc_s version information.
59681         * sysdeps/generic/libgcc_s.h: Remove.
59682         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
59683         libgcc_s.h.
59684         * sysdeps/gnu/unwind-resume.c: Likewise.
59685         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
59687 2012-04-25  David S. Miller  <davem@davemloft.net>
59689         * sysdeps/unix/sparc/brk.S: Delete.
59690         * sysdeps/unix/sparc/dl-brk.S: Delete.
59691         * sysdeps/unix/sparc/pipe.S: Delete.
59692         * sysdeps/unix/sparc/sysdep.S: Delete.
59693         * sysdeps/unix/sparc/sysdep.h: Delete.
59694         * sysdeps/unix/sparc/vfork.S: Delete.
59695         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
59696         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
59697         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
59698         (ret_ERRVAL, r0, r1, MOVE): Define.
59699         (JUMPTARGET): Remove.
59700         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
59701         sysdeps/unix/sparc/sysdep.h
59702         (ENTRY, END): Remove.
59703         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59705 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
59707         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
59708         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
59709         -DIS_IN_build.
59711         * timezone/README: Update upstream location and email address for
59712         tzcode and tzdata.
59713         * timezone/zdump.c: Update from tzcode 2012b.
59714         * timezone/zic.c: Likewise.
59716         * configure.in (libc_cv_as_needed): Remove test.
59717         * configure: Regenerated.
59718         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
59719         conditional definition.
59720         [$(have-as-needed) != yes] (no-as-needed): Likewise.
59721         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
59722         * config.make.in (have-as-needed): Remove variable.
59724 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59725             Paul Pluzhnikov  <ppluzhnikov@google.com>
59727         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
59728         strings correctly.
59730 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
59732         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
59733         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
59734         * sysdeps/sh/strlen.S: Likewise.
59736 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59738         * sysdeps/unix/fork.S: Remove file.
59739         * sysdeps/unix/i386/fork.S: Likewise.
59740         * sysdeps/unix/sparc/fork.S: Likewise.
59742         * sysdeps/unix/system.c: Remove file.
59743         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
59745         * sysdeps/unix/getegid.S: Remove file.
59746         * sysdeps/unix/geteuid.S: Likewise.
59748 2012-04-24  Roland McGrath  <roland@hack.frob.com>
59750         * scripts/check-localplt.awk: New file.
59751         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
59752         of diff.
59753         * scripts/data/localplt-generic.data: Add a comment.
59755         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
59756         NODE when __dir_mkfile failed.
59757         * sysdeps/mach/hurd/symlinkat.c: Likewise.
59758         Reported by Ludovic Courtès <ludo@gnu.org>.
59760 2012-04-24  Andreas Jaeger  <aj@suse.de>
59762         * Makerules (common-clean): Also remove gen-as-const-headers
59763         files.
59765 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59767         * Makerules (native-compile): Do not change working directory for
59768         build.  Use $(OUTPUT_OPTION) in command.
59769         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
59771 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59773         [BZ #13886]
59774         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
59775         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
59776         * math/libm-test.inc (floor_test): Add more tests.
59777         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
59779 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59781         * sysdeps/unix/getdents.c: Remove file.
59782         * sysdeps/unix/sysv/getdents.c: Likewise.
59783         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
59785         * sysdeps/unix/syscalls.list (madvise): Add syscall from
59786         sysdeps/unix/mman/syscalls.list.
59787         (mmap): Likewise.
59788         (mprotect): Likewise.
59789         (msync): Likewise.
59790         (munmap): Likewise.
59791         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
59792         * sysdeps/unix/mman/syscalls.list: Remove.
59793         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
59795         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
59796         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
59797         * configure: Regenerated.
59798         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
59799         $(libgcc_s_suffix).
59800         * config.make.in (libgcc_s_suffix): Remove variable.
59802 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
59804         * sysdeps/unix/sysv/gethostname.c: Move to ...
59805         * sysdeps/posix/gethostname.c: ... here.
59807         * sysdeps/unix/execve.S: Remove file.
59809         * sysdeps/unix/_exit.S: Remove file.
59811 2012-04-23  Andreas Jaeger  <aj@suse.de>
59813         [BZ #13739]
59814         * manual/Makefile: Remove make dist support, there's no
59815         need for a stand-alone documentation tar ball.
59816         (TEXI2DVI): Define always, it's not in Makeconfig.
59817         (dist): Removed.
59818         (tar-it): Removed.
59819         (edition): Removed.
59820         (glibc-doc-$(edition).tar): Removed
59821         (%.Z): Removed.
59822         (%.gz): Removed.
59823         (%.uu): Removed.
59824         (ETAGS): Remove, it's in Makeconfig.
59825         (move-if-change): Remove, it's in Makeconfig.
59827 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
59829         [BZ #13970]
59830         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
59831         (strtod, strtof, strtold, strtol, strtoul, strtoq)
59832         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
59833         (strtod_l, strtof_l, strtold_l): Remove __wur.
59834         It is not necessarily an error to ignore strtol's return value.
59835         One can reliably look at the stored endptr to decide whether
59836         the number had valid syntax.
59838 2012-04-21  Andreas Jaeger  <aj@suse.de>
59840         [BZ #13739]
59841         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
59843 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
59845         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
59846         * sysdeps/unix/sysv/Versions: Remove file.
59848 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
59850         [BZ #13927]
59851         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59853 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
59855         [BZ #7064]
59856         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
59857         version from __vm86.
59859 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
59861         * sysdeps/unix/common/lxstat.c: Remove file.
59862         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
59864         * sysdeps/unix/sysv/Makefile: Remove file.
59866         * sysdeps/unix/sysv/direct.h: Remove file.
59868         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
59869         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
59870         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
59871         * sysdeps/unix/sysv/bits/signum.h: Likewise.
59872         * sysdeps/unix/sysv/bits/stat.h: Likewise.
59873         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
59874         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
59876         * sysdeps/unix/sysv/setrlimit.c: Remove file.
59878         * sysdeps/unix/xmknod.c: Remove file.
59879         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
59881         * sysdeps/unix/sysv/settimeofday.c: Remove file.
59883         * sysdeps/unix/sysv/i386/time.S: Remove file.
59885         * sysdeps/unix/fxstat.c: Remove file.
59886         * sysdeps/unix/xstat.c: Likewise.
59887         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
59889         * sysdeps/unix/sysv/sigaction.c: Remove file.
59891         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
59892         (sysdep_headers): Remove variable.
59893         [termio.h not in sysdep_headers] (generated): Likewise.
59894         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
59895         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
59896         * sysdeps/unix/sysv/tcdrain.c: Likewise.
59897         * sysdeps/unix/sysv/tcflow.c: Likewise.
59898         * sysdeps/unix/sysv/tcflush.c: Likewise.
59899         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
59900         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
59901         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
59902         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
59903         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
59905         * sysdeps/unix/siglist.c: Remove file.
59907         * sysdeps/unix/getppid.S: Remove file.
59909         * sysdeps/unix/mkdir.c: Remove file.
59910         * sysdeps/unix/rmdir.c: Likewise.
59912 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
59914         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
59915         ERR_MAX value.
59916         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
59917         errlist-compat value.
59919 2012-04-18  David S. Miller  <davem@davemloft.net>
59921         * sysdeps/generic/memcopy.h (reg_char): Delete.
59922         * debug/strcat_chk.c: Use char, not reg_char.
59923         * debug/strcpy_chk.c: Likewise.
59924         * debug/strncat_chk.c: Likewise.
59925         * debug/strncpy_chk.c: Likewise.
59926         * string/memchr.c: Likewise.
59927         * string/memrchr.c: Likewise.
59928         * string/rawmemchr.c: Likewise.
59929         * string/strcat.c: Likewise.
59930         * string/strchr.c: Likewise.
59931         * string/strchrnul.c: Likewise.
59932         * string/strcmp.c: Likewise.
59933         * string/strcpy.c: Likewise.
59934         * string/strncat.c: Likewise.
59935         * string/strncmp.c: Likewise.
59936         * string/strncpy.c: Likewise.
59938 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59940         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
59941         __builtin_memcopy is called when src and dest ranges are known to not
59942         overlap.
59944 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59946         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
59947         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
59948         fwd_align_merge macro call.
59949         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
59950         bwd_align_merge macro call.
59951         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59953 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59955         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
59956         bwd_align_merge macros.
59957         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
59958         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
59959         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59961 2012-04-18  David S. Miller  <davem@davemloft.net>
59963         * sysdeps/sparc/sparc64/memcopy.h: Delete.
59965 2012-04-18  Andreas Jaeger  <aj@suse.de>
59967         [BZ# 6794]
59968         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
59969         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
59970         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59972         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
59973         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
59974         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59976         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
59977         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
59978         Adjust for changed ldbl-128 files.
59980         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
59981         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
59982         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59984 2012-04-17  David S. Miller  <davem@davemloft.net>
59986         * sysdeps/sparc/sparc32/memcopy.h: Delete.
59988 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
59990         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
59991         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
59992         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
59993         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
59994         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
59995         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
59997 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59999         [BZ #6794]
60000         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
60001         * math/libm-test.inc: Add ilogb errno and exception tests.
60002         * math/w_ilogb.c: New file: ilogb wrapper.
60003         * math/w_ilogbf.c: New file: ilogbf wrapper.
60004         * math/w_ilogbl.c: New file: ilogbl wrapper.
60005         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
60006         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
60007         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
60008         exception being thrown with 0.0 as argument.
60009         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
60010         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
60011         exception being thrown with 0.0 as argument.
60012         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
60013         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60014         exception being thrown with 0.0 as argument.
60015         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
60016         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60017         exception being thrown with 0.0 as argument.
60018         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
60019         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
60020         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
60021         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
60022         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
60023         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
60024         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
60025         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
60026         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
60028 2012-04-17  Petr Baudis  <pasky@ucw.cz>
60030         * include/sys/uio.h: Change __vector to __iovec to avoid clash
60031         with altivec.
60033 2012-04-16  Marek Polacek  <polacek@redhat.com>
60035         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
60037 2012-04-16  Marek Polacek  <polacek@redhat.com>
60039         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
60040         operands of fdivp instruction.
60042 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60044         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
60045         * elf/tst-auditmod3b.c: Likewise.
60046         * elf/tst-auditmod4b.c: Likewise.
60047         * elf/tst-auditmod5b.c: Likewise.
60048         * elf/tst-auditmod6b.c: Likewise.
60049         * elf/tst-auditmod6c.c: Likewise.
60050         * elf/tst-auditmod7b.c: Likewise.
60051         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
60052         * sysdeps/x86_64/preconfigure.in: Likewise.
60053         * sysdeps/x86_64/preconfigure: Regenerated.
60055 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60057         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
60058         __ILP32__.
60060 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
60062         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60063         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
60065 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
60067         [BZ #13973]
60068         * locale/iso-639.def: Fix gl language name. Spotted by
60069         Yaron Shahrabani.
60071 2012-04-12  Roland McGrath  <roland@hack.frob.com>
60073         [BZ #2074]
60074         * libio/libio.h (__io_write_fn): Update comment.
60076 2012-04-12  Petr Baudis  <pasky@ucw.cz>
60078         [BZ #2074]
60079         * stdio.texi (Hook Functions): The user provided writer function
60080         is not allowed to return -1.
60082 2012-04-11  David S. Miller  <davem@davemloft.net>
60084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60086 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
60088         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
60089         Add a leading slash to rtkaio.
60091 2012-04-11  Jim Meyering  <meyering@redhat.com>
60093         [BZ #11959]
60094         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
60095         It is not necessarily an error to ignore fwrite's return
60096         value.  One can reliably use ferror to test for errors after
60097         the fact.
60099 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60101         * bits/types.h (__snseconds_t): New type.
60102         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
60104         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
60105         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60106         (__SNSECONDS_T_TYPE): Likewise.
60107         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60108         (__SNSECONDS_T_TYPE): Likewise.
60109         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60110         (__SNSECONDS_T_TYPE): Likewise.
60112 2012-04-10  Andreas Jaeger  <aj@suse.de>
60114         [BZ #2636]
60115         * manual/time.texi (Processor Time): Return type of times is
60116         elapsed real time since an arbitrary point in the past.
60117         (CPU Time): Move CLK_TCK from here...
60118         (Processor Time): ...to here.  Correct description.
60119         * manual/conf.texi (Constants for Sysconf): Correct description of
60120         _SC_CLK_TCK.
60122 2012-04-10  David S. Miller  <davem@davemloft.net>
60124         [BZ #13967]
60125         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
60126         where the is a gap between DT_REL(A) and DT_JMPREL.
60128 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60130         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
60131         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60132         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60134 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60136         * elf/dl-support.c (_dl_inhibit_cache): New variable.
60137         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
60138         (dl_main): Handle --inhibit-cache.
60139         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
60140         _dl_inhibit_cache.
60141         * elf/dl-load.c (_dl_map_object): Use it.
60142         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
60144 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60146         [BZ #13872]
60147         * sysdeps/i386/fpu/e_powl.S (p78): New object.
60148         (__ieee754_powl): Saturate large exponents rather than testing for
60149         overflow of y*log2(x).
60150         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60151         * math/libm-test.inc (pow_test): Do not permit spurious overflow
60152         exceptions.
60154         [BZ #11521]
60155         * math/s_ctan.c: Include <float.h>.
60156         (__ctan): Avoid internal overflow or cancellation in calculating
60157         denominator.
60158         * math/s_ctanf.c: Likewise.
60159         * math/s_ctanl.c: Likewise.
60160         * math/s_ctanh.c: Likewise.
60161         * math/s_ctanhf.c: Likewise.
60162         * math/s_ctanhl.c: Likewise.
60163         * math/libm-test.inc (ctan_test): Add more tests.
60164         (ctanh_test): Likewise.
60165         * sysdeps/i386/fpu/libm-test-ulps: Update.
60166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60168 2012-04-09  Andreas Jaeger  <aj@suse.de>
60170         [BZ #6894]
60171         * manual/filesys.texi (Directory Entries): Mention that d_namlen
60172         is an optional BSD extension.
60174         [BZ #10254]
60175         * manual/stdio.texi (Opening Streams): Document additional fopen
60176         parameters.
60178 2012-04-09  Roland McGrath  <roland@hack.frob.com>
60180         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
60181         %eax without telling the compiler.
60183 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
60185         [BZ # 13963]
60186         * manual/install.texi: Use sourceware.org.
60188 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60190         [BZ #13873]
60191         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
60192         (__ieee754_pow): Generate overflow and underflow using huge*huge
60193         and tiny*tiny rather than just returning constant infinity or zero
60194         for large exponents.
60195         * math/libm-test.inc (pow_test): Require overflow exceptions for
60196         applicable cases of large exponents.
60198         [BZ #706]
60199         * sysdeps/i386/fpu/e_pow.S (p10): New object.
60200         (__ieee754_pow): Use iterative multiplication algorithm only for
60201         integer exponents with absolute value below 1024.  Check for odd
60202         integer exponents when using algorithm for real exponents.
60203         * math/libm-test.inc (pow_test): Add more tests.
60204         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60206 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
60208         [BZ #13705]
60209         * math/libm-test.inc (exp_test): Do not allow overflow exception
60210         on underflow test.
60212 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
60214         [BZ #13705]
60215         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
60216         instead of __kernel_standard_f.
60218 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
60220         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
60221         * sysdeps/x86_64/memset_chk.S: Likewise.
60223 2012-04-08  Andreas Jaeger  <aj@suse.de>
60225         [BZ #10153]
60226         * manual/startup.texi (Environment Access): Describe return value
60227         for putenv and setenv.
60229         [BZ #6895]
60230         * manual/filesys.texi (Directory Entries): Add description for
60231         DT_LNK.
60233         [BZ #6890]
60234         * manual/filesys.texi (Directory Entries): Clarify that it's file
60235         system not operating system in the description of DT_UNKNOWN.
60237         [BZ #6578]
60238         * manual/syslog.texi (closelog): Fix reference, it's openlog.
60240 2012-04-08  Stephen Compall  <s11@member.fsf.org>
60242         [BZ #6649]
60243         * manual/llio.texi (Opening and Closing Files): Add cross
60244         reference to explain mode argument.
60246 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
60248         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
60249         * sysdeps/x86_64/memset_chk.S: Likewise.
60251 2012-04-07  David S. Miller  <davem@davemloft.net>
60253         * elf/elf.h (R_SPARC_WDISP10): Define.
60254         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
60255         R_SPARC_SIZE32.
60256         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
60257         R_SPARC_SIZE64 and R_SPARC_H34.
60259 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
60261         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
60262         conditions and remove no longer applicable assertion.
60264 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
60266         * bits/byteswap.h: Include <features.h>.
60267         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60268         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60270 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
60272         * bits/byteswap.h (__bswap_16): Removed.
60273         Include <bits/byteswap-16.h> to get __bswap_16.
60274         * sysdeps/i386/bits/byteswap.h: Likewise.
60275         * sysdeps/s390/bits/byteswap.h: Likewise.
60276         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60277         * bits/byteswap-16.h: New file.
60278         * sysdeps/i386/bits/byteswap-16.h: Likewise.
60279         * sysdeps/s390/bits/byteswap-16.h: Likewise.
60280         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
60281         * string/Makefile (headers): Add bits/byteswap-16.h.
60283 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60285         [BZ #13895]
60286         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
60287         extra indirection.
60288         * nss/Makefile (tests-static, tests): Add tst-nss-static.
60289         * nss/tst-nss-static.c: New.
60291 2012-04-06  Robert Millan  <rmh@gnu.org>
60293         [BZ #6486]
60294         * manual/llio.texi (File Position Primitive): lseek
60295         refers to WHENCE when it really means OFFSET.
60297 2012-04-06  Andreas Jaeger  <aj@suse.de>
60299         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
60300         strncmp declarations.
60302         * abilist/libc.abilist: Add __poll and __ppoll.
60304 2012-04-05  David S. Miller  <davem@davemloft.net>
60306         * scripts/check-local-headers.sh: Accept a host triplet in the
60307         path matched by the exclude regexp.
60309         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
60310         definition.
60311         * sysdeps/powerpc/powerpc32/dl-machine.h
60312         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
60313         * sysdeps/s390/s390-32/dl-machine.h
60314         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60315         * sysdeps/sparc/sparc32/dl-machine.h
60316         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60317         * sysdeps/sparc/sparc64/dl-machine.h
60318         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60320         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
60321         lazy binding.
60322         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
60323         undefined symbol errors.
60325         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
60326         DT_NEEDED entries.
60328 2012-04-05  Michael Matz  <matz@suse.de>
60330         [BZ #13592]
60331         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
60333 2012-04-05  Andreas Jaeger  <aj@suse.de>
60335         [BZ #13908]
60336         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
60337         comment.
60339 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60341         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
60342         which ROUND is no valid rounding mode.
60344 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60346         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
60347         read again.
60348         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
60350 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60352         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
60353         an exception using FPU order intentionally.
60355 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60357         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
60358         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
60359         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
60360         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
60362 2012-04-05  Simon Josefsson  <simon@josefsson.org>
60364         [BZ #12340]
60365         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
60366         EINVAL when BUFLEN is too smal.
60368 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
60370         [BZ #13553]
60371         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
60372         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
60374 2012-04-03  Andreas Jaeger  <aj@suse.de>
60376         [BZ #13938]
60377         * manual/setjmp.texi (System V contexts): Fix sentence.
60379         [BZ #13926]
60380         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
60381         New macro for this case.
60382         [!__GNUC__] (__bswap_64): New inline function for this case.
60383         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60384         * bits/byteswap.h: Likewise.
60385         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
60386         ull, guard with __GLIBC_HAVE_LONG_LONG.
60388         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
60389         __GLIBC_HAVE_LONG_LONG.
60391         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
60392         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
60394 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
60396         [BZ #13691]
60397         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
60398         inptr and inend, rather than using last_ch.
60400 2012-04-02  David S. Miller  <davem@davemloft.net>
60402         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
60403         * stdio-common/printf-parse.h (read_int): Change return type to
60404         'int', return -1 on INT_MAX overflow.
60405         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
60406         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
60407         overflows INT_MAX.  Check for overflow of in-format-string precision
60408         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
60409         SIZE_MAX not INT_MAX for integer overflow test.
60410         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
60411         skip the construct in the format string but do not record anything.
60412         * stdio-common/bug22.c: Adjust to test both width/prevision
60413         INT_MAX overflow as well as total length INT_MAX overflow.  Check
60414         explicitly for proper errno values.
60416 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
60418         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
60419         CHAR_MAX.
60420         * string/test-strcmp.c [! WIDE]: Likewise.
60421         * time/tst-mktime2.c: Likewise for INT_MAX.
60422         * string/test-string.h: #include <sys/param.h> for MIN.
60424         * csu/init-first.c (__libc_init_first): Call __ctype_init.
60425         * sysdeps/i386/init-first.c (init): Likewise.
60426         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
60427         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
60428         * sysdeps/sh/init-first.c (init): Likewise.
60430 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
60432         * po/ru.po: Update from translation team.
60433         * po/vi.po: Likewise.
60435 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
60437         * resolv/nss_dns/dns-host.c: Merge copyright years.
60439 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60441         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60442         Optimize memcpy with prefetch if
60443         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
60444         src, dst pointers have unequal 16 byte alignments.
60446 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60448         [BZ #13928]
60449         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
60450         from a CNAME entry and return the minimum ttl for the query.
60451         (gaih_getanswer_slice): Likewise.
60453 2012-03-30  Jeff Law  <law@redhat.com>
60455         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
60456         due to long keys.
60457         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
60458         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
60460         * resolv/nss_dns/dns-host.c: Update copyright year.
60462 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
60464         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
60465         requests to save a system call.  Fix check that all bytes are sent.
60467         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
60468         comments for sendmmsg.
60470 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60472         [BZ #13691]
60473         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
60474         with only 1 character between 0x0041 and 0x01b0.
60475         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
60476         * wcsmbs/tst-mbsnrtowcs.c: New file.
60478 2012-03-29  David S. Miller  <davem@davemloft.net>
60480         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
60481         small copies by hand.
60483 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60485         [BZ #13761]
60486         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
60487         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
60488         group memberships.
60490 2012-03-28  David S. Miller  <davem@davemloft.net>
60492         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
60493         that branches into memcpy.
60494         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
60495         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
60496         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60497         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
60498         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
60499         bits.
60500         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
60501         implementation too.
60502         * sysdeps/sparc/mempcpy.S: New file.
60504         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
60505         the IFUNC routine in the libc case.
60506         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
60508         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
60509         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
60510         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
60511         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
60512         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
60513         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
60514         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
60515         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
60517         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
60518         loop to 256 bytes instead of 64 bytes and fix test signedness.
60520         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
60521         * sysdeps/sparc/sparc32/Makefile: rather than here...
60522         * sysdeps/sparc/sparc64/Makefile: and here.
60524 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
60526         * malloc/mallocbug.c: Avoid warnings about unused variables.
60528 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60530         [BZ #13760]
60531         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
60532         in the right place. Discard and retry query if response is
60533         larger than input buffer size.
60535 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
60537         [BZ #369]
60538         [BZ #2678]
60539         [BZ #3866]
60540         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
60541         x for large integer exponent.
60542         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
60543         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
60544         sign of result as needed afterwards.
60545         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
60546         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
60547         result for underflowing pow the same as for overflow.
60548         (__kernel_standard_l): Handle powl overflow and underflow here
60549         rather than calling __kernel_standard.
60550         * math/libm-test.inc (pow_test): Add more tests.
60552         [BZ #3868]
60553         [BZ #13879]
60554         [BZ #13910]
60555         [BZ #13911]
60556         [BZ #13912]
60557         [BZ #13913]
60558         [BZ #13915]
60559         [BZ #13916]
60560         [BZ #13917]
60561         [BZ #13918]
60562         [BZ #13919]
60563         [BZ #13920]
60564         [BZ #13921]
60565         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
60566         * sysdeps/ieee754/k_standard.c: Include <float.h>.
60567         (__kernel_standard_l): New function.
60568         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
60569         __kernel_standard.
60570         * math/w_acosl.c (__acosl): Likewise.
60571         * math/w_asinl.c (__asinl): Likewise.
60572         * math/w_atan2l.c (__atan2l): Likewise.
60573         * math/w_atanhl.c (__atanhl): Likewise.
60574         * math/w_coshl.c (__coshl): Likewise.
60575         * math/w_exp10l.c (__exp10l): Likewise.
60576         * math/w_exp2l.c (__exp2l): Likewise.
60577         * math/w_fmodl.c (__fmodl): Likewise.
60578         * math/w_hypotl.c (__hypotl): Likewise.
60579         * math/w_j0l.c (__j0l, __y0l): Likewise.
60580         * math/w_j1l.c (__j1l, __y1l): Likewise.
60581         * math/w_jnl.c (__jnl, __ynl): Likewise.
60582         * math/w_lgammal.c (__lgammal): Likewise.
60583         * math/w_log10l.c (__log10l): Likewise.
60584         * math/w_log2l.c (__log2l): Likewise.
60585         * math/w_logl.c (__logl): Likewise.
60586         * math/w_powl.c (__powl): Likewise.
60587         * math/w_remainderl.c (__remainderl): Likewise.
60588         * math/w_scalbl.c (sysv_scalbl): Likewise.
60589         * math/w_sinhl.c (__sinhl): Likewise.
60590         * math/w_sqrtl.c (__sqrtl): Likewise.
60591         * math/w_tgammal.c (__tgammal): Likewise.
60592         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
60593         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
60594         * math/libm-test.inc (acos_test): Add more tests.
60595         (acosh_test): Likewise.
60596         (asin_test): Likewise.
60597         (atanh_test): Likewise.
60598         (exp_test): Likewise.
60599         (exp10_test): Likewise.
60600         (exp2_test): Likewise.
60601         (expm1_test): Likewise.
60602         (lgamma_test): Likewise.
60603         (log_test): Likewise.
60604         (log10_test): Likewise.
60605         (log1p_test): Likewise.
60606         (log2_test): Likewise.
60607         (pow_test): Do not allow some spurious overflow exceptions.
60608         (sqrt_test): Add more tests.
60609         (tgamma_test): Likewise.
60610         (y0_test): Likewise.
60611         (y1_test): Likewise.
60612         (yn_test): Likewise.
60614 2012-03-27  Anton Blanchard  <anton@samba.org>
60616         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
60617         MAP_HUGETLB.
60618         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60619         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60620         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60622 2012-03-27  David S. Miller  <davem@davemloft.net>
60624         * conform/Makefile: Run run-conformtest.sh using $(BASH).
60626         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
60627         have-as-vis3 check.
60629 2012-03-27  Andreas Jaeger  <aj@suse.de>
60631         * sysdeps/x86_64/elf/configure.in: Moved to ...
60632         * sysdeps/x86_64/configure.in: ... here.
60633         * sysdeps/x86_64/elf/start.S: Moved to ...
60634         * sysdeps/x86_64/start.S: ... here.
60635         * sysdeps/x86_64/elf/configure: Delete.
60637         * sysdeps/x86_64/configure.in: Merge contents from
60638         sysdeps/i386/configure.in (without i686 check).
60640         * sysdeps/i386/elf/Versions: Merge into ...
60641         * sysdeps/i386/Versions: ... this.
60642         * sysdeps/i386/elf/Versions: Delete file.
60643         * sysdeps/i386/elf/start.S: Moved to ...
60644         * sysdeps/i386/start.S: ...here.
60645         * sysdeps/i386/elf/configure.in: Merge into...
60646         * sysdeps/i386/configure.in: ...here.
60647         * sysdeps/i386/elf/configure.in: Delete file.
60648         * sysdeps/i386/elf/configure: Delete file.
60650         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
60651         * debug/backtracesyms.c: ... here.
60652         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
60653         * debug/backtracesymsfd.c: ... here.
60654         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
60655         * sysdeps/generic/ifunc-sel.h: ... here.
60657         * sysdeps/unix/i386/start.c: Delete file.
60658         * sysdeps/unix/sparc/start.c: Delete file.
60659         * sysdeps/unix/start.c: Delete file.
60661         * sysdeps/sh/elf/configure.in: Moved to ...
60662         * sysdeps/sh/configure.in: ... here.
60663         * sysdeps/sh/elf/start.S: Moved to ...
60664         * sysdeps/sh/start.S: ... here.
60665         * sysdeps/sh/elf/configure: Delete file.
60667         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
60668         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
60669         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
60670         * sysdeps/powerpc/powerpc64/entry.h: ... here.
60671         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
60672         * sysdeps/powerpc/powerpc64/start.S: here.
60673         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
60674         * sysdeps/powerpc/powerpc64/Makefile: ... this.
60675         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
60676         * sysdeps/powerpc/powerpc64/configure.in: ... this.
60677         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
60679         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
60680         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
60681         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
60682         * sysdeps/powerpc/powerpc32/start.S: ... here.
60683         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
60684         * sysdeps/powerpc/powerpc32/configure.in: ... this.
60685         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
60687         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
60688         * sysdeps/powerpc/ifunc-sel.h: ... here.
60689         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
60690         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
60692         * sysdeps/sparc/elf/configure.in: Moved to ...
60693         * sysdeps/sparc/configure.in: ... here.
60694         * sysdeps/sparc/elf/configure: Delete file.
60695         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
60696         * sysdeps/sparc/sparc32/start.S: ... here.
60697         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
60698         * sysdeps/sparc/sparc64/start.S: ... here.
60699         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
60700         * sysdeps/sparc/sparc32/Makefile: ... this.
60701         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
60702         * sysdeps/sparc/sparc64/Makefile: ... this.
60704         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
60705         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
60706         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
60707         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
60708         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
60709         * sysdeps/s390/s390-32/setjmp.S: ... here.
60710         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
60711         * sysdeps/s390/s390-32/configure.in: ... here.
60712         * sysdeps/s390/s390-32/elf/configure: Delete file.
60713         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
60714         * sysdeps/s390/s390-32/start.S: ... here.
60716         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
60717         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
60718         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
60719         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
60720         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
60721         * sysdeps/s390/s390-64/setjmp.S: ... here.
60722         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
60723         * sysdeps/s390/s390-64/configure.in: ... here
60724         * sysdeps/s390/s390-64/elf/configure: Delete file.
60725         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
60726         * sysdeps/s390/s390-64/start.S: ... here.
60727         * sysdeps/s390/s390-64/elf/configure: Delete.
60729         * configure.in: Remove support for elf directories in sysdeps.
60731         * configure: Regenerated.
60732         * sysdeps/i386/configure: Regenerated.
60733         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60734         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60735         * sysdeps/s390/s390-32/configure: Regenerated.
60736         * sysdeps/s390/s390-64/configure: Regenerated.
60737         * sysdeps/sh/configure: Regenerated.
60738         * sysdeps/sparc/configure: Regenerated.
60739         * sysdeps/x86_64/configure: Regenerated.
60741 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
60743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60745         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
60746         denormal result into account.
60748 2012-03-25  Roland McGrath  <roland@hack.frob.com>
60750         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
60751         Reported by Allan McRae <allan@archlinux.org>.
60753 2012-03-23  Jeff Law  <law@redhat.com>
60755         * nss/getnssent.c (__nss_getent): Fix typo.
60757 2012-03-23  David S. Miller  <davem@davemloft.net>
60759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60761 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
60763         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
60764         to pad to uint64_t for each field.
60765         (dl_tls_index): Replace unsigned long with uint64_t.
60767 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
60768         Paul Pluzhnikov  <ppluzhnikov@google.com>
60770         [BZ #6528]
60771         * grp/Makefile (otherlibs): Don't set it.
60772         * inet/Makefile (otherlibs): Likewise.
60773         * login/Makefile (otherlibs): Likewise.
60774         * nscd/Makefile (otherlibs): Likewise.
60775         * posix/Makefile (otherlibs): Likewise.
60776         * pwd/Makefile (otherlibs): Likewise.
60777         * rt/Makefile (otherlibs): Likewise.
60778         * sunrpc/Makefile (otherlibs): Likewise.
60779         * nss/Makefile (otherlibs): Likewise.
60780         Add libnss_files to routines and static-only-routines.
60781         ($(objpfx)getent): Remove rule.
60782         * resolv/Makefile: Add libnss_dns and libresolv to routines and
60783         static-only-routines.
60785 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
60787         [BZ #13892]
60788         * math/s_cexp.c: Include <float.h>.
60789         (__cexp): Handle exp result overflowing not necessarily
60790         overflowing both real and imaginary parts of result.
60791         * math/s_cexpf.c: Likewise.
60792         * math/s_cexpl.c: Likewise.
60793         * math/libm-test.inc (cexp_test): Add more tests.
60794         * sysdeps/i386/fpu/libm-test-ulps: Update.
60795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60797 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60799         * include/link.h (ELFW): New macro.
60800         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
60801         Replace ELF64_R_TYPE with ELFW(R_TYPE).
60803 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60805         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
60806         with uint64_t.
60808 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60810         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
60811         declaration.
60812         (struct La_x32_retval): Likewise.
60814 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60816         * sysdeps/x86_64/preconfigure.in: New file.
60817         * sysdeps/x86_64/preconfigure: New generated file.
60819 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
60821         [BZ #13824]
60822         * math/e_exp2l.c: Include <float.h>.
60823         (__ieee754_exp2l): Handle overflow and underflow cases
60824         separately.  Only pass fractional part of argument to
60825         __ieee754_expl.
60826         * math/libm-test.inc (exp2_test): Add more tests.
60828         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
60829         negating x to take absolute value.
60830         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
60831         Likewise.
60832         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
60833         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
60834         Likewise.
60835         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
60836         computing low part if x was negated.
60837         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
60839 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60841         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
60842         la_x32_gnu_pltexit.
60843         (pltexit): Cast int_retval to ptrdiff_t.
60844         * elf/tst-auditmod3b.c: Likewise.
60845         * elf/tst-auditmod4b.c: Likewise.
60846         * elf/tst-auditmod5b.c: Likewise.
60847         * elf/tst-auditmod6b.c: Likewise.
60848         * elf/tst-auditmod6c.c: Likewise.
60849         * elf/tst-auditmod7b.c: Likewise.
60851         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
60852         and x32_gnu_pltexit.
60854         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
60855         __ELF_NATIVE_CLASS.
60856         (La_x32_regs): New macro.
60857         (La_x32_retval): Likewise.
60858         (la_x32_gnu_pltenter): New function prototype.
60859         (la_x32_gnu_pltexit): Likewise.
60861 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
60863         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
60864         exponent.
60866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60868         * configure.in (libc_cv_cc_nofma): Check for option to disable
60869         generation of FMA instructions.
60870         * configure: Regenerate.
60871         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
60872         * sysdeps/ieee754/dbl-64/Makefile: New file.
60873         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
60874         Remove brandred-fma4.
60875         (CFLAGS-brandred-fma4.c): Remove.
60876         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
60877         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
60878         define.
60879         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
60880         define.
60882 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60884         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60885         LLONG_MAX != LONG_MAX.
60886         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60887         (_fitoa_word): Likewise.
60888         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
60889         LLONG_MAX != LONG_MAX.
60890         * stdio-common/_itowa.h: Include <_itoa.h>.
60891         (_itowa_word): Use _ITOA_WORD_TYPE on value.
60892         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
60893         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
60894         only if not defined.
60895         (_ITOA_WORD_TYPE): Likewise.
60896         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60897         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
60899 2012-03-21  David S. Miller  <davem@davemloft.net>
60901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60903 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60905         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
60906         of x86_64 when setting libc_cv_slibdir, libdir and
60907         libc_cv_localedir.
60908         * sysdeps/unix/sysv/linux/configure: Regenerated.
60910 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60912         * manual/lang.texi (Old Varargs): Remove section.
60913         (How Variadic): Update menu.
60914         (va_start): Do not mention varargs.h.
60916 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60917             Joseph Myers  <joseph@codesourcery.com>
60919         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
60920         link test.
60921         * configure: Regenerated.
60923 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60925         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
60926         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
60927         conformtest.pl
60929 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60931         * NOTES: Remove.
60932         * Makefile (files-for-dist): Remove NOTES.
60933         (NOTES): Remove rule.
60934         * README: Don't refer to NOTES.
60935         * manual/creature.texi: Don't include macros.texi.
60936         * manual/intro.texi (creature.texi): Remove comment referring to
60937         NOTES.
60939         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
60940         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
60941         * configure: Regenerated.
60942         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
60943         LIBC_TRY_CC_OPTION.
60944         (libc_cv_as_i686): Likewise.
60945         (libc_cv_cc_avx): Likewise.
60946         (libc_cv_cc_sse2avx): Likewise.
60947         (libc_cv_cc_fma4): Likewise.
60948         (libc_cv_cc_novzeroupper): Likewise.
60949         * sysdeps/i386/configure: Regenerated.
60951         [BZ #13883]
60952         * sysdeps/i386/fpu/s_cexp.S: Remove.
60953         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
60954         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
60955         * math/libm-test.inc (cexp_test): Add more tests.
60956         * sysdeps/i386/fpu/libm-test-ulps: Update.
60957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60959 2012-03-21  Allan McRae  <allan@archlinux.org>
60961         * timezone/Makefile: Do not install iso3166.tab and zone.tab
60963 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60965         [BZ #13871]
60966         * math/w_exp2.c: Do not include <float.h>.
60967         (o_threshold, u_threshold): Remove.
60968         (__exp2): Calculate result before checking finiteness and calling
60969         __kernel_standard.
60970         * math/w_exp2f.c: Likewise.
60971         * math/w_exp2l.c: Likewise.
60972         * math/libm-test.inc (exp2_test): Require overflow exception for
60973         1e6 input.
60975         [BZ #3866]
60976         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
60977         range of signed 64-bit integers before using fistpll.  Remove
60978         checks for whether integers fit in mantissa bits.
60979         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
60980         the range of signed 32-bit integers before using fistpl.  Remove
60981         checks for whether integers fit in mantissa bits.
60982         * sysdeps/i386/fpu/e_powl.S (p64): New object.
60983         (__ieee754_powl): Test for y outside the range of signed 64-bit
60984         integers before using fistpll.  Reduce 64-bit values to 63-bit
60985         ones as needed.
60986         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
60987         divide-by-zero is raised for zero to large negative powers.
60988         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
60989         (__ieee754_powl): Test for y outside the range of signed 64-bit
60990         integers before using fistpll.  Reduce 64-bit values to 63-bit
60991         ones as needed.
60992         * math/libm-test.inc (pow_test): Add more tests.
60994 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60996         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
60997         <stdio-common/_itoa.h>.
60998         * debug/segfault.c: Likewise.
60999         * elf/dl-cache.c: Likewise.
61000         * elf/dl-minimal.c: Likewise.
61001         * elf/dl-misc.c: Likewise.
61002         * elf/dl-sysdep.c: Likewise.
61003         * elf/dl-version.c: Likewise.
61004         * elf/rtld.c: Likewise.
61005         * hurd/hurdsock.c: Likewise.
61006         * hurd/lookup-retry.c: Likewise.
61007         * malloc/malloc.c: Likewise.
61008         * malloc/mtrace.c: Likewise.
61009         * nscd/nscd_getgr_r.c: Likewise.
61010         * nscd/nscd_getpw_r.c: Likewise.
61011         * nscd/nscd_getserv_r.c: Likewise.
61012         * posix/getopt_init.c: Likewise.
61013         * posix/wordexp.c: Likewise.
61014         * stdio-common/_itoa.c: Likewise.
61015         * stdio-common/printf_fphex.c: Likewise.
61016         * stdio-common/vfprintf.c: Likewise.
61017         * string/_strerror.c: Likewise.
61018         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
61019         * sysdeps/i386/i686/hp-timing.h: Likewise.
61020         * sysdeps/mach/_strerror.c: Likewise.
61021         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
61022         * sysdeps/mach/hurd/sethostid.c: Likewise.
61023         * sysdeps/mach/hurd/xmknodat.c: Likewise.
61024         * sysdeps/mach/xpg-strerror.c: Likewise.
61025         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61026         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61027         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
61028         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
61029         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61030         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
61031         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
61032         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
61033         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
61034         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
61035         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
61036         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
61037         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
61038         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
61039         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
61040         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
61041         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
61042         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
61043         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
61044         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
61045         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
61047         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
61049         * stdio-common/_itoa.h: Moved to ...
61050         * sysdeps/generic/_itoa.h: Here.
61052         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
61054         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
61055         instead of "_itoa.h" and "_itowa.h".
61056         * stdio-common/vfprintf.: Likewise.
61058 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61060         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
61061         <bits/wordsize.h>.
61062         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
61063         (__signbit): Likwise.
61064         (llrintf): Likwise.
61065         (llrint): Likwise.
61067 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61069         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
61070         __WORDSIZE != 64.
61072 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
61074         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
61075         OVERFLOW_EXCEPTION_OK.
61076         * math/libm-test.inc ("Philosophy"): Update comment about
61077         exception testing.
61078         (OVERFLOW_EXCEPTION): Define.
61079         (OVERFLOW_EXCEPTION_OK): Likewise.
61080         (INVALID_EXCEPTION_OK): Renumber.
61081         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61082         (IGNORE_ZERO_INF_SIGN): Likewise.
61083         (test_exceptions): Handle FE_OVERFLOW.
61084         (exp10_test): Expect overflow exceptions.
61085         (exp2_test): Likewise.
61086         (expm1_test): Likewise.
61087         (nextafter_test): Likewise.
61088         (pow_test): Likewise.
61089         (scalbn_test): Likewise.
61090         (scalbln_test): Likewise.
61092 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61094         * sysdeps/x86_64/bits/atomic.h
61095         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
61096         64bit integer.
61097         (atomic_exchange_acq): Likewise.
61098         (__arch_exchange_and_add_body): Likewise.
61099         (__arch_add_body): Likewise.
61100         (atomic_add_negative): Likewise.
61101         (atomic_add_zero): Likewise.
61103 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61105         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
61106         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
61108 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61110         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
61111         Check __x86_64__ instead of __WORDSIZE.
61113 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61115         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
61117 2012-03-19  David S. Miller  <davem@davemloft.net>
61119         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61121         * sysdeps/sparc/fpu/fenv_private.h: New file.
61122         * sysdeps/sparc/fpu/math_private.h: Use it.
61123         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
61124         Remove.
61125         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
61126         (libc_feholdexcept_setroundl): Remove.
61127         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
61128         Remove.
61129         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
61130         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
61132 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61134         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
61135         int64_t instead of long int.
61136         (INSERT_WORDS64): Likwise.
61138 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61140         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
61141         _Unwind_GetCFA return to _Unwind_Ptr first.
61143 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
61145         [BZ #13629]
61146         * math/s_clog.c: Include <float.h>.
61147         (__clog): Scale large or subnormal inputs.
61148         * math/s_clogf.c: Likewise.
61149         * math/s_clogl.c: Likewise.
61150         * math/s_clog10.c: Include <float.h>.
61151         (M_LOG10_2): Define.
61152         (__clog10): Scale large or subnormal inputs.
61153         * math/s_clog10f.c: Likewise.
61154         * math/s_clog10l.c: Likewise.
61155         * math/libm-test.inc (clog_test): Add more tests.
61156         (clog10_test): Likewise.
61157         * sysdeps/i386/fpu/libm-test-ulps: Update.
61158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61160         [BZ #11451]
61161         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
61162         x and y.
61163         * math/libm-test.inc (atan2_test): Add another test.
61165         * Makerules (common-objdir-compile): Remove.
61166         * sysdeps/unix/Makefile (config-generated): Do not add
61167         $(unix-generated) to variable.
61168         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
61169         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
61170         Remove rule.
61171         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
61172         Likewise.
61173         [generic bits/local_lim.h] (before-compile): Do not append to
61174         variable.
61175         [generic bits/local_lim.h] (common-generated): Likewise.
61176         [generic sys/param.h] (before-compile): Do not append to variable.
61177         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
61178         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
61179         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
61180         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
61181         include.
61182         [generic sys/param.h] (sys/param.h-includes): Remove variable.
61183         [generic sys/param.h] (sys/param.h-includes): Remove rule.
61184         [generic sys/param.h] ($(addprefix
61185         $(common-objpfx),$(sys/param.h-includes))): Likewise.
61186         [generic sys/param.h] (common-generated): Do not append to
61187         variable.
61188         [generic sys/param.h] (sysdep_headers): Likewise.
61189         [generic bits/errno.h] (before-compile): Do not append to
61190         variable.
61191         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
61192         rule.
61193         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
61194         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
61195         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
61196         [generic bits/errno.h] (common-generated): Do not append to
61197         variable.
61198         [generic bits/ioctls.h] (before-compile): Do not append to
61199         variable.
61200         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
61201         rule.
61202         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
61203         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
61204         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
61205         rule.
61206         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
61207         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
61208         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
61209         [generic bits/ioctls.h] (common-generated): Do not append to
61210         variable.
61211         [generic sys/syscall.h] (syscall.h): Remove variable.
61212         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
61213         rule.
61214         [generic sys/syscall.h] (before-compile): Do not append to
61215         variable.
61216         [generic sys/syscall.h] (common-generated): Likewise.
61217         * sysdeps/unix/errnos-tmpl.c: Remove file.
61218         * sysdeps/unix/errnos.awk: Likewise.
61219         * sysdeps/unix/ioctls-tmpl.c: Likewise.
61220         * sysdeps/unix/ioctls.awk: Likewise.
61221         * sysdeps/unix/mk-local_lim.c: Likewise.
61222         * sysdeps/unix/snarf-ioctls: Likewise.
61224 2012-03-19  Richard Henderson  <rth@twiddle.net>
61226         * sysdeps/i386/fpu/fenv_private.h: New file.
61227         * sysdeps/i386/fpu/math_private.h: Use it.
61228         (math_opt_barrier, math_force_eval): Remove.
61229         (libc_feholdexcept_setround_53bit): Remove.
61230         (libc_feupdateenv_53bit): Remove.
61231         * sysdeps/x86_64/fpu/math_private.h: Likewise.
61232         (math_opt_barrier, math_force_eval): Remove.
61233         (libc_feholdexcept): Remove.
61234         (libc_feholdexcept_setround): Remove.
61235         (libc_fetestexcept, libc_fesetenv): Remove.
61236         (libc_feupdateenv_test): Remove.
61237         (libc_feupdateenv, libc_feholdsetround): Remove.
61238         (libc_feresetround): Remove.
61240         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
61241         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
61243         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
61244         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
61245         (libc_feupdateenv_testl): New.
61246         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
61247         (libc_feupdateenv_testf): New.
61248         (libc_feupdateenv): Use libc_feupdateenv_test.
61249         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
61250         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
61252         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
61253         (libc_feholdsetroundf, libc_feholdsetroundl): New.
61254         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
61255         (libc_feresetround_noex): New.
61256         (libc_feresetround_noexf): New.
61257         (libc_feresetround_noexl): New.
61258         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
61259         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
61260         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
61261         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
61262         SET_RESTORE_ROUND.
61263         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61264         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
61265         (__cos): Likewise.
61266         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
61267         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
61268         SET_RESTORE_ROUND_NOEX.
61269         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
61270         SET_RESTORE_ROUND_NOEXF.
61271         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
61272         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
61273         (libc_feholdsetroundf): New.
61274         (libc_feresetround, libc_feresetroundf): New.
61276         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
61277         (libc_feholdexcept_setround_53bit): Convert from macro to function.
61278         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
61280         * sysdeps/generic/math_private.h: Include <fenv.h>.
61281         (default_libc_feholdexcept): New.
61282         (default_libc_feholdexcept_setround): New.
61283         (default_libc_fesetenv, default_libc_feupdateenv): New.
61284         (libc_feholdexcept): Only define if undefined.
61285         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
61286         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
61287         (libc_feholdexcept_setroundl): Likewise.
61288         (libc_feholdexcept_setround_53bit): Likewise.
61289         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
61290         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
61291         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
61292         (libc_feupdateenv_53bit): Likewise.
61293         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
61294         (libc_feholdexcept): Convert from macro to inline function.
61295         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
61296         (libc_fesetenv, libc_feupdateenv): Likewise.
61298         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
61299         not previously defined.
61300         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
61301         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
61302         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
61303         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
61304         * sysdeps/ieee754/flt-32/math_private.h: New file.
61305         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
61306         math_private.h below SET_FLOAT_WORD.
61307         (__isnan, __isinf_ns, __finite): Remove.
61308         (__isnanf, __isinf_nsf, __finitef): Remove.
61310 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
61312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61314 2012-03-17  David S. Miller  <davem@davemloft.net>
61316         [BZ #6471]
61317         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
61318         for 2.16.
61320 2012-03-16  David S. Miller  <davem@davemloft.net>
61322         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
61323         warnings.
61325         [BZ #6471]
61326         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
61327         properly.
61328         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
61329         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
61330         sysdep_routines when subdir is sysvipc.
61331         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
61332         __getshmlba helper.
61334         * sysdeps/sparc/fpu/libm-test/ulps: Update.
61336 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61338         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
61339         [__LP64__].
61341 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61343         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
61344         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
61345         (__lround): Renamed to ...
61346         (__llround): This.  Replace long int with long long int.
61347         Define lround functions as aliases of llround functions.
61348         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
61350 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61352         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
61353         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
61354         adresses to uintptr_t.  Replace "long int" and "unsigned long
61355         int" with "greg_t" on va_arg.
61357 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61359         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
61360         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
61362         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
61363         Move e_machine check before EI_CLASS check.  Handle x32
61364         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
61365         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
61366         SKIP_EM_IA_64 and include
61367         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
61369         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
61370         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
61371         (add_system_dir): New macro.
61373         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
61374         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
61376 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61378         [BZ #2551]
61379         [BZ #2552]
61380         [BZ #2553]
61381         [BZ #2554]
61382         [BZ #2562]
61383         [BZ #2563]
61384         [BZ #2565]
61385         [BZ #2566]
61386         [BZ #2576]
61387         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
61388         (y0): Likewise.
61389         * math/w_j0f.c (j0f): Likewise.
61390         (y0f): Likewise.
61391         * math/w_j0l.c (__j0l): Likewise.
61392         (__y0l): Likewise.
61393         * math/w_j1.c (j1): Likewise.
61394         (y1): Likewise.
61395         * math/w_j1f.c (j1f): Likewise.
61396         (y1f): Likewise.
61397         * math/w_j1l.c (__j1l): Likewise.
61398         (__y1l): Likewise.
61399         * math/w_jn.c (jn): Likewise.
61400         (yn): Likewise.
61401         * math/w_jnf.c (jnf): Likewise.
61402         (ynf): Likewise.
61403         * math/w_jnl.c (__jnl): Likewise.
61404         (__ynl): Likewise.
61405         * math/libm-test.inc (j0_test): Add more tests.
61406         (j1_test): Likewise.
61407         (jn_test): Likewise.  Add trailing semicolon to existing test.
61408         (y0_test): Likewise.
61409         (y1_test): Likewise.
61410         * sysdeps/i386/fpu/libm-test-ulps: Update.
61411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61413         [BZ #13851]
61414         [BZ #13854]
61415         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
61416         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
61417         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
61418         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
61419         (__tanl): Set errno for infinite argument.
61420         * sysdeps/i386/fpu/mptan.c: Remove.
61421         * sysdeps/i386/fpu/s_tan.S: Likewise.
61422         * sysdeps/i386/fpu/s_tanl.S: Likewise.
61423         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
61424         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
61425         * math/libm-test.inc (tan_test): Add more tests and enable more
61426         tests for double and long double.
61427         * sysdeps/i386/fpu/libm-test-ulps: Update.
61428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61430 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
61432         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
61433         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
61435 2012-03-16  Roland McGrath  <roland@hack.frob.com>
61437         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
61438         * configure.in: Use it for both main tree and add-ons.
61439         * configure: Regenerated.
61441 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61443         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
61445 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61447         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
61448         in comment.
61450         [BZ #13851]
61451         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
61452         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
61453         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
61454         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
61455         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
61456         infinite argument.
61457         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
61458         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
61459         != 0 for prec == 2.
61460         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
61461         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
61462         * sysdeps/i386/fpu/s_cosl.S: Likewise.
61463         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
61464         * sysdeps/i386/fpu/s_sinl.S: Likewise.
61465         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
61466         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
61467         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
61468         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
61469         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
61470         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
61471         * math/libm-test.inc (cos_test): Add more tests and enable more
61472         tests for long double.
61473         (sin_test): Likewise.
61474         (sincos_test): Likewise.
61475         * sysdeps/i386/fpu/libm-test-ulps: Update.
61476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61478 2012-03-16  David S. Miller  <davem@davemloft.net>
61480         * sysdeps/sparc/fpu/math_private.h: New file.
61482 2012-03-15  David S. Miller  <davem@davemloft.net>
61484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
61485         file.
61486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
61487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
61488         file.
61489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
61490         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
61491         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
61492         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
61493         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
61494         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
61495         sysdep routines.
61496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61498         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
61499         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
61501         * sysdeps/sparc/sparc-ifunc.h: New file.
61502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
61503         sparc-ifunc.h
61504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
61506         Likewise.
61507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
61508         Likewise.
61509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
61510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
61511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61513         Likewise.
61514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
61516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
61518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
61519         Likewise.
61520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
61521         Likewise.
61522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
61524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
61525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
61526         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61527         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61528         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
61529         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
61530         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61531         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61532         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
61533         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
61534         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
61535         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
61536         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
61537         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
61538         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
61539         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
61540         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
61541         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
61542         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
61543         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
61544         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
61545         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
61547 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
61549         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
61550         scaling.
61551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61553 2012-03-15  Andreas Jaeger  <aj@suse.de>
61555         [BZ #13852]
61556         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
61557         ieee754/flt-32 implementation for sin, cos and sincos.
61558         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
61559         * sysdeps/i386/fpu/s_cosf.S: Likewise.
61560         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
61561         * sysdeps/i386/fpu/s_sinf.S: Likewise.
61562         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
61563         ieee754/flt-32 implementation for tan.
61565         * math/libm-test.inc (cos_test): Enable some large input tests for
61566         float as well
61567         (sin_test): Likewise.
61568         (sincos_test): Likewise.
61569         (tan_test): Add tests for large input.
61571         * sysdeps/i386/fpu/libm-test-ulps: Update.
61573 2012-03-15  Andreas Jaeger  <aj@suse.de>
61575         [BZ #13658]
61576         * math/libm-test.inc (cos_test): Add more test cases.
61577         (sin_test): Likewise.
61578         (sincos_test): Likewise.
61580 2012-03-15  Andreas Jaeger  <aj@suse.de>
61582         [BZ #13837]
61583         * math/libm-test.inc (cos_test): Add a test case for large input
61584         value.
61585         (sin_test): Likewise.
61586         (sincos_test): Likewise.
61588 2012-03-15  Andreas Jaeger  <aj@suse.de>
61589             Joseph Myers  <joseph@codesourcery.com>
61591         [BZ #13658]
61592         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
61593         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
61594         * sysdeps/i386/fpu/branred.c: Likewise.
61595         * sysdeps/i386/fpu/dosincos.c: Likewise.
61596         * sysdeps/i386/fpu/mpa.c: Likewise.
61597         * sysdeps/i386/fpu/s_cos.S: Likewise.
61598         * sysdeps/i386/fpu/s_sin.S: Likewise.
61599         * sysdeps/i386/fpu/s_sincos.S: Likewise.
61600         * sysdeps/i386/fpu/sincos32.c: Likewise.
61602         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
61603         Define.
61604         (libc_feupdateenv_53bit): Define.
61605         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
61606         Define.
61607         (libc_feupdateenv_53bit): Define.
61609         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
61610         53 bit (without extend i386 double precision).
61612         * math/libm-test.inc (sincos_test): Add tests for large input.
61613         (sin): Likewise.
61614         (cos): Likewise.
61616         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
61618 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
61620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61622 2012-03-15  David S. Miller  <davem@davemloft.net>
61624         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
61625         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
61626         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
61627         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
61628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
61629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
61630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
61631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
61632         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
61633         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
61634         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
61635         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
61636         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
61637         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
61638         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
61639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
61640         file.
61641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
61642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
61643         file.
61644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
61645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
61646         file.
61647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
61648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
61649         file.
61650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
61651         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
61652         fmin/fmax sysdep routines.
61653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61655 2012-03-14  David S. Miller  <davem@davemloft.net>
61657         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
61658         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
61659         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
61660         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
61661         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
61662         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
61663         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
61664         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
61665         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
61666         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
61667         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
61668         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
61669         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
61670         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
61671         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
61672         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
61673         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
61674         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
61675         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
61676         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
61677         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
61678         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
61679         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
61680         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
61681         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
61682         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
61683         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
61684         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
61685         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
61686         routines.
61687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
61688         file.
61689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
61690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
61691         file.
61692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
61693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
61694         file.
61695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
61696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
61697         file.
61698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
61699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
61700         file.
61701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
61702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
61703         file.
61704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
61705         file.
61706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
61707         file.
61708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
61709         file.
61710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
61711         New file.
61712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
61713         file.
61714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
61715         file.
61716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
61717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
61718         file.
61719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
61720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
61721         file.
61722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
61723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
61724         file.
61725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
61726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
61727         VIS3 routines.
61729         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61730         New file.
61732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61734         * sysdeps/sparc/configure.in: New file.
61735         * sysdeps/sparc/configure: Generate.
61736         * configure.in (libc_cv_sparc_as_vis3): Substitute.
61737         * configure: Regenerate.
61738         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
61739         * config.make.in (have-as-vis3): New.
61740         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
61741         available use -Av9d instead of -Av9a.
61742         * sysdeps/sparc/sparc64/Makefile: Likewise.
61743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
61744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
61745         New file.
61746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
61747         file.
61748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
61749         New file.
61750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
61751         file.
61752         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
61753         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
61754         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
61755         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
61756         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
61758         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
61759         fzeros/fnegs to load 0x80000000 into a float register instead of
61760         using the stack.
61761         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
61763 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
61765         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61766         bits/syscall.h.
61767         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
61768         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
61769         ($(inst_includedir)/bits/syscall.h): Remove rule.
61770         ($(objpfx)bits/syscall.d): Include instead of
61771         $(objpfx)syscall-list.d.
61772         (generated): Change syscall-list.h and syscall-list.d to
61773         bits/syscall.h and bits/syscall.d.
61775 2012-03-14  Roland McGrath  <roland@hack.frob.com>
61777         [BZ #13846]
61778         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
61780 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
61782         [BZ #13841]
61783         * math/s_csqrt.c: Include <float.h>.
61784         (__csqrt): Scale large or subnormal inputs.
61785         * math/s_csqrtf.c: Likewise.
61786         * math/s_csqrtl.c: Likewise.
61787         * math/libm-test.inc (csqrt_test): Add more tests.
61788         * sysdeps/i386/fpu/libm-test-ulps: Update.
61789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61791         [BZ #13840]
61792         * math/libm-test.inc (hypot_test): Add more tests.
61794 2012-03-13  David S. Miller  <davem@davemloft.net>
61796         [BZ #13840]
61797         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
61798         double-precision for the calculation instead of scaling.
61800 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
61802         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
61803         manipulate bits before adding and subtracting TWO52[sx].
61804         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
61805         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
61806         Likewise.
61807         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
61809 2012-03-13  David S. Miller  <davem@davemloft.net>
61811         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
61812         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
61813         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
61814         rtld-global-offsets.h
61815         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61817         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
61818         large parameters.
61820         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
61822         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
61823         'err' in the ifdef scope in which it is actually used.
61825         * nss/nss_db/db-init.c: Include string.h
61827 2012-03-12  David S. Miller  <davem@davemloft.net>
61829         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61830         masking out of the most significant byte of random value used.
61831         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61832         Fix coding style in previous change.
61834         * sysdeps/unix/sysv/linux/kernel-features.h
61835         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
61836         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
61837         expression.
61838         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
61839         later.
61841 2012-03-11  David S. Miller  <davem@davemloft.net>
61843         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61844         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
61845         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
61846         for 'resultvar' otherwise things get truncated on 64-bit.
61848         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61849         Fix masking out of the most significant byte of random value used.
61851         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61853 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
61855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61857 2012-03-09  David S. Miller  <davem@davemloft.net>
61859         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
61860         variables with appropriate CPP guards.
61861         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
61862         from the frame pointer, not the stack pointer.  Correct layout
61863         comments.  Fix test on resulting framesize and the management of
61864         the outregs buffer for pltexit.  Preserve floating point return
61865         values across _dl_call_pltexit call.
61866         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
61867         framesize and the management of the outregs buffer for pltexit.
61868         Preserve floating point return values across _dl_call_pltexit
61869         call.
61870         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
61871         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
61872         (la_sparc64_gnu_pltexit): New functions.
61873         (print_exit): Fix format string for return register value.
61875 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
61877         * sunrpc/Makefile (others): Add rpcgen.
61878         ($(objpfx)rpcgen): Remove special build rule and dependency on
61879         libc.
61880         * sunrpc/rpcgen.c: New file.
61882 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
61884         [BZ #13673]
61885         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
61886         * stdio-common/bug-vfprintf-nargs.c: Likewise.
61887         * sysdeps/i386/crti.S: Likewise.
61888         * sysdeps/i386/crtn.S: Likewise.
61889         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
61890         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
61891         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
61892         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
61893         * sysdeps/sh/crti.S: Likewise.
61894         * sysdeps/sh/crtn.S: Likewise.
61895         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61897         [BZ #13673]
61898         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
61899         with URL.
61900         * locale/programs/locfile-kw.gperf: Likewise.
61901         * locale/programs/charmap-kw.h: Regenerated.
61902         * locale/programs/locfile-kw.h: Likewise.
61904         [BZ #13673]
61905         * intl/plural.y: Replace FSF snail mail address with URL.
61906         * intl/plural.c: Regenerated.
61908 2012-03-09  Richard Henderson  <rth@twiddle.net>
61910         * include/math_private.h: Remove file.
61911         * math/math_private.h: Move file ...
61912         * sysdeps/generic/math_private.h: ... here.
61914         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
61915         * sysdeps/powerpc/fpu/math_private.h: Likewise.
61916         * sysdeps/x86_64/fpu/math_private.h: Likewise.
61918         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
61919         and <math_private.h>.
61920         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
61921         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
61922         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
61923         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
61924         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
61925         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
61926         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61927         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61928         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61929         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61930         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61931         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61932         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61933         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61934         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61935         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61936         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61937         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61938         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61939         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61940         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61941         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61942         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61943         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61944         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61945         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61946         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61947         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61948         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61949         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61950         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61951         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61952         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61953         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61954         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61955         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61956         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61957         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61958         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61959         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61960         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
61961         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61962         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
61963         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61964         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61965         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61966         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
61967         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61968         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61969         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61970         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61971         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
61972         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61973         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61974         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61975         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61976         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
61977         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61978         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61979         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
61980         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61981         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61982         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61983         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61984         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
61985         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61986         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61987         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61988         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
61989         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
61990         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61991         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61992         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61993         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61994         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
61995         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
61996         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
61997         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61998         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
61999         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
62000         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
62001         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
62002         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
62003         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
62004         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62005         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
62006         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
62007         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
62008         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
62009         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
62010         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
62011         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
62012         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62013         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
62014         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
62015         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
62016         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
62017         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
62018         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62019         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
62020         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
62021         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
62022         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
62023         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
62024         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62025         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
62026         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
62027         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
62028         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62029         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62030         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62031         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62032         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
62033         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62034         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
62035         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
62036         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62037         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
62038         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62039         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
62040         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62041         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
62042         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
62043         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
62044         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62045         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
62046         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
62047         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
62048         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
62049         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
62050         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
62051         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
62052         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62053         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
62054         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
62055         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
62056         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
62057         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
62058         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
62059         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
62060         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62061         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
62062         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
62063         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
62064         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
62065         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
62066         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
62067         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
62068         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
62069         * sysdeps/ieee754/k_standard.c: Likewise.
62070         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
62071         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
62072         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
62073         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
62074         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
62075         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
62076         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
62077         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
62078         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
62079         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
62080         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62081         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
62082         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
62083         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
62084         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
62085         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
62086         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62087         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
62088         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
62089         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
62090         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
62091         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
62092         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62093         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
62094         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62095         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
62096         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
62097         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
62098         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
62099         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62100         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62101         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
62102         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
62103         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
62104         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
62105         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
62106         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
62107         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
62108         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
62109         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
62110         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62111         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
62112         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62113         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
62114         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
62115         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
62116         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
62117         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
62118         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
62119         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62120         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62121         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62122         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
62123         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
62124         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62125         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62126         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
62127         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
62128         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
62129         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
62130         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62131         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62132         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
62133         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
62134         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
62135         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
62136         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
62137         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
62138         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
62139         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
62140         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
62141         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62142         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
62143         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
62144         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
62145         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
62146         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
62147         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
62148         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62149         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62150         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62151         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62152         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
62153         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
62154         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
62155         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
62156         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
62157         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
62158         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62159         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
62160         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
62161         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
62162         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
62163         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62164         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
62165         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
62166         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
62167         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
62168         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
62169         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
62170         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
62171         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
62172         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62173         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
62174         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
62175         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62176         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62177         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
62178         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
62179         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
62180         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
62181         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
62182         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
62183         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62184         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
62185         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62186         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
62187         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62188         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62189         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
62190         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62191         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
62192         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
62193         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
62194         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62195         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
62196         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
62197         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
62198         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
62199         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62200         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
62201         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
62202         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
62203         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
62204         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
62205         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
62206         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
62207         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
62208         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
62209         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
62210         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
62211         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
62212         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
62213         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
62214         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
62215         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
62216         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
62217         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
62218         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
62219         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
62220         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
62221         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
62222         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
62223         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
62224         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
62225         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
62226         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
62227         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
62228         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
62229         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
62230         * sysdeps/ieee754/s_lib_version.c: Likewise.
62231         * sysdeps/ieee754/s_matherr.c: Likewise.
62232         * sysdeps/ieee754/s_signgam.c: Likewise.
62233         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62234         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62235         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
62236         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
62237         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
62238         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62239         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
62240         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
62241         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
62242         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
62243         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62244         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
62245         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
62246         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
62247         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
62248         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62249         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62250         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62251         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62252         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62253         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62255 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62257         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
62258         * sunrpc/rpc_main.c: Likewise.
62259         * sunrpc/rpc_svcout.c: Likewise.
62261 2012-03-09  David S. Miller  <davem@davemloft.net>
62263         * include/math_private.h: New file.
62265 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62267         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
62268         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
62269         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
62270         from <bits/socket_type.h>.
62271         (enum __socket_type): Don't define here.
62272         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
62273         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62274         bits/socket_type.h.
62276         [BZ #13566]
62277         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
62278         checking __USE_GNU.
62280         * Makerules ($(inst_includedir)/%.h): New rule.
62281         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
62282         (install-others): Remove variable setting.
62283         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
62285 2012-03-08  Richard Henderson  <rth@twiddle.net>
62287         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
62288         from macro to inline function; merge with the
62289         !__LIBC_INTERNAL_MATH_INLINES version.
62290         (__ieee754_sqrtf): Likewise.
62292         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
62293         to inline function.
62294         (__rintf, __floor, __floorf): Likewise.
62296         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
62297         macro to inline function.
62298         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
62300         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
62301         not <math/math_private.h>.
62303 2012-03-08  David S. Miller  <davem@davemloft.net>
62305         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
62306         copyright year.
62307         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
62309 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
62311         * resolv/gai_misc.c (handle_requests): Fix struct timespec
62312         normalization.
62313         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
62314         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
62316 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
62318         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
62319         be defined individually, they must be defined as a block.  Define
62320         S for printing a string instead of hidint the different by using a
62321         macro for adding the 'l'.
62322         * stdio-common/tst-fphex-wide.c: Adjust.
62324 2012-03-07  Marek Polacek  <polacek@redhat.com>
62326         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
62328 2012-03-08  Marek Polacek  <polacek@redhat.com>
62330         [BZ #13806]
62331         * stdio-common/Makefile (tests): Add tst-fphex-wide.
62332         * stdio-common/tst-fphex.c: Define a few macros to make the
62333         test reusable.  Use them.
62334         * stdio-common/tst-fphex-wide.c: New file.
62336 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
62338         [BZ #6911]
62339         * manual/macros.texi (gnusystems): New macro.
62340         (nongnusystems): Likewise.
62341         (gnulinuxhurdsystems): Likewise.
62342         (gnuhurdsystems): Likewise..
62343         (gnulinuxsystems): Likewise.
62344         * manual/charset.texi: Use new macros or @theglibc{} to refer to
62345         variants of the GNU system, not "GNU system".
62346         * manual/conf.texi: Likewise.
62347         * manual/errno.texi: Likewise.  Update example of errno macro
62348         expansion.
62349         * manual/filesys.texi: Likewise.
62350         (getumask): Document as specific to GNU/Hurd.
62351         * manual/install.texi: Likewise.  Reword some references to
62352         GNU/Linux.
62353         * manual/intro.texi: Likewise.
62354         * manual/io.texi: Likewise.
62355         (File Name Portability): Detail which constraints are inapplicable
62356         to all GNU systems and which are only inapplicable to GNU/Hurd.
62357         * manual/job.texi: Likewise.
62358         * manual/llio.texi: Likewise.
62359         (O_NOCTTY): Document as present on GNU/Linux.
62360         * manual/maint.texi: Likewise.
62361         * manual/memory.texi: Likewise.
62362         * manual/pattern.texi: Likewise.
62363         * manual/pipe.texi: Likewise.
62364         * manual/process.texi: Likewise.
62365         * manual/resource.texi: Likewise.
62366         (RUSAGE_CHILDREN): Remove statement about specifying a particular
62367         child on GNU/Hurd.
62368         * manual/setjmp.texi: Likewise.
62369         * manual/signal.texi: Likewise.
62370         * manual/startup.texi: Likewise.
62371         * manual/stdio.texi: Likewise.
62372         * manual/terminal.texi: Likewise.
62373         (ONLCR): Document as POSIX.
62374         (OXTABS): Document availability on GNU/Linux as XTABS.
62375         (ONOEOT): Document availability separately from other bits.
62376         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
62377         * manual/time.texi: Likewise.
62378         * manual/users.texi: Likewise.
62379         * INSTALL: Regenerated.
62380         * sysdeps/gnu/errlist.c: Regenerated.
62382         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
62383         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
62384         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
62385         puts.
62386         * configure: Regenerated.
62388 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
62390         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
62391         default includes instead of AC_HEADER_CHECK.
62392         * sysdeps/i386/configure: Regenerated.
62394         [BZ #10716]
62395         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
62396         * math/s_cacoshf.c (__cacoshf): Likewise.
62397         * math/s_cacoshl.c (__cacoshl): Likewise.
62398         * math/s_casinh.c (__casinh): Set signs of result from argument.
62399         * math/s_casinhf.c (__casinhf): Likewise.
62400         * math/s_casinhl.c (__casinhl): Likewise.
62401         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
62402         (casinh_test): Add more tests.
62403         * sysdeps/i386/fpu/libm-test-ulps: Update.
62404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62406 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
62408         * po/zh_TW.po: Update from translation team.
62410         * login/Makefile (distribute): Remove variable.
62411         * catgets/Makefile: Likewise.
62412         * mach/Makefile: Likewise.
62413         * malloc/Makefile: Likewise.
62414         * misc/Makefile: Likewise.
62415         * iconv/Makefile: Likewise.
62416         * nscd/Makefile: Likewise.
62417         * hurd/Makefile: Likewise.
62418         * manual/Makefile: Likewise.
62419         * locale/Makefile: Likewise.
62420         * intl/Makefile: Likewise.
62421         * conform/Makefile: Likewise.
62422         * nss/Makefile: Likewise.
62423         * time/Makefile: Likewise.
62424         * soft-fp/Makefile: Likewise.
62425         * dirent/Makefile: Likewise.
62426         * gmon/Makefile: Likewise.
62427         * po/Makefile: Likewise.
62428         * rt/Makefile: Likewise.
62429         * socket/Makefile: Likewise.
62430         * math/Makefile: Likewise.
62431         * signal/Makefile: Likewise.
62432         * debug/Makefile: Likewise.
62433         * elf/Makefile: Likewise.
62434         * timezone/Makefile: Likewise.
62435         * stdlib/Makefile: Likewise.
62436         * iconvdata/Makefile: Likewise.
62437         * sunrpc/Makefile: Likewise.
62438         * io/Makefile: Likewise.
62439         * argp/Makefile: Likewise.
62440         * inet/Makefile: Likewise.
62441         * hesiod/Makefile: Likewise.
62442         * grp/Makefile: Likewise.
62443         * csu/Makefile: Likewise.
62444         * wctype/Makefile: Likewise.
62445         * crypt/Makefile: Likewise.
62446         * libio/Makefile: Likewise.
62447         * string/Makefile: Likewise.
62448         * nis/Makefile: Likewise.
62449         * resolv/Makefile: Likewise.
62450         * stdio-common/Makefile: Likewise.
62451         * wcsmbs/Makefile: Likewise.
62452         * dlfcn/Makefile: Likewise.
62453         * posix/Makefile: Likewise.
62455         [BZ #6959]
62456         * timezone/Makefile: Don't install timezone files, just the programs
62457         and scripts.
62459 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
62461         * nss/databases.def: Add missing gshadow entry.
62463         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
62465 2012-03-06  Marek Polacek  <polacek@redhat.com>
62467         [BZ #13726]
62468         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
62469         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62470         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
62471         * stdio-common/tst-long-dbl-fphex.c: New file.
62473 2012-03-06  David S. Miller  <davem@davemloft.net>
62475         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62476         (set_obp_int): New function.
62477         (get_obp_int): New function.
62478         (__get_clockfreq_via_dev_openprom): Likewise.
62479         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
62480         Avoid unused variable warnings on 'val' and use builtin_expect.
62481         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
62482         __builtin_expect.
62483         (INLINE_CLONE_SYSCALL): Likewise.
62485 2012-03-05  David S. Miller  <davem@davemloft.net>
62487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62489 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
62491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62493         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
62494         only for |x| >= 40.
62495         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62497 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
62499         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
62500         Replace gettimeofday with __vdso_gettimeofday.
62502         * sysdeps/unix/sysv/linux/x86_64/init-first.c
62503         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
62504         __vdso_clock_gettime and __vdso_getcpu.
62506         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
62507         time with __vdso_time.
62509 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
62511         * manual/lang.texi (size_t): Note types to which size_t may be
62512         equivalent with the GNU C Library, but do not describe when
62513         differences between them are significant.
62515 2012-03-05  Andreas Jaeger  <aj@suse.de>
62517         * sysdeps/i386/fpu/libm-test-ulps: Update.
62519 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
62521         [BZ #3976]
62522         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
62523         (__ieee754_pow): Save and restore rounding mode and use
62524         round-to-nearest for main computations.
62525         * math/libm-test.inc (pow_test_tonearest): New function.
62526         (pow_test_towardzero): Likewise.
62527         (pow_test_downward): Likewise.
62528         (pow_test_upward): Likewise.
62529         (main): Call the new functions.
62530         * sysdeps/i386/fpu/libm-test-ulps: Update.
62531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62533         [BZ #3976]
62534         * math/libm-test.inc (cosh_test_tonearest): New function.
62535         (cosh_test_towardzero): Likewise.
62536         (cosh_test_downward): Likewise.
62537         (cosh_test_upward): Likewise.
62538         (sinh_test_tonearest): Likewise.
62539         (sinh_test_towardzero): Likewise.
62540         (sinh_test_downward): Likewise.
62541         (sinh_test_upward): Likewise.
62542         (main): Call the new functions.
62543         * sysdeps/i386/fpu/libm-test-ulps: Update.
62544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62546 2012-03-05  Tom de Vries  <tom@codesourcery.com>
62548         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
62549         default stack guard is set in last bytes.
62550         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
62552 2012-03-05  Kees Cook  <keescook@chromium.org>
62554         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
62556         [BZ #13656]
62557         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
62558         possibly allocate from heap instead of stack.
62559         * stdio-common/bug-vfprintf-nargs.c: New file.
62560         * stdio-common/Makefile (tests): Add nargs overflow test.
62562 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
62564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62566 2012-03-03  Marek Polacek  <polacek@redhat.com>
62568         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
62569         * math/math_private.h: Likewise.
62570         * stdlib/tst-strtod.c: Likewise.
62571         * sysdeps/i386/i486/bits/atomic.h: Likewise.
62572         * sysdeps/x86_64/bits/atomic.h: Likewise.
62574 2012-03-02  David S. Miller  <davem@davemloft.net>
62576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
62577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
62578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
62579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
62580         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
62581         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
62582         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
62583         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
62585 2012-03-02  Roland McGrath  <roland@hack.frob.com>
62587         [BZ #13792]
62588         * manual/examples/README: New file, says the example source files
62589         can be used under GPL>=2.
62590         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
62591         line containing just "*/".
62592         * manual/examples/add.c: Add copyright header (GPL>=2).
62593         * manual/examples/argp-ex1.c: Likewise.
62594         * manual/examples/argp-ex2.c: Likewise.
62595         * manual/examples/argp-ex3.c: Likewise.
62596         * manual/examples/argp-ex4.c: Likewise.
62597         * manual/examples/atexit.c: Likewise.
62598         * manual/examples/db.c: Likewise.
62599         * manual/examples/dir.c: Likewise.
62600         * manual/examples/dir2.c: Likewise.
62601         * manual/examples/execinfo.c: Likewise.
62602         * manual/examples/filecli.c: Likewise.
62603         * manual/examples/filesrv.c: Likewise.
62604         * manual/examples/fmtmsgexpl.c: Likewise.
62605         * manual/examples/genpass.c: Likewise.
62606         * manual/examples/inetcli.c: Likewise.
62607         * manual/examples/inetsrv.c: Likewise.
62608         * manual/examples/isockad.c: Likewise.
62609         * manual/examples/longopt.c: Likewise.
62610         * manual/examples/memopen.c: Likewise.
62611         * manual/examples/memstrm.c: Likewise.
62612         * manual/examples/mkfsock.c: Likewise.
62613         * manual/examples/mkisock.c: Likewise.
62614         * manual/examples/mygetpass.c: Likewise.
62615         * manual/examples/pipe.c: Likewise.
62616         * manual/examples/popen.c: Likewise.
62617         * manual/examples/rprintf.c: Likewise.
62618         * manual/examples/search.c: Likewise.
62619         * manual/examples/select.c: Likewise.
62620         * manual/examples/setjmp.c: Likewise.
62621         * manual/examples/sigh1.c: Likewise.
62622         * manual/examples/sigusr.c: Likewise.
62623         * manual/examples/stpcpy.c: Likewise.
62624         * manual/examples/strdupa.c: Likewise.
62625         * manual/examples/strftim.c: Likewise.
62626         * manual/examples/strncat.c: Likewise.
62627         * manual/examples/subopt.c: Likewise.
62628         * manual/examples/swapcontext.c: Likewise.
62629         * manual/examples/termios.c: Likewise.
62630         * manual/examples/testopt.c: Likewise.
62631         * manual/examples/testpass.c: Likewise.
62632         * manual/examples/timeval_subtract.c: Likewise.
62634         [BZ #13792]
62635         * manual/time.texi (Elapsed Time): Move timeval_subtract example
62636         function to ...
62637         * manual/timeval_subtract.c.texi: ... here, new file.
62639 2012-03-02  David S. Miller  <davem@davemloft.net>
62641         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
62643 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
62645         [BZ #3976]
62646         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
62647         (__sin): Save and restore rounding mode and use round-to-nearest
62648         for all computations.
62649         (__cos): Save and restore rounding mode and use round-to-nearest
62650         for all computations.
62651         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
62652         <fenv.h>.
62653         (tan): Save and restore rounding mode and use round-to-nearest for
62654         all computations.
62655         * math/libm-test.inc (cos_test_tonearest): New function.
62656         (cos_test_towardzero): Likewise.
62657         (cos_test_downward): Likewise.
62658         (cos_test_upward): Likewise.
62659         (sin_test_tonearest): Likewise.
62660         (sin_test_towardzero): Likewise.
62661         (sin_test_downward): Likewise.
62662         (sin_test_upward): Likewise.
62663         (tan_test_tonearest): Likewise.
62664         (tan_test_towardzero): Likewise.
62665         (tan_test_downward): Likewise.
62666         (tan_test_upward): Likewise.
62667         (main): Call the new functions.
62668         * sysdeps/i386/fpu/libm-test-ulps: Update.
62669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62671         [BZ #10135]
62672         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
62673         small n, then large n, before computing and testing k+n.
62674         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
62675         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
62676         Likewise.
62677         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
62678         Likewise.
62679         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
62680         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
62681         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
62682         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
62683         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62684         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62685         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
62686         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
62687         * math/libm-test.inc (scalbn_test): Add more tests.
62688         (scalbln_test): Likewise.
62690         * manual/filesys.texi (mode_t): Describe constraints on size and
62691         signedness, not exact equivalence to a particular type.
62692         (ino_t): Likewise.
62693         (ino64_t): Likewise.
62694         (dev_t): Likewise.
62695         (nlink_t): Likewise.
62696         (blkcnt_t): Likewise.
62697         (blkcnt64_t): Likewise.
62698         * manual/llio.texi (off_t): Likewise.
62700         [BZ #3976]
62701         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
62702         (__ieee754_exp): Save and restore rounding mode and use
62703         round-to-nearest for all computations.
62704         * math/libm-test.inc (exp_test_tonearest): New function.
62705         (exp_test_towardzero): Likewise.
62706         (exp_test_downward): Likewise.
62707         (exp_test_upward): Likewise.
62708         (main): Call the new functions.
62709         * sysdeps/i386/fpu/libm-test-ulps: Update.
62710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62712 2012-03-01  Chris Demetriou  <cgd@google.com>
62714         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
62715         have predictable order.
62717 2012-03-01  David S. Miller  <davem@davemloft.net>
62719         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
62721         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
62722         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
62723         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
62724         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
62726         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
62727         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
62728         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
62729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
62730         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
62731         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
62732         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
62733         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
62734         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
62736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62738         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
62739         * sysdeps/sparc/fpu/libm-test-ulps: to here.
62740         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
62742         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
62743         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62744         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62745         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
62746         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
62747         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
62748         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
62749         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62750         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62751         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
62752         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
62753         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62754         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62755         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62756         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62757         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62758         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
62759         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
62760         * sysdeps/sparc/elf/configure: Regenerated.
62762 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
62764         * configure.in (AS, LD): Require binutils 2.20 or later.
62765         * configure: Regenerated.
62766         * manual/install.texi (Tools for Compilation): Give binutils 2.20
62767         as required minimum version.
62768         * INSTALL: Regenerated.
62770         [BZ #2541]
62771         [BZ #4108]
62772         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
62773         before squaring exponent.
62774         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
62775         bottom long double and 27 bits of top long double before squaring
62776         exponent.
62777         * math/libm-test.inc (erfc_test): Add more tests.
62778         * sysdeps/i386/fpu/libm-test-ulps: Update.
62779         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62782 2012-03-01  Kai Tietz  <ktietz@redhat.com>
62784         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
62785         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
62786         containing bit-fields.
62787         * soft-fp/extended.h (_FP_UNION_E): Likewise.
62788         * soft-fp/single.h (_FP_UNION_S): Likewise.
62789         * soft-fp/double.h (_FP_UNION_D): Likewise.
62791 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
62793         [BZ #13786]
62794         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
62795         not include ../strcmp.S.
62796         [USE_AS_STRNCASECMP_L]: Likewise.
62797         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
62798         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
62799         * sysdeps/i386/i686/multiarch/strncase_l-c.c
62800         (__strncasecmp_l_ia32): Define as alias to
62801         __strncasecmp_l_nonascii.
62803         [BZ #5794]
62804         * math/libm-test.inc (expm1_test): Add test for bug 5794.
62805         * sysdeps/i386/fpu/libm-test-ulps: Update.
62806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62808         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
62809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62811 2012-02-29  Jeff Law  <law@redhat.com>
62813         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
62814         out of bounds read.
62816 2012-02-29  Marek Polacek  <polacek@redhat.com>
62818         [BZ #13706]
62819         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
62820         * elf/Makefile: Add rules to run tst-unused-dep.out.
62822 2012-02-28  David S. Miller  <davem@davemloft.net>
62824         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
62825         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
62826         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
62827         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
62828         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
62829         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
62831 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
62833         * math/libm-test.inc (llround_test): Move one test from
62834         lround_test.  Use TEST_f_L in moved test.
62835         (lround_test): Move misplaced test to llround_test.  Add testcase
62836         from bug 2561.
62838 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
62840         * sysdeps/x86_64/fpu/e_expf.S: New file.
62841         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
62843 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
62845         [BZ #13637]
62846         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
62847         of remain_len that may cause incomplete multi-byte character and
62848         false match.
62849         * posix/bug-regex33.c: New file.
62850         * posix/Makefile (tests): Add bug-regex33.
62852 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
62854         * manual/macros.texi: New file.
62855         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
62856         * manual/libc.texinfo: Include macros.texi.
62857         * manual/creatute.texi: Likewise.
62858         * manual/install.texi: Likewise.
62859         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
62860         @glibcadj{} in references to the GNU C Library.
62861         * manual/charset.texi: Likewise.
62862         * manual/conf.texi: Likewise.
62863         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
62864         when not using those macros.
62865         * manual/creature.texi: Likewise.
62866         * manual/crypt.texi: Likewise.
62867         * manual/errno.texi: Likewise.
62868         * manual/filesys.texi: Likewise.
62869         * manual/header.texi: Likewise.
62870         * manual/install.texi: Likewise.
62871         * manual/intro.texi: Likewise.
62872         * manual/io.texi: Likewise.
62873         * manual/job.texi: Likewise.
62874         * manual/lang.texi: Likewise.
62875         * manual/libc.texiinfo: Likewise.
62876         * manual/llio.texi: Likewise.
62877         * manual/locale.texi: Likewise.
62878         * manual/maint.texi: Likewise.
62879         * manual/math.texi: Likewise.
62880         * manual/memory.texi: Likewise.
62881         * manual/message.texi: Likewise.
62882         * manual/nss.texi: Likewise.
62883         * manual/pattern.texi: Likewise.
62884         * manual/process.texi: Likewise.
62885         * manual/resource.texi: Likewise.
62886         * manual/search.texi: Likewise.
62887         * manual/setjmp.texi: Likewise.
62888         * manual/signal.texi: Likewise.
62889         * manual/socket.texi: Likewise.
62890         * manual/startup.texi: Likewise.
62891         * manual/stdio.texi: Likewise.
62892         * manual/string.texi: Likewise.
62893         * manual/sysinfo.texi: Likewise.
62894         * manual/syslog.texi: Likewise.
62895         * manual/terminal.texi: Likewise.
62896         * manual/time.texi: Likewise.
62897         * manual/users.texi: Likewise.
62898         * INSTALL: Regenerated.
62899         * NOTES: Regenerated.
62900         * sysdeps/gnu/errlist.c: Regenerated.
62902 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
62904         * include/dirent.h: Include <dirstream.h> before
62905         <dirent/dirent.h>.
62907 2012-02-28  David S. Miller  <davem@davemloft.net>
62909         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
62910         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
62911         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
62912         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
62914 2012-02-27  David S. Miller  <davem@davemloft.net>
62916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
62917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
62918         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
62919         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
62921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
62922         frame pointer instead of stack pointer relative arg slot.
62923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
62924         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
62925         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
62927 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
62929         [BZ #3992]
62930         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
62932 2012-02-27  David S. Miller  <davem@davemloft.net>
62934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
62935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
62936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
62937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
62938         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
62939         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
62940         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
62941         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
62943 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
62945         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
62946         later.  Allow versions 5-9.
62947         * configure: Regenerated.
62948         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
62949         required minimum version and 4.6 as recommended version.  Do not
62950         mention bugs in GCC 2.7 and 2.8.
62951         * INSTALL: Regenerated.
62953 2012-02-27  David S. Miller  <davem@davemloft.net>
62955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
62956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
62957         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
62958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
62959         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
62960         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
62961         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
62962         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
62964         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
62965         manipulate bits before adding and subtracting TWO112[sx].
62966         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62968 2012-02-27  Roland McGrath  <roland@hack.frob.com>
62970         [BZ #13775]
62971         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
62972         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
62973         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
62974         being in POSIX, because they are in 1003.1-2008.
62976         * rt/tst-aio.c: Include <fcntl.h>.
62977         * rt/tst-aio7.c: Likewise.
62978         * rt/tst-aio64.c: Likewise.
62980         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
62982 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
62984         * manual/install.texi (--with-headers): Describe headers as
62985         interface headers, not private headers.
62986         (Specific advice for GNU/Linux systems): Describe use of headers
62987         from "make headers_install", not private headers from older
62988         kernels.
62989         * INSTALL: Regenerated.
62990         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
62991         Change to 2.6.19.
62992         * sysdeps/unix/sysv/linux/configure: Regenerated.
62994         * manual/llio.texi (fclean): Remove documentation.
62996         * manual/Makefile (libc-texi-generated): New variable.  Include
62997         version.texi.
62998         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
62999         $(libc-texi-generated), not duplicated list of files.
63000         (version.texi, stamp-version): New rules.
63001         (realclean): Remove $(libc-texi-generated), not individual files
63002         from that list.  Do not remove dir-add.texinfo.
63003         * manual/libc.texinfo: Comment out uses of edition numbers and
63004         references to printed manual.  Remove last-updated dates.
63005         (EDITION): Comment out.
63006         (ISBN): Likewise.
63007         (VERSION, UPDATED): Remove.
63008         (version.texi): Include.
63010 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
63012         * sysdeps/posix/spawni.c: Include <signal.h>.
63013         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
63014         * sysdeps/pthread/aio_fsync.c: Likewise.
63016 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
63018         * conform/Makefile (tests): Run only when not cross-compiling and
63019         when fast-check is not defined.
63021         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
63022         * conform/data/limits.h-data: Fixes for POSIX2008.
63023         * conform/run-conformtest.sh: Run all tests.
63024         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
63025         headers.
63026         * include/bits/dlfcn.h: Likewise.
63027         * include/langinfo.h: Likewise.
63028         * include/monetary.h: Likewise.
63029         * include/sys/poll.h: Likewise.
63031         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
63032         for __USE_GNU.
63033         * posix/spawn.h: Define __need_sigset_t.
63034         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
63035         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
63036         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
63037         to get sigevent_t only.
63038         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
63039         only for __USE_GNU.
63040         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63041         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
63042         process_vm_writev only for __USE_GNU.
63043         * termios/termios.h: Declare tcgetsid also for POSIX2008.
63045         * conform/Makefile: For now ignore errors from run-conformtest.
63046         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
63047         POSIX to avoid namespace pollution.  Don't prepend headers.
63048         * conform/data/aio.h-data: Fixes for POSIX testing.
63049         * conform/data/fcntl.h-data: Likewise.
63050         * conform/data/glob.h-data: Likewise.
63051         * conform/data/grp.h-data: Likewise.
63052         * conform/data/pthread.h-data: Likewise.
63053         * conform/data/pwd.h-data: Likewise.
63054         * conform/data/signal.h-data: Likewise.
63055         * conform/data/spawn.h-data: Likewise.
63056         * conform/data/stdio.h-data: Likewise.
63057         * conform/data/stdlib.h-data: Likewise.
63058         * conform/data/stropts.h-data: Likewise.
63059         * conform/data/sys/mman.h-data: Likewise.
63060         * conform/data/sys/stat.h-data: Likewise.
63061         * conform/data/sys/types.h-data: Likewise.
63062         * conform/data/sys/wait.h-data: Likewise.
63063         * conform/data/time.h-data: Likewise.
63064         * conform/data/unistd.h-data: Likewise.
63065         * conform/data/utime.h-data: Likewise.
63067         * io/sys/stat.h: fchmod was always in POSIX.
63068         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
63069         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
63070         * rt/aio.h: Define __need_timespec before including <time.h>.
63071         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
63072         struct.  Add forward declaration of pthread_attr_t and use it in
63073         sigevent.
63074         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63075         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63076         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
63077         always remove CLK_TCK definition.
63079 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
63081         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
63083 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
63085         * conform/run-conformtest.sh: New file.
63086         * conform/Makefile: Run run-conformtest for tests.
63087         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
63088         support.
63090         * conform/data/uchar.h-data: New file.
63091         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
63092         * conform/data/arpa/inet.h-data: Likewise.
63093         * conform/data/assert.h-data: Likewise.
63094         * conform/data/complex.h-data: Likewise.
63095         * conform/data/cpio.h-data: Likewise.
63096         * conform/data/ctype.h-data: Likewise.
63097         * conform/data/dirent.h-data: Likewise.
63098         * conform/data/dlfcn.h-data: Likewise.
63099         * conform/data/errno.h-data: Likewise.
63100         * conform/data/fcntl.h-data: Likewise.
63101         * conform/data/float.h-data: Likewise.
63102         * conform/data/fmtmsg.h-data: Likewise.
63103         * conform/data/fnmatch.h-data: Likewise.
63104         * conform/data/ftw.h-data: Likewise.
63105         * conform/data/glob.h-data: Likewise.
63106         * conform/data/grp.h-data: Likewise.
63107         * conform/data/iconv.h-data: Likewise.
63108         * conform/data/inttypes.h-data: Likewise.
63109         * conform/data/langinfo.h-data: Likewise.
63110         * conform/data/libgen.h-data: Likewise.
63111         * conform/data/limits.h-data: Likewise.
63112         * conform/data/locale.h-data: Likewise.
63113         * conform/data/math.h-data: Likewise.
63114         * conform/data/monetary.h-data: Likewise.
63115         * conform/data/mqueue.h-data: Likewise.
63116         * conform/data/ndbm.h-data: Likewise.
63117         * conform/data/net/if.h-data: Likewise.
63118         * conform/data/netdb.h-data: Likewise.
63119         * conform/data/netinet/in.h-data: Likewise.
63120         * conform/data/nl_types.h-data: Likewise.
63121         * conform/data/poll.h-data: Likewise.
63122         * conform/data/pthread.h-data: Likewise.
63123         * conform/data/pwd.h-data: Likewise.
63124         * conform/data/regex.h-data: Likewise.
63125         * conform/data/sched.h-data: Likewise.
63126         * conform/data/search.h-data: Likewise.
63127         * conform/data/semaphore.h-data: Likewise.
63128         * conform/data/setjmp.h-data: Likewise.
63129         * conform/data/signal.h-data: Likewise.
63130         * conform/data/spawn.h-data: Likewise.
63131         * conform/data/stdarg.h-data: Likewise.
63132         * conform/data/stdio.h-data: Likewise.
63133         * conform/data/stdlib.h-data: Likewise.
63134         * conform/data/string.h-data: Likewise.
63135         * conform/data/strings.h-data: Likewise.
63136         * conform/data/stropts.h-data: Likewise.
63137         * conform/data/sys/ipc.h-data: Likewise.
63138         * conform/data/sys/mman.h-data: Likewise.
63139         * conform/data/sys/msg.h-data: Likewise.
63140         * conform/data/sys/resource.h-data: Likewise.
63141         * conform/data/sys/select.h-data: Likewise.
63142         * conform/data/sys/sem.h-data: Likewise.
63143         * conform/data/sys/shm.h-data: Likewise.
63144         * conform/data/sys/socket.h-data: Likewise.
63145         * conform/data/sys/stat.h-data: Likewise.
63146         * conform/data/sys/statvfs.h-data: Likewise.
63147         * conform/data/sys/time.h-data: Likewise.
63148         * conform/data/sys/timeb.h-data: Likewise.
63149         * conform/data/sys/times.h-data: Likewise.
63150         * conform/data/sys/types.h-data: Likewise.
63151         * conform/data/sys/uio.h-data: Likewise.
63152         * conform/data/sys/un.h-data: Likewise.
63153         * conform/data/sys/utsname.h-data: Likewise.
63154         * conform/data/sys/wait.h-data: Likewise.
63155         * conform/data/syslog.h-data: Likewise.
63156         * conform/data/tar.h-data: Likewise.
63157         * conform/data/termios.h-data: Likewise.
63158         * conform/data/utime.h-data: Likewise.
63159         * conform/data/utmpx.h-data: Likewise.
63160         * conform/data/varargs.h-data: Likewise.
63161         * conform/data/wchar.h-data: Likewise.
63162         * conform/data/wctype.h-data: Likewise.
63163         * conform/data/wordexp.h-data: Likewise.
63165         * include/stropts.h: New file.
63166         * include/uchar.h: New file.
63167         * include/aio.h: Changes to allow conformtest.pl to use the headers.
63168         * include/assert.h: Likewise.
63169         * include/ctype.h: Likewise.
63170         * include/dirent.h: Likewise.
63171         * include/dlfcn.h: Likewise.
63172         * include/fcntl.h: Likewise.
63173         * include/fnmatch.h: Likewise.
63174         * include/glob.h: Likewise.
63175         * include/grp.h: Likewise.
63176         * include/libio.h: Likewise.
63177         * include/locale.h: Likewise.
63178         * include/math.h: Likewise.
63179         * include/net/if.h: Likewise.
63180         * include/netdb.h: Likewise.
63181         * include/netinet/in.h: Likewise.
63182         * include/pthread.h: Likewise.
63183         * include/pwd.h: Likewise.
63184         * include/regex.h: Likewise.
63185         * include/sched.h: Likewise.
63186         * include/search.h: Likewise.
63187         * include/setjmp.h: Likewise.
63188         * include/signal.h: Likewise.
63189         * include/stdio.h: Likewise.
63190         * include/stdlib.h: Likewise.
63191         * include/string.h: Likewise.
63192         * include/sys/cdefs.h: Likewise.
63193         * include/sys/mman.h: Likewise.
63194         * include/sys/msg.h: Likewise.
63195         * include/sys/resource.h: Likewise.
63196         * include/sys/select.h: Likewise.
63197         * include/sys/socket.h: Likewise.
63198         * include/sys/stat.h: Likewise.
63199         * include/sys/statvfs.h: Likewise.
63200         * include/sys/time.h: Likewise.
63201         * include/sys/times.h: Likewise.
63202         * include/sys/uio.h: Likewise.
63203         * include/sys/utsname.h: Likewise.
63204         * include/sys/wait.h: Likewise.
63205         * include/termios.h: Likewise.
63206         * include/time.h: Likewise.
63207         * include/ulimit.h: Likewise.
63208         * include/unistd.h: Likewise.
63209         * include/utime.h: Likewise.
63210         * include/wchar.h: Likewise.
63211         * include/wctype.h: Likewise.
63212         * include/wordexp.h: Likewise.
63214         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
63216         * time/time.h: TIME_UTC must be a macro.
63217         Make timespec_get available for ISO C11 only as well.
63219 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
63221         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
63222         Reported by Peng Haitao <penght@cn.fujitsu.com>.
63224 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63226         * configure.in: Use -o not -a in test for unsupported multi-arch.
63228 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63230         * manual/texinfo.tex: Update to version 2012-01-19.16.
63232 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63234         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
63236 2012-02-24  Roland McGrath  <roland@hack.frob.com>
63238         [BZ #13738]
63239         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
63240         * manual/fdl-1.3.texi: New file.
63241         * manual/fdl-1.1.texi: File removed.
63243         [BZ #13738]
63244         * manual/libc.texinfo (FDL_VERSION): New @set.
63245         Use it for mention of FDL in cover text.
63246         (Documentation License): Use it in @include file name.
63248 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63249             Roland McGrath  <roland@hack.frob.com>
63251         [BZ #5461]
63252         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
63253         (not LONG_LONG_MAX and LONG_LONG_MIN.
63254         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
63255         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
63256         name.
63257         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
63259 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63261         [BZ #2547]
63262         [BZ #11365]
63263         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
63264         manipulate bits before adding and subtracting TWO23[sx].
63265         * math/libm-test.inc (nearbyint_test): Add more tests.
63267 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63269         [BZ #2548]
63270         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
63271         bits before adding and subtracting TWO23[sx].
63272         * math/libm-test.inc (rint_test): Add more tests.
63273         (rint_test_tonearest): Likewise.
63274         (rint_test_towardzero): Likewise.
63275         (rint_test_downward): Likewise.
63276         (rint_test_upward: Likewise.
63278 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63280         [BZ #10110]
63281         * include/stdc-predef.h: New file.  Extracted from features.h.
63282         * include/features.h: Include stdc-predef.h.
63283         * Makefile (headers): Add stdc-predef.h.
63284         * CONFORMANCE (Compiler limitations): Update.
63286 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63288         * manual/libc.texinfo (VERSION, UPDATED): Revert.
63290 2012-02-21  David S. Miller  <davem@davemloft.net>
63292         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
63293         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63295 2012-02-20  David S. Miller  <davem@davemloft.net>
63297         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
63298         using a normal save/restore sequence, rather than allocating a
63299         dummy stack frame just to store a frame pointer and restore.
63300         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63302 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63304         * manual/install.texi: Fix stray word in line-wrapped comment.
63306 2012-02-20  David S. Miller  <davem@davemloft.net>
63308         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
63309         both binutils and gcc support GOTDATA.
63311         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
63312         "rd %pc" in the PIC register setup sequences.
63314         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
63315         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
63316         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63317         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
63318         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63319         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63320         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63321         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63322         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
63323         (SYSCALL_ERROR_HANDLER): Likewise.
63324         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63325         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63326         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
63327         (SYSCALL_ERROR_HANDLER): Likewise.
63329         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
63330         (HAVE_GCC_GOTDATA): New.
63331         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
63332         relocation support in both binutils and gcc.
63333         * sysdeps/sparc/elf/configure: Regenerate.
63335         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
63336         * sysdeps/sparc/sparc32/elf/configure: Delete.
63337         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
63338         * sysdeps/sparc/sparc64/elf/configure: Delete.
63339         * sysdeps/sparc/elf/configure.in: New file.
63340         * sysdeps/sparc/elf/configure: Generate.
63342         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
63343         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
63344         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
63345         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
63346         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
63348 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63350         * manual/install.texi: Do not mention specific glibc version
63351         numbers.
63352         * manual/libc.texinfo (VERSION, UPDATED): Update.
63353         (@copying): Use @copyright{} and range of years.
63355 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63357         [BZ #13695]
63358         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
63359         [crti.S not in sysdirs] (generated): Do not append.
63360         [crti.S not in sysdirs] (omit-deps): Likewise.
63361         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
63362         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
63363         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
63364         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
63365         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
63366         Likewise.
63367         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
63368         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
63369         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
63370         * csu/defs.awk: Remove file.
63371         * sysdeps/generic/initfini.c: Likewise.
63372         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
63373         variable.
63374         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
63375         Likewise.
63377 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63379         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
63380         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
63381         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
63382         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
63383         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63384         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
63385         <bits/epoll.h>.
63386         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
63387         (__EPOLL_PACKED): Define to empty if not defined by
63388         <bits/epoll.h>.
63389         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
63390         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63391         bits/epoll.h.
63393 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63395         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
63396         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
63397         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
63398         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
63399         <bits/timerfd.h>.
63400         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
63401         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63402         bits/timerfd.h.
63404 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63406         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
63407         in C locale.
63408         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63409         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63410         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
63411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63413 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
63415         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63416         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63418 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
63420         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
63421         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
63422         defined.
63423         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
63424         Likewise.
63425         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
63426         entry for 2.16.
63428 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
63430         * math/w_acos.c: Use non-signaling floating-point comparisons.
63431         * math/w_acosf.c: Likewise.
63432         * math/w_acosh.c: Likewise.
63433         * math/w_acoshf.c: Likewise.
63434         * math/w_acoshl.c: Likewise.
63435         * math/w_acosl.c: Likewise.
63436         * math/w_asin.c: Likewise.
63437         * math/w_asinf.c: Likewise.
63438         * math/w_asinl.c: Likewise.
63439         * math/w_atanh.c: Likewise.
63440         * math/w_atanhf.c: Likewise.
63441         * math/w_atanhl.c: Likewise.
63442         * math/w_exp2.c: Likewise.
63443         * math/w_exp2f.c: Likewise.
63444         * math/w_exp2l.c: Likewise.
63445         * math/w_j0.c: Likewise.
63446         * math/w_j0f.c: Likewise.
63447         * math/w_j0l.c: Likewise.
63448         * math/w_j1.c: Likewise.
63449         * math/w_j1f.c: Likewise.
63450         * math/w_j1l.c: Likewise.
63451         * math/w_jn.c: Likewise.
63452         * math/w_jnf.c: Likewise.
63453         * math/w_log.c: Likewise.
63454         * math/w_log10.c: Likewise.
63455         * math/w_log10f.c: Likewise.
63456         * math/w_log10l.c: Likewise.
63457         * math/w_log2.c: Likewise.
63458         * math/w_log2f.c: Likewise.
63459         * math/w_log2l.c: Likewise.
63460         * math/w_logf.c: Likewise.
63461         * math/w_logl.c: Likewise.
63462         * math/w_sqrt.c: Likewise.
63463         * math/w_sqrtf.c: Likewise.
63464         * math/w_sqrtl.c: Likewise.
63465         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63466         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
63467         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63468         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63469         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63471 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63473         [BZ #9739]
63474         * manual/string.texi (strnlen): Use correct parameter name in
63475         equivalent expression.
63477 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63479         [BZ #11174]
63480         * manual/users.texi (seteuid): Consistently use neweuid for
63481         argument name.
63483 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63485         [BZ #13704]
63486         * manual/nss.texi (Services in the NSS configuration): Correct
63487         list of services in example configuration file.
63489 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
63491         [BZ #11322]
63492         * manual/arith.texi: Remove statements about negative zero
63493         behaving identically to zero.
63495 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
63497         [BZ #5993]
63498         * manual/install.texi: Do not document upgrading from libc5.
63500 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
63502         [BZ #4596]
63503         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
63505 2012-02-18  David S. Miller  <davem@davemloft.net>
63507         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
63508         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
63509         %o7 across the call.
63510         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
63511         instead.
63512         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
63513         SETUP_PIC_REG_LEAF.
63514         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63515         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
63516         * sysdeps/sparc/crtn.S: Likewise.
63518 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
63520         * aout/Makefile: Remove.
63522 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
63524         [BZ #13058]
63525         * manual/examples/argp-ex1.c (main): Format definition in GNU
63526         style.
63527         * manual/examples/argp-ex2.c (main): Likewise.
63528         * manual/examples/argp-ex3.c (main): Likewise.
63529         * manual/examples/argp-ex4.c (main): Likewise.
63530         * manual/examples/longopt.c (main): Use new-style prototype
63531         definition.
63532         * manual/examples/strncat.c (main): Specify return type and use
63533         (void) for arguments.
63534         * manual/examples/subopt.c (main): Use char **argv argument.
63536 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63538         [BZ #5077]
63539         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
63540         rounding modes.
63542 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
63544         [BZ #6907]
63545         * manual/string.texi (strchr): Change when strchrnul is
63546         recommended.
63548 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
63550         [BZ #174]
63551         * manual/locale.texi (setlocale): Document LOCPATH.
63553 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63555         [BZ #10210]
63556         * manual/process.texi (execle): Move @dots{} before last argument.
63558 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
63560         [BZ #12047]
63561         * manual/charset.texi (Generic Charset Conversion): Fix typo
63562         (LC_TYPE -> LC_CTYPE).
63564 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
63566         [BZ #5805]
63567         * manual/arith.texi (scalbn): Use @var{} on parameter names.
63568         (scalbnf): Likewise.
63569         (scalbnl): Likewise.
63570         (scalbln): Likewise.
63571         (scalblnf): Likewise.
63572         (scalblnl): Likewise.
63573         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
63574         (vwarnx): Likewise.
63575         (verr): Likewise.
63576         (verrx): Likewise.
63577         * manual/filesys.texi (telldir): Use braces around return type.
63578         * manual/llio.texi (mmap): Add space after comma.
63579         (mmap64): Likewise.
63580         * manual/math.texi (jn): Use @var{} on parameter names.
63581         (jnf): Likewise.
63582         (jnl): Likewise.
63583         (yn): Likewise.
63584         (ynf): Likewise.
63585         (ynl): Likewise.
63586         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
63587         line.
63588         * manual/resource.texi (ulimit): Use @dots{} instead of literal
63589         "...".
63590         (sched_get_priority_min): Remove semicolon on @deftypefun line.
63591         (sched_get_priority_max): Likewise.
63592         * manual/signal.texi (sigvec): Add space after comma.
63593         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
63594         names.
63595         (if_indextoname): Likewise.
63596         (if_freenameindex): Likewise.
63597         (sendto): Use ',' instead of '.' in prototype.
63598         * manual/startup.texi (syscall): Use @dots{} instead of literal
63599         "...".
63600         * manual/stdio.texi (__fpending): Separate initial words of
63601         paragraph from @deftypefun line.
63602         * manual/syslog.texi (syslog): Use @dots{} instead of literal
63603         "...".
63604         (vsyslog): Use @var{} on parameter names.
63605         * manual/terminal.texi (stty): Use @var{} on parameter names.
63606         * manual/users.texi (getutmp): Use @var{} on parameter names.
63607         (getutmpx): Likewise.
63609 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63611         [BZ #6884]
63612         * manual/stdio.texi (fopen): Fix typos in description of
63613         ",ccs=STRING".
63615 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
63617         [BZ #4026]
63618         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
63619         get clock_id definition.
63621 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
63623         [BZ #4822]
63624         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
63625         (madvise): Cast every argument to void on its own.
63627 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63629         [BZ #9902]
63630         * manual/startup.texi (Exit Status): Fix typo.
63632 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63634         [BZ #10140]
63635         * manual/examples/argp-ex1.c: Include <stdlib.h>.
63636         * manual/examples/argp-ex2.c: Likewise.
63637         * manual/examples/argp-ex3.c: Likewise.
63639 2012-02-16  Richard Henderson  <rth@redhat.com>
63641         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
63642         * sysdeps/s390/s390-32/initfini.c: Remove.
63643         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
63644         * sysdeps/s390/s390-64/initfini.c: Remove.
63646 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63648         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
63649         compiler output for sysdeps/generic/initfini.c.
63650         * sysdeps/sh/elf/initfini.c: Remove file.
63652 2012-02-16  David S. Miller  <davem@davemloft.net>
63654         [BZ #11494]
63655         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
63657         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
63658         * sysdeps/sparc/crti.S: New file.
63659         * sysdeps/sparc/crtn.S: New file.
63660         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
63661         * sysdeps/sparc/sparc64/Makefile: Likewise.
63663 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
63665         [BZ #3335]
63666         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
63668 2012-02-15  Roland McGrath  <roland@hack.frob.com>
63670         [BZ #4822]
63671         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
63673         * mach/devstream.c (cookie_io_functions_t): Macro removed.
63674         (write, read, close): Likewise.
63675         Patch by Aurelien Jarno <aurelien@aurel32.net>.
63677 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
63679         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
63680         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
63681         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
63682         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
63683         <bits/signalfd.h>.
63684         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
63685         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63686         bits/signalfd.h.
63688 2012-02-14  Marek Polacek  <polacek@redhat.com>
63690         * sysdeps/x86_64/crti.S: New file.
63691         * sysdeps/x86_64/crtn.S: New file.
63692         * sysdeps/x86_64/elf/initfini.c: Remove file.
63694 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
63696         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
63697         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
63698         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
63699         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
63700         <bits/inotify.h>.
63701         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
63702         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63703         bits/inotify.h.
63705 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
63707         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
63708         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
63709         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
63710         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
63711         <bits/eventfd.h>.
63712         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
63713         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63714         bits/eventfd.h.
63716 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
63718         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
63719         __feraiseexcept instead of feraiseexcept.
63721         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
63722         nanosleep invocations.
63723         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
63724         strings, and add error checking for a nanosleep invocations.
63726 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
63728         Replace FSF snail mail address with URLs, as per GNU coding standards.
63729         Most of the snail mail addresses were wrong anyway, and omitting
63730         them makes the source code easier to maintain.  Almost all of the
63731         changes are to license notices and to locale LC_IDENTIFICATION
63732         addresses, except for this one:
63733         * manual/libc.texinfo: In "Published by", give the FSF's URL,
63734         not its snail mail address.
63736 2012-02-09  Richard Henderson  <rth@twiddle.net>
63738         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
63739         of kernel-features.h.
63741         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
63743 2012-02-08  Marek Polacek  <polacek@redhat.com>
63745         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
63746         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
63747         * sysdeps/gnu/_G_config.h: Likewise.
63748         * sysdeps/generic/_G_config.h: Likewise.
63750 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
63752         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
63753         tests.
63754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63756         * sysdeps/powerpc/powerpc32/crti.S: New file.
63757         * sysdeps/powerpc/powerpc32/crtn.S: New file.
63758         * sysdeps/powerpc/powerpc64/crti.S: New file.
63759         * sysdeps/powerpc/powerpc64/crtn.S: New file.
63761         * Makeconfig (have-initfini): Don't set.
63762         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
63763         * configure.in (nopic_initfini): Don't substitute.
63764         * config.h.in (HAVE_INITFINI): Don't #undef.
63765         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
63766         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
63768 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
63770         Support crti.S and crtn.S provided directly by architectures.
63771         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
63772         [crti.S in sysdirs] (omit-deps): Likewise.
63773         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
63774         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
63775         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
63776         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
63777         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
63778         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
63779         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
63780         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
63781         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
63782         compiler output for sysdeps/generic/initfini.c.
63783         * sysdeps/i386/elf/Makefile: Remove file.
63784         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
63786 2012-02-07  Marek Polacek  <polacek@redhat.com>
63788         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
63789         * sysdeps/gnu/_G_config.h: Likewise.
63790         * sysdeps/mach/hurd/_G_config.h: Likewise.
63792 2012-02-07  Marek Polacek  <polacek@redhat.com>
63794         * math/Makefile (tests): Add tst-CMPLX2.
63795         * math/tst-CMPLX2.c: New file.
63797 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
63799         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63801         * math/libm-test.inc (jn_test): Add missing L suffix.
63803 2012-02-06  Marek Polacek  <polacek@redhat.com>
63805         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
63806         * sysdeps/i386/fpu/e_powf.S: Likewise.
63807         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63808         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
63809         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63810         * sysdeps/i386/fpu/e_pow.S: Likewise.
63811         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63812         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63813         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63814         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63815         * sysdeps/i386/fpu/e_log2.S: Likewise.
63816         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63817         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63818         * sysdeps/i386/fpu/e_powl.S: Likewise.
63819         * sysdeps/i386/fpu/s_log1p.S: Likewise.
63820         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63821         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63822         * sysdeps/i386/fpu/e_logl.S: Likewise.
63823         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63824         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
63825         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63826         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63827         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63828         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63829         * sysdeps/i386/fpu/e_log.S: Likewise.
63830         * sysdeps/i386/fpu/s_cexp.S: Likewise.
63831         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63832         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
63833         * sysdeps/i386/fpu/e_logf.S: Likewise.
63834         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63835         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63836         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
63837         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63838         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
63839         * sysdeps/i386/fpu/e_log10.S: Likewise.
63840         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63841         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63842         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63843         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63844         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63845         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63846         * sysdeps/i386/asm-syntax.h: Likewise.
63847         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63848         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63849         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63850         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
63851         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
63852         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63853         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63854         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63855         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63856         * sysdeps/powerpc/sysdep.h: Likewise.
63857         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
63858         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63860 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
63862         [BZ #411]
63863         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
63865 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
63867         * sysdeps/i386/sysdep.h: Include <features.h>.
63868         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
63869         version.
63871 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
63873         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
63874         Define.
63875         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
63876         LOAD_PIC_REG_STR.
63878 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63880         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
63881         (SETUP_PIC_REG): Use GET_PC_THUNK.
63882         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
63883         macro.
63885 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63887         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
63888         for non-PIC compilation.
63889         (SETUP_PIC_REG): Add .p2align directive.
63890         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
63891         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
63892         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63893         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63894         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
63895         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63896         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
63897         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63898         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63899         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63900         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63901         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63902         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63903         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63904         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63905         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
63906         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
63907         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63908         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63909         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63910         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63911         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
63912         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63913         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63914         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
63915         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
63916         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63917         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
63918         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63919         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63920         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63921         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63922         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63923         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63924         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63925         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63926         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63927         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63928         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63929         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63930         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63932 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63934         * math/tst-CMPLX.c: Include <stdio.h>.
63936 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
63938         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
63939         float.
63940         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63941         * sysdeps/sparc/bits/mathdef.h: Likewise.
63943 2012-01-31  Marek Polacek  <polacek@redhat.com>
63945         * libio/libio.h: Don't define _PARAMS.
63946         * locale/programs/config.h: Don't define PARAMS.
63947         * stdlib/strtol_l.c: Likewise.
63948         (__strtol_l): Remove PARAMS from the prototype.
63950 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
63952         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
63953         names.  Just use the correct names.  Remove unnecessary wrapper
63954         functions.
63955         * malloc/arena.c: Likewise.
63956         * malloc/hooks.c: Likewise.
63958         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
63959         ARENA_TEST says not to.  Simplify test for creation of a new arena.
63960         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
63962 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
63964         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
63965         into tail calls.
63966         (update_get_addr): New function.
63967         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
63968         GET_ADDR_MODULE parameter.
63970 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
63972         * crypt/cert.c: Remove __STDC__ conditionals.
63973         * crypt/crypt-entry.c: Likewise.
63974         * crypt/crypt_util.c: Likewise.
63975         * libio/filedoalloc.c: Likewise.
63976         * libio/fileops.c: Likewise.
63977         * libio/genops.c: Likewise.
63978         * libio/iofclose.c: Likewise.
63979         * libio/iofdopen.c: Likewise.
63980         * libio/iofopen.c: Likewise.
63981         * libio/iofopen64.c: Likewise.
63982         * libio/iogetdelim.c: Likewise.
63983         * libio/iopopen.c: Likewise.
63984         * libio/obprintf.c: Likewise.
63985         * libio/oldfileops.c: Likewise.
63986         * libio/oldiofclose.c: Likewise.
63987         * libio/oldiofdopen.c: Likewise.
63988         * libio/oldiofopen.c: Likewise.
63989         * libio/oldiopopen.c: Likewise.
63990         * libio/wfiledoalloc.c: Likewise.
63991         * libio/wgenops.c: Likewise.
63992         * locale/programs/xmalloc.c: Likewise.
63993         * misc/syslog.c: Likewise.
63994         * stdio-common/xbug.c: Likewise.
63995         * string/memchr.c: Likewise.
63996         * string/memcmp.c: Likewise.
63997         * string/memrchr.c: Likewise.
63998         * string/rawmemchr.c: Likewise.
63999         * sysdeps/posix/getcwd.c: Likewise.
64000         * time/strftime_l.c: Likewise.
64002 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
64004         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
64005         * config.make.in (config-cflags-sse2avx): Define.
64006         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
64007         Fix typo.
64009 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
64011         * scripts/config.guess: Update from upstream config git repository.
64012         * scripts/config.sub: Likewise.
64014 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
64016         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
64017         (EM_NUM): Update.
64018         (R_TILEPRO_*, R_TILEGX_*): New macros.
64020         * scripts/firstversions.awk: Fix bug in version range handling.
64022         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
64024         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
64026         * include/sys/epoll.h: New file.
64027         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
64028         libc_hidden_def.
64030 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
64032         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
64033         Avoid unnecessary __WORDSIZE == 64 test.
64034         (fmaxf): Use VEX format if possible.
64035         (fmax): Likewise.
64036         (fminf): Likewise.
64037         (fmin): Likewise.
64039         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
64040         * math/math_private.h: Remove libc_fegetround* and
64041         libc_fesetround*.
64042         * sysdeps/i386/configure.in: Check for -msse2avx.
64043         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
64044         also if SSE2AVX is defined.
64045         Remove libc_fegetround* and libc_fesetround*.
64046         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
64047         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
64048         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
64049         of HAS_YMM_USABLE.
64050         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64051         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64052         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64053         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64054         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64056         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
64058 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64060         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
64061         size is not set.
64062         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64064 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
64066         [BZ #13618]
64067         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
64068         relocation.
64069         * Makeconfig (libm): Define.
64070         * elf/Makefile: Add rules to build and run tst-relsort1.
64071         * elf/tst-relsort1.c: New file.
64072         * elf/tst-relsort1mod1.c: New file.
64073         * elf/tst-relsort1mod2.c: New file.
64075 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
64077         * math/s_ldexp.c: Remove __STDC__ conditionals.
64078         * math/s_ldexpf.c: Likewise.
64079         * math/s_ldexpl.c: Likewise.
64080         * math/s_nextafter.c: Likewise.
64081         * math/s_nexttowardf.c: Likewise.
64082         * math/s_significand.c: Likewise.
64083         * math/s_significandf.c: Likewise.
64084         * math/s_significandl.c: Likewise.
64085         * math/w_jnl.c: Likewise.
64086         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
64087         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
64088         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
64089         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
64090         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
64091         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64092         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
64093         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
64094         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
64095         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
64096         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
64097         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64098         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
64099         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
64100         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
64101         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
64102         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
64103         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
64104         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64105         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64106         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64107         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64108         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64109         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64110         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64111         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64112         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64113         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64114         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
64115         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64116         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64117         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
64118         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64119         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
64120         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
64121         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64122         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
64123         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
64124         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
64125         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
64126         * sysdeps/ieee754/k_standard.c: Likewise.
64127         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64128         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64129         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64130         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64131         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64132         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64133         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64134         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64135         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64136         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64137         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64138         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64139         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64140         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64141         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64142         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64143         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64144         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64145         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64146         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64147         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64148         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64149         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64150         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64151         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64152         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64153         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64154         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64155         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64156         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64157         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64158         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
64159         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64160         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64161         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64162         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64163         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
64164         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64165         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64166         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
64167         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
64168         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64169         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
64170         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
64171         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64172         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
64173         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
64174         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64175         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64176         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
64177         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
64178         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64179         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64180         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64181         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64182         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64183         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
64184         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64185         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64186         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64187         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64188         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64189         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64190         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64191         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64192         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64193         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64194         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64195         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64196         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64197         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64198         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64199         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64200         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64201         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64202         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64203         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64204         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64205         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64206         * sysdeps/ieee754/s_matherr.c: Likewise.
64207         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64208         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64209         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64210         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64212 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64214         * crypt/md5.h: Remove __STDC__ conditionals.
64215         * libio/libioP.h: Likewise.
64216         * locale/programs/config.h: Likewise.
64217         * sysdeps/generic/sysdep.h: Likewise.
64218         * sysdeps/i386/asm-syntax.h: Likewise.
64219         * sysdeps/s390/asm-syntax.h: Likewise.
64220         * sysdeps/unix/sysdep.h: Likewise.
64221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
64222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64224 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64226         * libio/libio.h: Remove __STDC__ conditionals.
64227         * malloc/obstack.h: Likewise.
64228         * math/complex.h: Likewise.
64229         * math/math.h: Likewise.
64230         * sysdeps/generic/_G_config.h: Likewise.
64231         * sysdeps/gnu/_G_config.h: Likewise.
64232         * sysdeps/mach/hurd/_G_config.h: Likewise.
64233         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64234         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64235         * sysdeps/sparc/bits/mathdef.h: Likewise.
64237 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
64239         [BZ #13583]
64240         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
64241         Clean up HAS_* macros.
64242         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
64243         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
64244         possible.
64245         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
64246         HAS_AVX.
64247         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64248         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64249         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64250         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64251         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64253 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
64255         * elf/tst-unique3.cc (gets): Remove declaration.
64256         * elf/tst-unique3lib.cc (gets): Likewise.
64257         * elf/tst-unique3lib2.cc (gets): Likewise.
64258         * elf/tst-unique4.cc (gets): Likewise.
64260 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
64262         * include/stdio.h: Add C++ protection.  Add gets declarations and
64263         definitions.
64264         * debug/tst-chk1.c: Don't declare gets here.
64265         * stdio-common/tst-gets.c: Likewise.
64267 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
64269         * posix/glob: Remove directory.
64271 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
64273         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
64275 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
64277         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
64278         of the non-standard EPFNOSUPPORT.
64280 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64282         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
64283         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
64284         ANYWHERE set to 1 only on KERN_NO_SPACE error.
64286 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
64288         * wcsmbs/uchar.h: Test __STDC_VERSION__.
64290 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
64292         * nscd/aicache.c (addhstaiX): Do not cache negative results of
64293         transient errors.
64294         * nscd/grpcache.c (cache_addgr): Likewise.
64295         * nscd/hstcache.c (cache_addhst): Likewise.
64296         * nscd/initgrcache.c (addinitgroupsX): Likewise.
64297         * nscd/pwdcache.c (cache_addpw): Likewise.
64298         * nscd/servicescache.c (cache_addserv): Likewise.
64300 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
64302         * malloc/malloc.c: Various cleanups.
64303         * malloc/hooks.c: Likewise.
64305         * stdlib/Makefile (tests): Add bug-fmtmsg1.
64306         * stdlib/bug-fmtmsg1.c: New file.
64308         * stdlib/fmtmsg.c (init): Add missing unlock.
64309         Patch by Peng Haitao <penght@cn.fujitsu.com>.
64311 2012-01-12  Marek Polacek  <polacek@redhat.com>
64313         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
64314         and _GNU_SOURCE.
64316 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
64318         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
64319         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
64320         macro to ensure uniqueness of label name.
64321         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64322         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64324 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
64326         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
64328         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
64329         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
64330         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64331         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
64333 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
64335         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
64337         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
64338         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
64339         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64341         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
64343         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
64344         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
64345         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64346         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
64348         * math/bits/math-finite.h: Add ldexp support.
64350 2012-01-10  Marek Polacek  <polacek@redhat.com>
64352         * locale/programs/localedef.h (show_archive_content): Add noreturn
64353         attribute.
64355 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
64357         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
64359 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64361         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
64363         * io/Makefile (headers): Add bits/poll2.h.
64365 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
64367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
64368         typo #include statement.
64370 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64372         * include/sys/cdefs.h: Define __attribute_alloc_size.
64373         * catgets/gencat.c: Add alloc_size attribute and apply consistently
64374         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
64375         * elf/pldd.c: Likewise.
64376         * iconv/iconv_charmap.c: Likewise.
64377         * iconv/iconvconfig.c: Likewise.
64378         * iconv/strtab.c: Likewise.
64379         * locale/programs/locale.c: Likewise.
64380         * locale/programs/localedef.h: Likewise.
64381         * locale/programs/simple-hash.c: Likewise.
64382         * nscd/nscd.h: Likewise.
64383         * nss/makedb.c: Likewise.
64384         * sysdeps/generic/ldconfig.h: Likewise.
64385         * locale/programs/localedef.c: Remove xmalloc prototype.
64386         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
64388 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64390         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
64391         appropriate.
64393 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64395         * math/Makefile (tests): Add tst-CMPLX.
64396         * math/tst-CMPLX.c: New file.
64398         * math/complex.h (CMPLXL): Fix typo.
64400         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
64401         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
64402         GLIBC_2.16.
64403         * debug/tst-chk1.c: Add poll and ppoll tests.
64404         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
64405         * include/sys/poll.h: Add hidden proto for ppoll.
64406         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
64407         * sysdeps/mach/hurd/ppoll.c: Likewise.
64408         * io/ppoll.c: Likewise.
64409         * debug/poll_chk.c: New file.
64410         * debug/ppoll_chk.c: New file.
64411         * include/bits/poll2.h: New file.
64412         * io/bits/poll2.h: New file.
64414         [BZ #1350]
64415         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
64417         * configure.in: static is always set to yes.  Remove.
64418         * config.make.in: Don't set build-static.
64419         * Makeconfig: Remove use of build-static.
64420         * dlfcn/Makefile: Likewise.
64421         * elf/Makefile: Likewise.
64422         * math/Makefile: Likewise.
64423         * misc/Makefile: Likewise.
64424         * nptl/Makefile: Likewise.
64425         * sysdeps/mach/hurd/Makefile: Likewise.
64427         * configure.in: PWD_P is not used anymore.
64428         * config.make.in: Remove PWD_P entry.
64430         * configure.in: Remove last remnants of RANLIB.
64431         No need to check for signed size_t anymore.
64432         Don't set libc_commonpagesize and libc_relro_required here for Alpha
64433         and IA-64.
64434         Remove __builtin_expect test because we require at least gcc 3.4.
64435         * aclocal.m4: Likewise.
64437         * wcsmbs/mbrtoc16.c: Implement using towc function.
64438         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
64439         * wcsmbs/wcsmbsload.c: Likewise.
64440         * iconv/gconv_simple.c: Likewise.
64441         * iconv/gconv_int.h: Likewise.
64442         * iconv/gconv_builtin.h: Likewise.
64443         * iconv/iconv_prog.c: Remove CHAR16 handling.
64445         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
64447         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
64449         * configure.in: Remove --with-elf and --enable-bounded options.
64450         Dont set base_machine for ia64.  More non-ELF conditions removed.
64451         Remove testing and setting of leading underscore information.
64452         * config.make.in (build-bounded): Set to no.
64453         * config.h.in: Remove NO_UNDERSCORES entry.
64454         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
64455         them.
64456         * csu/start.c: Remove !NO_UNDERSCORE code.
64457         * locale/localeinfo.h: Likewise.
64458         * sysdeps/generic/machine-gmon.h: Likewise.
64459         * sysdeps/generic/sysdep.h: Likewise.
64460         * sysdeps/i386/sysdep.h: Likewise.
64461         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64462         * sysdeps/mach/sysdep.h: Likewise.
64463         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64464         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64465         * sysdeps/sh/sysdep.h: Likewise.
64466         * sysdeps/sparc/sparc32/alloca.S: Likewise.
64467         * sysdeps/unix/i386/sysdep.S: Likewise.
64468         * sysdeps/unix/sparc/start.c: Likewise.
64469         * sysdeps/unix/sparc/sysdep.S: Likewise.
64470         * sysdeps/unix/sparc/sysdep.h: Likewise.
64471         * sysdeps/unix/start.c: Likewise.
64472         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64473         * sysdeps/x86_64/sysdep.h: Likewise.
64475 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
64477         [BZ #13553]
64478         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
64479         for non-gcc.
64480         * argp/argp-fmtstream.h: Use const instead __const.
64481         * argp/argp.h: Likewise.
64482         * assert/assert.h: Likewise.
64483         * bits/fenv.h: Likewise.
64484         * bits/sched.h: Likewise.
64485         * bits/sigset.h: Likewise.
64486         * bits/sigthread.h: Likewise.
64487         * catgets/nl_types.h: Likewise.
64488         * conform/data/pthread.h-data: Likewise.
64489         * crypt/crypt-private.h: Likewise.
64490         * crypt/crypt.h: Likewise.
64491         * crypt/crypt_util.c: Likewise.
64492         * ctype/ctype.h: Likewise.
64493         * debug/execinfo.h: Likewise.
64494         * debug/mbsnrtowcs_chk.c: Likewise.
64495         * debug/mbsrtowcs_chk.c: Likewise.
64496         * debug/wcsnrtombs_chk.c: Likewise.
64497         * debug/wcsrtombs_chk.c: Likewise.
64498         * debug/wcstombs_chk.c: Likewise.
64499         * dirent/dirent.h: Likewise.
64500         * dlfcn/dlfcn.h: Likewise.
64501         * elf/neededtest4.c: Likewise.
64502         * grp/grp.h: Likewise.
64503         * gshadow/gshadow.h: Likewise.
64504         * iconv/gconv.h: Likewise.
64505         * iconv/gconv_int.h: Likewise.
64506         * iconv/gconv_simple.c: Likewise.
64507         * iconv/iconv.h: Likewise.
64508         * iconv/loop.c: Likewise.
64509         * iconv/skeleton.c: Likewise.
64510         * include/aio.h: Likewise.
64511         * include/aliases.h: Likewise.
64512         * include/argz.h: Likewise.
64513         * include/arpa/inet.h: Likewise.
64514         * include/assert.h: Likewise.
64515         * include/dirent.h: Likewise.
64516         * include/dlfcn.h: Likewise.
64517         * include/execinfo.h: Likewise.
64518         * include/fcntl.h: Likewise.
64519         * include/fenv.h: Likewise.
64520         * include/glob.h: Likewise.
64521         * include/grp.h: Likewise.
64522         * include/libintl.h: Likewise.
64523         * include/mntent.h: Likewise.
64524         * include/netdb.h: Likewise.
64525         * include/pwd.h: Likewise.
64526         * include/rpc/netdb.h: Likewise.
64527         * include/sched.h: Likewise.
64528         * include/search.h: Likewise.
64529         * include/shadow.h: Likewise.
64530         * include/signal.h: Likewise.
64531         * include/stdio.h: Likewise.
64532         * include/stdlib.h: Likewise.
64533         * include/string.h: Likewise.
64534         * include/sys/socket.h: Likewise.
64535         * include/sys/stat.h: Likewise.
64536         * include/sys/statfs.h: Likewise.
64537         * include/sys/statvfs.h: Likewise.
64538         * include/sys/syslog.h: Likewise.
64539         * include/sys/time.h: Likewise.
64540         * include/sys/uio.h: Likewise.
64541         * include/time.h: Likewise.
64542         * include/unistd.h: Likewise.
64543         * include/utmp.h: Likewise.
64544         * include/wchar.h: Likewise.
64545         * include/wctype.h: Likewise.
64546         * inet/aliases.h: Likewise.
64547         * inet/arpa/inet.h: Likewise.
64548         * inet/netinet/ether.h: Likewise.
64549         * inet/netinet/in.h: Likewise.
64550         * intl/libintl.h: Likewise.
64551         * io/bits/fcntl2.h: Likewise.
64552         * io/fcntl.h: Likewise.
64553         * io/ftw.h: Likewise.
64554         * io/sys/poll.h: Likewise.
64555         * io/sys/stat.h: Likewise.
64556         * io/sys/statfs.h: Likewise.
64557         * io/sys/statvfs.h: Likewise.
64558         * io/utime.h: Likewise.
64559         * libio/bits/stdio.h: Likewise.
64560         * libio/bits/stdio2.h: Likewise.
64561         * libio/libio.h: Likewise.
64562         * libio/libioP.h: Likewise.
64563         * libio/stdio.h: Likewise.
64564         * locale/lc-ctype.c: Likewise.
64565         * locale/locale.h: Likewise.
64566         * login/utmp.h: Likewise.
64567         * malloc/arena.c: Likewise.
64568         * malloc/malloc.c: Likewise.
64569         * malloc/malloc.h: Likewise.
64570         * malloc/mcheck.c: Likewise.
64571         * malloc/mtrace.c: Likewise.
64572         * math/bits/mathcalls.h: Likewise.
64573         * math/fenv.h: Likewise.
64574         * math/math_private.h: Likewise.
64575         * misc/bits/error.h: Likewise.
64576         * misc/bits/syslog.h: Likewise.
64577         * misc/err.h: Likewise.
64578         * misc/error.h: Likewise.
64579         * misc/fstab.h: Likewise.
64580         * misc/mntent.h: Likewise.
64581         * misc/regexp.h: Likewise.
64582         * misc/search.h: Likewise.
64583         * misc/sgtty.h: Likewise.
64584         * misc/sys/mman.h: Likewise.
64585         * misc/sys/syslog.h: Likewise.
64586         * misc/sys/uio.h: Likewise.
64587         * misc/sys/xattr.h: Likewise.
64588         * misc/ttyent.h: Likewise.
64589         * nis/rpcsvc/ypclnt.h: Likewise.
64590         * nss/nss.h: Likewise.
64591         * posix/bits/unistd.h: Likewise.
64592         * posix/fnmatch.h: Likewise.
64593         * posix/glob.h: Likewise.
64594         * posix/sched.h: Likewise.
64595         * posix/spawn.h: Likewise.
64596         * posix/sys/wait.h: Likewise.
64597         * posix/unistd.h: Likewise.
64598         * posix/wordexp.h: Likewise.
64599         * pwd/pwd.h: Likewise.
64600         * resolv/netdb.h: Likewise.
64601         * resource/sys/resource.h: Likewise.
64602         * rt/aio.h: Likewise.
64603         * rt/bits/mqueue2.h: Likewise.
64604         * rt/mqueue.h: Likewise.
64605         * shadow/shadow.h: Likewise.
64606         * signal/signal.h: Likewise.
64607         * socket/send.c: Likewise.
64608         * socket/sendto.c: Likewise.
64609         * socket/sys/socket.h: Likewise.
64610         * stdio-common/printf.h: Likewise.
64611         * stdlib/bits/stdlib.h: Likewise.
64612         * stdlib/fmtmsg.h: Likewise.
64613         * stdlib/monetary.h: Likewise.
64614         * stdlib/stdlib.h: Likewise.
64615         * stdlib/ucontext.h: Likewise.
64616         * streams/stropts.h: Likewise.
64617         * string/argz.h: Likewise.
64618         * string/bits/string2.h: Likewise.
64619         * string/string.h: Likewise.
64620         * string/strings.h: Likewise.
64621         * sunrpc/rpc/auth.h: Likewise.
64622         * sunrpc/rpc/auth_des.h: Likewise.
64623         * sunrpc/rpc/clnt.h: Likewise.
64624         * sunrpc/rpc/netdb.h: Likewise.
64625         * sunrpc/rpc/pmap_clnt.h: Likewise.
64626         * sunrpc/rpc/xdr.h: Likewise.
64627         * sysdeps/generic/inttypes.h: Likewise.
64628         * sysdeps/generic/net/if.h: Likewise.
64629         * sysdeps/generic/sys/swap.h: Likewise.
64630         * sysdeps/gnu/net/if.h: Likewise.
64631         * sysdeps/gnu/utmpx.h: Likewise.
64632         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
64633         * sysdeps/i386/i486/bits/string.h: Likewise.
64634         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
64635         * sysdeps/s390/bits/string.h: Likewise.
64636         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
64637         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
64638         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
64639         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
64640         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
64641         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
64642         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
64643         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
64644         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
64645         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
64646         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
64647         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
64648         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
64649         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
64650         * sysdeps/unix/sysv/linux/readv.c: Likewise.
64651         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
64652         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
64653         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64654         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
64655         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
64656         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
64657         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
64658         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
64659         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
64660         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
64661         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
64662         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
64663         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64664         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
64665         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
64666         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
64667         * sysvipc/sys/ipc.h: Likewise.
64668         * sysvipc/sys/msg.h: Likewise.
64669         * sysvipc/sys/sem.h: Likewise.
64670         * sysvipc/sys/shm.h: Likewise.
64671         * termios/termios.h: Likewise.
64672         * time/sys/time.h: Likewise.
64673         * time/time.h: Likewise.
64674         * wcsmbs/bits/wchar2.h: Likewise.
64675         * wcsmbs/uchar.h: Likewise.
64676         * wcsmbs/wchar.h: Likewise.
64677         * wctype/wctype.h: Likewise.
64679         [BZ #13551]
64680         * Makeconfig: Remove all but ELF support including AIX support.
64681         * Makerules: Likewise.
64682         * config.h.in: Likewise.
64683         * config.make.in: Likewise.
64684         * configure: Likewise.
64685         * configure.in: Likewise.
64686         * csu/Makefile: Likewise.
64687         * csu/version.c: Likewise.
64688         * debug/Makefile: Likewise.
64689         * dlfcn/Makefile: Likewise.
64690         * elf/Makefile: Likewise.
64691         * extra-lib.mk: Likewise.
64692         * iconv/Makefile: Likewise.
64693         * include/libc-symbols.h: Likewise.
64694         * include/shlib-compat.h: Likewise.
64695         * resolv/Makefile: Likewise.
64696         * resolv/res_libc.c: Likewise.
64697         * rt/Makefile: Likewise.
64698         * sysdeps/i386/asm-syntax.h: Likewise.
64699         * sysdeps/i386/sysdep.h: Likewise.
64700         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64701         * sysdeps/mach/sysdep.h: Likewise.
64702         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
64703         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
64704         * sysdeps/s390/asm-syntax.h: Likewise.
64705         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64706         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64707         * sysdeps/sh/sysdep.h: Likewise.
64708         * sysdeps/unix/sparc/sysdep.h: Likewise.
64709         * sysdeps/wordsize-32/divdi3.c: Likewise.
64710         * sysdeps/x86_64/sysdep.h: Likewise.
64712         * argp/Versions: Remove _argp_unlock_xxx.
64714         [BZ #13559]
64715         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
64716         * abilist/libBrokenLocale.abilist: Likewise.
64717         * abilist/libanl.abilist: Likewise.
64718         * abilist/libc.abilist: Likewise.
64719         * abilist/libcrypt.abilist: Likewise.
64720         * abilist/libdl.abilist: Likewise.
64721         * abilist/libm.abilist: Likewise.
64722         * abilist/libnsl.abilist: Likewise.
64723         * abilist/libpthread.abilist: Likewise.
64724         * abilist/libresolv.abilist: Likewise.
64725         * abilist/librt.abilist: Likewise.
64726         * abilist/libthread_db.abilist: Likewise.
64727         * abilist/libutil.abilist: Likewise.
64728         * abilist/libnss_db.abilist: New file.
64730         * scripts/abilist.awk: Add support for indirect functions.
64732         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
64734         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
64736         * shlib-versions: Remove entries for ports architectures.
64738         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
64739         files in ports.
64740         * elf/stackguard-macros.h: Remove support for IA-64.
64741         * elf/tst-auditmod1.c: Likewise.
64742         * sysdeps/generic/ldsodefs.h: Likewise.
64744         * sysdeps/unix/sysv/linux/configure.in: Ports should define
64745         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
64746         configure files.
64748         [BZ #13552]
64749         * configure.in: Remove --enable-omitfp support.
64750         * FAQ.in: Adjust.
64751         * config.make.in: Likewise.
64752         * Makeconfig: Likewise.
64753         * manual/install.texi: Likewise.
64755         In case anyone cares, the IA-64 architecture could move to ports.
64756         * sysdeps/ia64/*: Removed.
64757         * sysdeps/unix/sysv/linux/ia64/*: Removed.
64758         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
64760         [BZ #13555]
64761         * configure.in: Remove entries for unsupported architectures.
64763         [BZ #13533]
64764         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
64765         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
64766         routines.
64767         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
64768         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
64769         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
64770         fall back to using wcrtomb.
64771         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
64772         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
64773         renaming.
64774         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
64775         * wcsmbs/tst-c16c32-1.c: New file.
64777         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
64778         local variable.
64780         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
64782         * elf/tst-unique3.cc: Add explicit declaration of gets.
64783         * elf/tst-unique3lib.cc: Likewise.
64784         * elf/tst-unique3lib2.cc: Likewise.
64785         * elf/tst-unique4.cc: Likewise.
64787         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
64789 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
64791         [BZ #13566]
64792         * assert/assert.h (static_assert): Don't define for C++.
64793         * libio/stdio.h (gets): Do declare for C++ <= C++11.
64794         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
64796 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
64798         * iconv/loop.c (single loop): Fix assertion in storing of
64799         remaining bytes.
64801         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
64803 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
64805         * posix/getconf.c: Update copyright year.
64806         * nss/getent.c: Likewise.
64807         * nss/makedb.c: Likewise.
64808         * iconv/iconvconfig.c: Likewise.
64809         * iconv/iconv_prog.c: Likewise.
64810         * elf/ldconfig.c: Likewise.
64811         * elf/pldd.c: Likewise.
64812         * elf/sotruss.ksh: Likewise.
64813         * catgets/gencat.c: Likewise.
64814         * csu/version.c: Likewise.
64815         * elf/ldd.bash.in: Likewise.
64816         * elf/sprof.c (print_version): Likewise.
64817         * locale/programs/locale.c: Likewise.
64818         * locale/programs/localedef.c: Likewise.
64819         * login/programs/pt_chown.c: Likewise.
64820         * nscd/nscd.c (print_version): Likewise.
64821         * debug/xtrace.sh: Likewise.
64822         * malloc/memusage.sh: Likewise.
64823         * malloc/mtrace.pl: Likewise.
64824         * debug/catchsegv.sh: Likewise.
64826 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
64828         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
64829         pure attribute.
64831 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
64833         [BZ #13533]
64834         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
64835         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
64836         transformations.
64837         * iconv/gconv_int.h: Likewise.
64838         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
64839         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
64840         from libc for GLIBC_2.16.
64841         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
64842         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
64843         * wcsmbs/uchar.h: Really define mbstate_t.
64844         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
64845         * wcsmbs/c16rtomb.c: New file.
64846         * wcsmbs/mbrtoc16.c: New file.
64847         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
64848         for C/POSIX locale.
64849         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
64850         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
64852         * wcsmbs/wchar.h: Add missing __restrict.
64854 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
64856         [BZ #13532]
64857         * time/Makefile (routines): Add timespec_get.
64858         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
64859         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
64860         timespec for ISO C11.
64861         * time/timespec_get.c: New file.
64862         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
64863         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
64865         [BZ #13531]
64866         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
64867         * stdlib/stdlib.h: Declare aligned_alloc.
64868         * Versions.def: Add GLIBC_2.16 for libc.
64869         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
64871         [BZ 13527]
64872         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
64873         ISO C11.
64875         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
64876         code.
64878         [BZ #13528]
64879         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
64881         [BZ #13529]
64882         * assert/assert.h (static_assert): Define.
64884         * version.h: Update for 2.16 development version.
64886         [BZ #13526]
64887         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
64888         _ISOC11_SOURCE.
64890         * version.h (RELEASE): Bump for 2.15 release.
64891         * include/features.h (__GLIBC_MINOR__): Bump to 15.
64893         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
64894         Patch by Marek Polacek <mpolacek@redhat.com>.
64896         * bits/byteswap.h: Protect long long constants with __extension__.
64897         * sysdeps/i386/bits/byteswap.h: Likewise.
64898         * sysdeps/ia64/bits/byteswap.h: Likewise.
64899         * sysdeps/s390/bits/byteswap.h: Likewise.
64900         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64902 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64904         [BZ #13540]
64905         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
64906         destination buffer.
64907         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
64909 2011-12-23  Marek Polacek  <polacek@redhat.com>
64911         * elf/dl-addr.c (determine_info): Add inline keyword.
64912         * elf/tst-auditmod4b.c (check_avx): Likewise.
64913         * elf/tst-auditmod6b.c (check_avx): Likewise.
64914         * elf/tst-auditmod6c.c (check_avx): Likewise.
64915         * elf/tst-auditmod7b.c (check_avx): Likewise.
64917 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
64919         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
64920         !__SSE_MATH__.
64922 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64924         [BZ #13540]
64925         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
64926         processing for last bytes.
64928 2011-08-06  Bruno Haible  <bruno@clisp.org>
64930         [BZ #13061]
64931         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
64932         U+0385, not to U+1FEE.
64934         [BZ #13062]
64935         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
64936         entry for U+00A5 U+0301.
64938 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
64940         [BZ #13166]
64941         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
64942         buffer for the output is too small.
64944         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
64945         optimization.
64947         [BZ #13185]
64948         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
64949         SSE flags if possible.
64951 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64953         [BZ #13540]
64954         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
64955         processing for last bytes.
64957 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
64959         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
64960         (syscall-list-default-options, syscall-list-default-condition)
64961         (syscall-list-includes): Define.
64962         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
64963         list of ABIs and options and #if conditions for each ABI.  Do not
64964         handle common syscalls between ABIs specially.
64965         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
64966         Remove.
64967         (syscall-list-variants, syscall-list-32bit-options)
64968         (syscall-list-32bit-condition, syscall-list-64bit-options)
64969         (syscall-list-64bit-condition): Define.
64970         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
64971         (syscall-list-variants, syscall-list-32bit-options)
64972         (syscall-list-32bit-condition, syscall-list-64bit-options)
64973         (syscall-list-64bit-condition): Define.
64974         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
64975         Remove.
64976         (syscall-list-variants, syscall-list-32bit-options)
64977         (syscall-list-32bit-condition, syscall-list-64bit-options)
64978         (syscall-list-64bit-condition): Define.
64979         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
64980         Remove.
64981         (syscall-list-variants, syscall-list-32bit-options)
64982         (syscall-list-32bit-condition, syscall-list-64bit-options)
64983         (syscall-list-64bit-condition): Define.
64985 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
64987         * locale/iso-639.def: Add brx entry.
64989         [BZ #13328]
64990         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
64991         Proposed by Mariusz_Cukr <marcukr@op.pl>.
64993         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
64994         __feraiseexcept_renamed.
64996 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
64998         [BZ #13538]
64999         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
65000         EPOLLET with unsigned values.
65001         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65002         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65004         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
65005         to large cancellation.
65006         * math/s_cacoshf.c: Likewise.
65007         * math/s_cacoshl.c: Likewise.
65009 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
65011         [BZ #13305]
65012         [BZ #12786]
65013         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
65014         * math/s_cacoshf.c: Likewise.
65015         * math/s_cacoshl.c: Likewise.
65017 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
65019         [BZ #13439]
65020         * iconv/gconv.h: Define __GCONV_SWAP.
65021         * iconvdata/unicode.c: The swap bit must be stored in __flags.
65022         * iconvdata/utf-16.c: Likewise.
65023         * iconvdata/utf-32.c: Likewise.
65025 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
65027         [BZ #13524]
65028         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
65029         numerator after shifting it by one limb.
65031 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
65033         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
65034         under [__USE_EXTERN_INLINES].
65036 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65038         [BZ #13446]
65039         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
65041 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65043         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
65044         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
65045         optimized code.
65046         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
65047         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
65048         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
65049         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
65050         for strncasecmp/strncasecmp_l compilation.
65051         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
65052         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
65054 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
65056         [BZ #13484]
65057         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
65058         of __asm__.
65060 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65062         [BZ #13506]
65063         * time/tzfile.c (__tzfile_read): Check values from file header.
65065 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
65067         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
65068         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
65069         * powerpc/powerpc32/dl-start.S: Likewise.
65070         * powerpc/powerpc32/elf/start.S: Likewise.
65071         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
65072         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
65073         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
65074         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
65075         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65076         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
65077         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
65078         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65079         * powerpc/powerpc32/fpu/s_round.S: Likewise.
65080         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65081         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65082         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65083         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
65084         * powerpc/powerpc32/memset.S: Likewise.
65085         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65086         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65087         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65088         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65089         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65090         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
65091         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
65092         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
65093         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
65094         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
65095         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
65096         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65097         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65099 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65101         * math/libm-test.inc: Added more nearbyint tests.
65102         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
65103         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
65104         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
65105         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
65107 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
65109         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
65110         FD_CLOEXEC.
65112 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65114         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
65115         Add wcscpy-ssse3 wcscpy-c.
65116         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
65117         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
65118         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
65119         * sysdeps/x86_64/wcschr.S: New file.
65120         * sysdeps/x86_64/wcsrchr.S: New file.
65121         * string/test-strcmp.c: Remove checking of wcscmp function for
65122         wrong alignments.
65123         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
65124         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
65125         wcsrchr-sse2 wcsrchr-c.
65126         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
65127         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
65128         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
65129         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
65130         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
65131         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
65132         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
65133         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
65134         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
65135         * wcsmbc/wcschr.c (WCSCHR): New macro.
65137 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65139         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
65140         * wcsmbs/test-wcsrchr.c: New file.
65141         * string/test-strrchr.c: Add wcsrchr support.
65142         (WIDE): New macro.
65143         * wcsmbs/test-wcscpy.c: New file.
65144         * string/test-strcpy.c: Add wcscpy support.
65145         (WIDE): New macro.
65147 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
65149         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
65150         the inner loop.
65152 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
65154         [BZ #13472]
65155         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
65157 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
65159         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
65160         Minor optimizations.
65162         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
65163         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
65164         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
65166 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
65168         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
65169         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
65170         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
65171         for gcc to avoid warnings.
65172         * inet/Makefile (tests): Add tst-checks.
65173         * inet/tst-checks.c: New file.
65175         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
65176         warning.
65178         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
65179         __wmemcmp_sse2.
65181         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
65182         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
65184         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
65186 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
65188         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
65189         problem.
65191         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
65193 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
65195         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
65196         conditional on GCC version.
65197         (__arch_compare_and_exchange_val_8_acq)
65198         (__arch_compare_and_exchange_val_16_acq)
65199         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
65200         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
65201         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
65203 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
65205         * sysdeps/sh/backtrace.c: New file.
65207 2011-12-02  Andreas Schwab  <schwab@redhat.com>
65209         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
65210         parenthesis.
65212 2011-12-01  Andreas Schwab  <schwab@redhat.com>
65214         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
65215         falling back to utime.
65217 2011-11-30  Andreas Schwab  <schwab@redhat.com>
65219         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
65220         expectations for float.
65222 2011-11-29  Andreas Schwab  <schwab@redhat.com>
65224         * locale/weight.h (findidx): Add parameter len.
65225         * locale/weightwc.h (findidx): Likewise.
65226         * posix/fnmatch_loop.c (FCT): Adjust caller.
65227         * posix/regcomp.c (build_equiv_class): Likewise.
65228         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
65229         * posix/regexec.c (check_node_accept_bytes): Likewise.
65230         * string/strcoll_l.c (STRCOLL): Likewise.
65231         * string/strxfrm_l.c (STRXFRM): Likewise.
65233 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
65235         * Makefile.in: Remove CVSOPT handling.
65236         * configure.in: Remove use of AC_REVISION.
65237         * iconvdata/Makefile (distribute): No need to filter out CVS.
65238         * scripts/list-sources.sh: Remove CVS, subversion and monotone
65239         handling.
65241 2011-11-16  Andreas Schwab  <schwab@redhat.com>
65243         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
65244         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
65245         [USE_AS_STRNCASECMP_L]: Likewise.
65246         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
65247         NO_TLS_DIRECT_SEG_REFS.
65248         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
65249         Fix argument offsets for non-PIC.
65250         [USE_AS_STRNCASECMP_L]: Likewise.
65251         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
65252         NO_TLS_DIRECT_SEG_REFS.
65254 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65256         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
65257         O_CLOEXEC.
65258         * locale/loadlocale.c (_nl_load_locale): Likewise.
65260 2011-11-15  Andreas Schwab  <schwab@redhat.com>
65262         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
65263         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
65264         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
65265         (SYSCALL_GETTIME): Set errno on error.
65267         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
65268         count references to noai6ai_cached.
65270 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65272         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
65274         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
65275         FD_CLOEXEC for /proc/self/maps.
65277         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
65278         FD_CLOEXEC for /proc/meminfo.
65280         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
65281         gai.conf.
65283         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
65284         FD_CLOEXEC for given file.
65286         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
65288         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
65289         FD_CLOEXEC for /etc/hosts.
65290         (_gethtent): Likewise.
65292         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
65294         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
65295         cancellation and set FD_CLOEXEC for /etc/netgroup.
65297         * nss/nss_files/files-key.c (search): Don't allow cancellation when
65298         reading /etc/publickey.
65300         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
65301         allow cancellation when reading /etc/group.
65303         * nss/nss_files/files-alias.c (internal_setent): Don't allow
65304         cancellation.
65305         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
65307         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
65308         when using data file.
65310         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
65312         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
65313         (write_nis_obj): Use "c" and "e" in fopen.
65315         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
65317         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
65319         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
65321         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
65323         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
65324         locale.alias.
65326         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
65328         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
65330         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
65332         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
65333         file parsing and set FD_CLOEXEC.
65335 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65337         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
65339 2011-11-14  Andreas Schwab  <schwab@redhat.com>
65341         * malloc/arena.c (arena_get2): Don't call reused_arena when
65342         _int_new_arena failed.
65344 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65346         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
65347         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
65348         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
65349         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65350         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65351         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
65352         to compile strcasecmp and strncasecmp.
65353         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
65354         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
65356         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
65358 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
65360         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
65361         locale-defines.sym to gen-as-const-headers.
65362         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
65363         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
65364         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
65365         to compile strcasecmp and strncasecmp.
65366         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
65367         strcasecmp_l and strncasecmp_l.
65368         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
65369         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
65370         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
65371         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
65372         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
65373         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
65374         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
65375         * sysdeps/i386/i686/multiarch/strncase.S: New file.
65376         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
65377         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
65378         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
65380 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
65382         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
65383         result of SYSDEP_GETTIME_CPU to retval.
65384         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
65385         parameter list to macro.  Remove trailing semicolon.  Adjust users.
65387         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
65388         variable.
65390         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
65391         mantissa words.
65392         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
65394         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
65395         from unused variable.
65397         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
65398         DWARF definitions.
65399         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
65400         for assembling.
65402         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
65403         over namespaces.
65405         * sunrpc/rpc_prot.c (rejected): Fix case value.
65407         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
65408         unsigned long long int to avoid warnings in shift.
65410         * posix/regex_internal.c (re_string_reconstruct): Actually use result
65411         of use of trans.
65412         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
65413         variable tmp.
65415         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
65416         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
65417         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
65419         * nis/nis_table.c (nis_list): Use variable of correct type for
65420         result of __follow_path call.
65422 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65424         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
65425         of math functions ceil, trunc, floor, round, and sqrt, when
65426         avaliable on the platform.
65427         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
65428         name clash.
65429         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65430         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65431         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65433 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
65435         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
65436         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65438 2011-11-11  Roland McGrath  <roland@hack.frob.com>
65440         * include/unistd.h: Fix __readlink return type.
65441         Reported by Chris Metcalf <cmetcalf@tilera.com>.
65443 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
65445         * stdlib/ucontext.h: Undo last change for makecontext.
65447 2011-11-11  Andreas Schwab  <schwab@redhat.com>
65449         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
65451         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
65452         * setjmp/setjmp.h: Mark functions as non-leaf.
65453         * setjmp/bits/setjmp2.h: Likewise.
65454         * stdlib/ucontext.h: Likewise.
65456 2011-11-10  Andreas Schwab  <schwab@redhat.com>
65458         * malloc/arena.c (_int_new_arena): Don't increment narenas.
65459         (reused_arena): Don't check arena limit.
65460         (arena_get2): Atomically check arena limit.
65462 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
65464         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
65465         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
65467         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
65468         instructions.
65470 2011-11-07  Andreas Schwab  <schwab@redhat.com>
65472         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
65473         handler when locking.
65475         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65476         Fix size of allocated buffer.
65478 2011-11-04  Andreas Schwab  <schwab@redhat.com>
65480         [BZ #10103]
65481         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
65482         declarations for long double functions.
65483         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
65485         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
65487 2011-11-03  Andreas Schwab  <schwab@redhat.com>
65489         * nscd/nscd.c (main): Don't start AVC thread until credentials are
65490         installed.
65492         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
65493         is disabled.
65495 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65497         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
65499 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
65501         * include/alloca.h (stackinfo_alloca_round): Define.
65502         (extend_alloca): Use it.
65503         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
65504         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
65505         here.
65507         * scripts/check-local-headers.sh: Ignore libaudit.h.
65509         * nscd/Makefile (extra-objs): Make recursively expanded.
65511 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
65513         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
65514         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
65516         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
65517         * posix/tst-rfc3484-2.c: Likewise.
65518         * posix/tst-rfc3484-3.c: Likewise.
65520         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
65521         process_vm_writev.
65522         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
65523         process_vm_writev.
65524         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
65525         process_vm_writev from libc using GLIBC_2.15 version.
65527         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
65529 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
65531         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
65532         stack usage.
65534 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
65536         [BZ #13367]
65537         * nss/getent.c (initgroups_keys): Show error message in case no group
65538         names are given.
65540         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
65541         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
65542         __bump_nl_timestamp.
65543         * nscd/connections (nscd_init): When host database is served open
65544         netlink socket and request notification about configuration changes.
65545         (main_loop_poll): Track netlink file descriptor and bump timestamp
65546         in case data becomes available.
65547         (main_loop_epoll): Likewise.
65548         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
65549         (database_pers_head): Add extra_data fileds.
65550         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
65551         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
65552         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
65553         Adjust caller.
65554         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
65555         in6ai data, call __free_in6ai.
65556         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
65557         Add -DHAVE_NETLINK.
65558         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
65559         interface information.  Reuse previous data if netlink timestamp
65560         is not changed.
65561         (__bump_nl_timestamp): New function.
65562         (__free_in6ai): New function.
65564 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
65566         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
65567         close_not_cancel_no_status here.
65568         (__check_pf): Reorganize code a bit to not call close twice if OOM.
65570 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
65572         [BZ #13276]
65573         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
65574         return value.
65576         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
65577         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
65578         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
65580 2011-07-03  Andreas Jaeger  <aj@suse.de>
65582         [BZ #10709]
65583         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
65584         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
65585         * math/libm-test.inc (sin_test): Add test case.
65587 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
65589         [BZ #13337]
65590         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
65591         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65593         * elf/chroot_canon.c (chroot_canon): Cleanups.
65595         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
65597         [BZ #13335]
65598         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
65599         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65601         * string/test-strchr.c: Make usable for strchrnul testing.
65602         * string/test-strchrnul.c: New file.
65603         * string/Makefile (strop-tests): Add strchrnul.
65605         * po/it.po: Update from translation team.
65606         * po/es.po: Likewise.
65608 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
65610         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
65611         the three constants needed as parameters.  Drop the others.
65612         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
65613         __m128i_strloadu_tolower.
65614         Create and initialize variable zero and use it in all the places
65615         where _mm_setzero_si128 was used.
65617         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
65618         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
65619         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
65620         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
65621         anymore.
65622         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
65623         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
65624         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
65625         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
65626         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
65627         __mpranred, __mptan.
65628         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
65629         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
65630         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
65631         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
65632         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
65633         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
65634         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
65635         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
65636         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
65638 2011-10-28  Andreas Schwab  <schwab@redhat.com>
65640         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
65641         redefine if SHARED.
65642         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
65644         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
65645         wide char related routines to wcsmbs subdir.
65647 2011-10-27  Andreas Schwab  <schwab@redhat.com>
65649         [BZ #13344]
65650         * misc/sys/cdefs.h (__THROWNL): Define.
65651         * posix/unistd.h: Use __THREADNL instead of __THREAD
65652         for memory synchronization functions.
65654 2011-10-26  Roland McGrath  <roland@hack.frob.com>
65656         [BZ #13349]
65657         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
65658         doesn't exist.
65659         * manual/stdio.texi (Obstack Streams): Node removed.
65661 2011-10-26  Andreas Schwab  <schwab@redhat.com>
65663         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
65664         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65665         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65667         * math/math_private.h (math_force_eval): Allow non-addressable
65668         arguments.
65669         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
65671 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65673         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
65674         file is not needed.
65676         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
65677         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
65678         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65679         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65680         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65681         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65682         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65683         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
65684         Add AVX variants.
65685         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
65686         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
65687         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
65688         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
65689         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
65690         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
65691         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
65692         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
65693         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
65694         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
65695         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
65696         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
65697         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
65698         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
65699         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
65700         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
65701         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
65702         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
65703         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
65705         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
65706         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
65708         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
65709         place.  Use VEX encoding when compiling for AVX.
65711 2011-10-25  Andreas Schwab  <schwab@redhat.com>
65713         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
65714         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65716         * string/test-strchr.c (do_test): Don't generate NUL bytes.
65718 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65720         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
65721         useless if() expression.
65722         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65723         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65724         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65725         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65726         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
65727         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65728         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65729         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65730         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65731         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65732         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65733         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65734         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
65735         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65736         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
65737         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65738         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65739         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65740         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
65742         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
65744 2011-10-25  Andreas Schwab  <schwab@redhat.com>
65746         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
65747         condition.
65748         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65750 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65752         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
65753         .text section.  Avoid duplicate constants.
65754         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65755         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65756         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65757         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65758         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65759         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65760         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65761         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65762         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65763         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
65764         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65765         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65766         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65767         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65768         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
65769         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65770         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
65771         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65772         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65773         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65774         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65775         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65776         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65777         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
65778         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
65779         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
65780         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
65781         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
65782         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
65783         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
65784         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
65785         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
65786         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65787         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
65788         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
65789         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
65790         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
65791         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
65792         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
65793         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
65794         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
65795         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
65796         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
65797         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
65798         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
65800 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
65802         * sysdeps/x86_64/dla.h: Move to ...
65803         * sysdeps/x86_64/fpu/dla.h: ...here.
65804         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
65805         situations.  Use __builtin_fma only for gcc 4.6 and up.
65807         * config.make.in: Add have-mfma4 entry.
65808         * configure.in: Substitute libc_cv_cc_fma4.
65809         * math/Makefile (dbl-only-routines): Add sincostab.
65810         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
65811         Use __sincostab not sincos.
65812         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
65813         name is a macro.
65814         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65815         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65816         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65817         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
65818         using __copysign.
65819         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
65820         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
65821         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
65822         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
65823         and __inv.
65824         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
65825         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
65826         __copysign.
65827         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
65828         define aliases when function name is a macro.
65829         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
65830         sysdeps/ieee754/dbl-64/sincos.tbl.
65831         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
65832         fma4-enabled routines.
65833         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
65834         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
65835         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
65836         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
65837         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
65838         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
65839         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
65840         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
65841         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
65842         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
65843         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
65844         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
65845         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
65846         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
65847         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
65848         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
65849         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
65850         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
65851         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
65852         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
65853         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
65854         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
65855         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
65856         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
65857         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
65858         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
65859         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
65860         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
65861         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
65862         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
65864         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
65865         rename.
65866         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65867         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65868         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65869         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65870         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65871         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65872         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65873         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65875 2011-10-24  Andreas Schwab  <schwab@redhat.com>
65877         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
65879 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65881         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
65883         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
65884         prediction.
65885         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
65887         * string/strnlen.c: Don't define STRNLEN, reverse logic.
65888         Remove unused variable magic_bits.
65889         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
65891         * string/strnlen.c: Define and use STRNLEN macro.
65892         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
65893         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
65894         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
65895         * wcsmbs/wcslen.c: Define and use WCSLEN.
65896         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
65897         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
65898         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
65899         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
65900         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
65901         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
65902         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
65904 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65906         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65907         strnlen-sse2-no-bsf.
65908         Rename strlen-no-bsf to strlen-sse2-no-bsf.
65909         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
65910         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
65911         Add strnlen support.
65912         (USE_AS_STRNLEN): New macro.
65913         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
65914         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
65915         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
65916         * sysdeps/x86_64/wcslen.S: New file.
65918 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
65920         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65921         XMM-moves are used for copying on small sizes.
65923 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65925         * wcsmbs/Makefile (strop-tests): Add wcschr.
65926         * wcsmbs/test-wcschr.c: New file.
65927         * string/test-strchr.c: Update.
65928         Add wcschr support.
65929         (WIDE): New macro.
65931 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65933         * wcsmbs/Makefile (strop-tests): Add wcslen.
65934         * wcsmbs/test-wcslen.c: New file.
65935         * string/test-strlen.c: Update.
65936         Add wcslen support.
65937         (WIDE): New macro.
65939 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65941         * po/it.po: Update from translation team.
65943 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65945         * sysdeps/x86_64/wcscmp.S: Update.
65946         Fix wrong comparison semantics.
65947         wcscmp shall use signed comparison not unsigned.
65948         Don't use substraction to avoid overflow bug.
65949         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
65950         * wcsmbc/wcscmp.c: Likewise.
65951         * string/test-strcmp.c: Likewise.
65952         Add new tests to check cases with negative values.
65954 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65956         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
65957         * sysdeps/x86_64/dla.h: ...here.  New file.
65958         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
65959         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65960         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65961         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65962         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65963         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65964         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65965         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65966         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65968 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
65970         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
65971         __ynl_finite aliases.
65973 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
65975         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65977         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
65978         define DLA_FMA.
65979         [DLA_FMA] (EMULV): Use DLA_FMA.
65980         [DLA_FMA] (MUL12): Use EMULV.
65981         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
65982         that are not needed.
65983         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65984         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65985         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65986         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65987         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65988         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65989         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65991 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
65993         * math/s_nan.c: Undef __nan.
65994         * math/s_nanf.c: Undef __nanf.
65995         * math/s_nanl.c: Undef __nanl.
65996         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
65997         "math_private.h".
65999 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
66001         * math/s_catan.c: Add branch predictions.
66002         * math/s_catanf.c: Likewise.
66003         * math/s_catanh.c: Likewise.
66004         * math/s_catanhf.c: Likewise.
66005         * math/s_catanhl.c: Likewise.
66006         * math/s_catanl.c: Likewise.
66007         * math/s_cexp.c: Likewise.
66008         * math/s_cexpf.c: Likewise.
66009         * math/s_cexpl.c: Likewise.
66010         * math/s_clog.c: Likewise.
66011         * math/s_clog10.c: Likewise.
66012         * math/s_clog10f.c: Likewise.
66013         * math/s_clog10l.c: Likewise.
66014         * math/s_clogf.c: Likewise.
66015         * math/s_clogl.c: Likewise.
66016         * math/s_csqrt.c: Likewise.
66017         * math/s_csqrtf.c: Likewise.
66018         * math/s_csqrtl.c: Likewise.
66019         * math/s_ctanf.c: Likewise.
66020         * math/s_ctanh.c: Likewise.
66021         * math/s_ctanhf.c: Likewise.
66022         * math/s_ctanhl.c: Likewise.
66023         * math/s_ctanl.c: Likewise.
66025         * math/math_private.h: Define __nan, __nanf, __nanl.
66026         * math/s_cacosh.c: Include <math_private.h>.
66027         * math/s_cacoshl.c: Likewise.
66028         * math/s_casinh.c: Likewise.
66029         * math/s_casinhf.c: Likewise.
66030         * math/s_casinhl.c: Likewise.
66031         * math/s_ccos.c: Rely entire on ccosh.
66032         * math/s_ccosf.c: Rely entire on ccoshf.
66033         * math/s_ccosl.c: Rely entirely on ccoshl.
66034         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
66035         Remove tests for FE_INVALID.
66036         * math/s_ccoshf.c: Likewise.
66037         * math/s_ccoshl.c: Likewise.
66038         * math/s_csin.c: Likewise.
66039         * math/s_csinf.c: Likewise.
66040         * math/s_csinh.c Likewise.
66041         * math/s_csinhf.c: Likewise.
66042         * math/s_csinhl.c: Likewise.
66043         * math/s_csinl.c: Likewise.
66044         * math/s_ctan.c: Likewise.
66045         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
66046         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
66047         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
66049 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
66051         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
66052         compilation problems.
66054         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
66055         __builtin_expect.
66057 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
66059         * sysdeps/i386/configure.in: Test for -mfma4 option.
66060         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
66061         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
66062         COMMON_CPUID_INDEX_80000001.
66063         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
66064         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
66065         use it if FMA3 is not supported.
66066         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
66068         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
66069         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
66071 2011-10-20  Andreas Schwab  <schwab@redhat.com>
66073         [BZ #12892]
66074         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
66075         it would create a cycle with a link time dependency.
66077 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
66079         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
66080         instruction.
66081         * string/Makefile (strop-tests): Add rawmemchr.
66082         * string/test-rawmemchr.c: New file.
66084         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
66085         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
66086         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
66087         when compiling str{,n}casecmp and when AVX is available.  Hook up
66088         new optimized code in initializers.
66090 2011-10-19  Andreas Schwab  <schwab@redhat.com>
66092         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
66093         __feraiseexcept instead of feraiseexcept.
66095 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
66097         * math/math_private.h: Define defaults for libc_fetestexcept and
66098         libc_feupdateenv.
66099         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
66100         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
66101         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66102         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66103         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66104         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66105         libc_fetestexcept and libc_feupdateenv.
66107         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
66108         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
66109         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
66110         * sysdeps/x86_64/fpu/math_private.h: Define special version of
66111         libc_feholdexcept_setround.
66113         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
66114         Add s_nearbyint-c and s_nearbyintf-c.
66115         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
66116         nearbyintf inlines.
66117         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
66118         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
66119         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
66120         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
66122         * math/math_private.h: Define defaults for libc_fegetround,
66123         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
66124         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
66125         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
66126         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
66127         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
66128         standard functions.
66129         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66130         Remove comments and hacks for old compiler versions.
66131         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66132         libc_fegetround, libc_fesetround, libc_feholdexcept, and
66133         libc_feholdexceptl.
66135 2011-10-18  Andreas Schwab  <schwab@redhat.com>
66137         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
66138         (__feraiseexcept_renamed): Add __NTH.
66139         (feraiseexcept): Add __NTH.  Rename local variables to fix
66140         namespace violations.
66142 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
66144         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
66146         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
66148         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
66149         recently added interfaces.
66150         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
66152         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
66153         about macro parameter expansion.
66155         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
66156         __NO_MATH_INLINES is defined.  Cleanups.
66158         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
66159         and __floorf is target has SSE4.1.
66160         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
66161         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
66162         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
66163         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
66165         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
66166         name.
66167         (floorf): Likewise.
66169         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
66171 2011-10-17  Andreas Schwab  <schwab@redhat.com>
66173         * misc/sys/cdefs.h: Fix last change.
66175         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
66176         database lookup.
66178 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
66180         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
66182         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
66183         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66184         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66185         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66186         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66187         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66188         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66189         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66190         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66191         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
66192         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
66193         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
66194         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
66195         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
66196         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
66197         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
66198         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
66199         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
66200         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
66201         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
66202         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
66203         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
66205         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
66206         ceil, ceilf, floor, floorf.
66208         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
66209         Perform IRELATIVE relocations last.
66211         * elf/do-rel.h: Add another parameter nrelative, replacing the
66212         local variable with the same name.  Change name of the function
66213         to end in Rel or Rela (uppercase).
66214         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
66215         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
66216         elf_dynamic_do_##reloc function.
66218 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66220         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
66221         is sufficient, at least on modern CPUs.
66223         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
66225         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
66226         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
66228         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
66229         __expl_finite.
66230         * math/bits/math-finite.h: Add entries for exp.
66231         * math/e_expl.c: Add __*_finite alias.
66232         * sysdeps/i386/fpu/e_exp.S: Likewise.
66233         * sysdeps/i386/fpu/e_expf.S: Likewise.
66234         * sysdeps/i386/fpu/e_expl.c: Likewise.
66235         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66236         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66237         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
66238         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
66239         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
66240         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66241         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66243         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
66244         is sufficient, at least on modern CPUs.
66246         * ctype/ctype-info.c (__ctype_init): Define.
66247         * include/ctype.h (__ctype_init): Declare.
66248         (__ctype_b_loc): The variable is always initialized.
66249         (__ctype_toupper_loc): Likewise.
66250         (__ctype_tolower_loc): Likewise.
66251         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
66252         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
66254 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
66256         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
66258         * configure.in: Also look in $cxxmachine/include for C++ system
66259         headers.
66261 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66263         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
66264         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
66265         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
66266         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
66267         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
66268         (USE_AS_WMEMCMP): New macro.
66269         Fixing indents.
66270         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
66271         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
66272         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
66273         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
66274         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66275         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
66276         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
66277         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
66278         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
66279         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
66280         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
66281         (USE_AS_WMEMCMP): New macro.
66282         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
66283         * sysdeps/string/test-memcmp.c: Update.
66284         Fix simple_wmemcmp.
66285         Add new tests.
66286         * wcsmbs/wmemcmp.c: Update.
66287         (WMEMCMP): New macro.
66288         Fix overflow bug.
66290 2011-10-12  Andreas Jaeger  <aj@suse.de>
66292         [BZ #13268]
66293         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
66295 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66297         * libio/iofwide.c (do_length): Avoid warning.
66299         * ctype/ctype.h (__isctype_f): Add missing __THROW.
66301 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
66303         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
66305         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
66306         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
66307         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
66308         * sysdeps/i386/i686/fpu/e_log.S: New file.
66309         * sysdeps/i386/i686/fpu/e_logf.S: New file.
66310         * sysdeps/i386/i686/fpu/e_logl.S: New file.
66312         * ctype/ctype.h: Add support for inlined isXXX functions when
66313         compiling C++ code.
66315 2011-10-14  Andreas Schwab  <schwab@redhat.com>
66317         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66319         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
66321 2011-10-13  Roland McGrath  <roland@hack.frob.com>
66323         [BZ #13291]
66324         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
66326 2011-10-13  Andreas Schwab  <schwab@redhat.com>
66328         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
66329         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
66330         feraiseexcept.
66332         * sysdeps/x86_64/memrchr.S: Check for zero size.
66334         * string/stratcliff.c: Add memrchr tests.
66336 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66338         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66339         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
66340         rawmemchr-sse2 rawmemchr-sse2-bsf.
66341         * sysdeps/i386/i686/multiarch/memchr.S: New file.
66342         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
66343         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
66344         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
66345         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
66346         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
66347         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
66348         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
66349         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
66350         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
66351         * string/memrchr.c (MEMRCHR): New macro.
66353 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
66355         Add integration with gcc's -ffinite-math-only and optimize wrapper
66356         functions in libm.
66357         * Versions.def: Define GLIBC_2.15 version for libm.
66358         * math/Makefile (headers): Add bits/math-finite.h.
66359         * math/bits/math-finite.h: New file.
66360         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
66361         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
66362         * math/e_acoshl.c: Add __*_finite alias.
66363         * math/e_acosl.c: Likewise.
66364         * math/e_asinl.c: Likewise.
66365         * math/e_atan2l.c: Likewise.
66366         * math/e_atanhl.c: Likewise.
66367         * math/e_coshl.c: Likewise.
66368         * math/e_exp10.c: Likewise.
66369         * math/e_exp10f.c: Likewise.
66370         * math/e_exp10l.c: Likewise.
66371         * math/e_exp2l.c: Likewise.
66372         * math/e_fmodl.c: Likewise.
66373         * math/e_gammal_r.c: Likewise.
66374         * math/e_hypotl.c: Likewise.
66375         * math/e_j0l.c: Likewise.
66376         * math/e_j1l.c: Likewise.
66377         * math/e_jnl.c: Likewise.
66378         * math/e_lgammal_r.c: Likewise.
66379         * math/e_log10l.c: Likewise.
66380         * math/e_log2l.c: Likewise.
66381         * math/e_logl.c: Likewise.
66382         * math/e_powl.c: Likewise.
66383         * math/e_sinhl.c: Likewise.
66384         * math/e_sqrtl.c: Likewise.
66385         * math/e_scalb.c: Completely rewritten and optimized.
66386         * math/e_scalbf.c: Likewise.
66387         * math/e_scalbl.c: Likewise.
66388         * math/w_acos.c: Likewise.
66389         * math/w_acosf.c: Likewise.
66390         * math/w_acosl.c: Likewise.
66391         * math/w_acosh.c: Likewise.
66392         * math/w_acoshf.c: Likewise.
66393         * math/w_acoshl.c: Likewise.
66394         * math/w_asin.c: Likewise.
66395         * math/w_asinf.c: Likewise.
66396         * math/w_asinl.c: Likewise.
66397         * math/w_atan2.c: Likewise.
66398         * math/w_atan2f.c: Likewise.
66399         * math/w_atan2l.c: Likewise.
66400         * math/w_atanh.c: Likewise.
66401         * math/w_atanhf.c: Likewise.
66402         * math/w_atanhl.c: Likewise.
66403         * math/w_exp10.c: Likewise.
66404         * math/w_exp10f.c: Likewise.
66405         * math/w_exp10l.c: Likewise.
66406         * math/w_fmod.c: Likewise.
66407         * math/w_fmodf.c: Likewise.
66408         * math/w_fmodl.c: Likewise.
66409         * math/w_j0.c: Likewise.
66410         * math/w_j0f.c: Likewise.
66411         * math/w_j0l.c: Likewise.
66412         * math/w_j1.c: Likewise.
66413         * math/w_j1f.c: Likewise.
66414         * math/w_j1l.c: Likewise.
66415         * math/w_jn.c: Likewise.
66416         * math/w_jnf.c: Likewise.
66417         * math/w_log.c: Likewise.
66418         * math/w_logf.c: Likewise.
66419         * math/w_logl.c: Likewise.
66420         * math/w_log10.c: Likewise.
66421         * math/w_log10f.c: Likewise.
66422         * math/w_log10l.c: Likewise.
66423         * math/w_log2.c: Likewise.
66424         * math/w_log2f.c: Likewise.
66425         * math/w_log2l.c: Likewise.
66426         * math/w_pow.c: Likewise.
66427         * math/w_powf.c: Likewise.
66428         * math/w_powl.c: Likewise.
66429         * math/w_remainder.c: Likewise.
66430         * math/w_remainderf.c: Likewise.
66431         * math/w_remainderl.c: Likewise.
66432         * math/w_scalb.c: Likewise.
66433         * math/w_scalbf.c: Likewise.
66434         * math/w_scalbl.c: Likewise.
66435         * math/w_sqrt.c: Likewise.
66436         * math/w_sqrtf.c: Likewise.
66437         * math/w_sqrtl.c: Likewise.
66438         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
66439         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
66440         used.
66441         * math/math_private.h: Declare __kernel_standard_f.
66442         * math/w_cosh.c: Remove cruft and optimize a bit.
66443         * math/w_coshf.c: Likewise.
66444         * math/w_coshl.c: Likewise.
66445         * math/w_exp2.c: Likewise.
66446         * math/w_exp2f.c: Likewise.
66447         * math/w_exp2l.c: Likewise.
66448         * math/w_hypot.c: Likewise.
66449         * math/w_hypotf.c: Likewise.
66450         * math/w_hypotl.c: Likewise.
66451         * math/w_lgamma.c: Likewise.
66452         * math/w_lgamma_r.c: Likewise.
66453         * math/w_lgammaf.c: Likewise.
66454         * math/w_lgammaf_r.c: Likewise.
66455         * math/w_lgammal.c: Likewise.
66456         * math/w_lgammal_r.c: Likewise.
66457         * math/w_sinh.c: Likewise.
66458         * math/w_sinhf.c: Likewise.
66459         * math/w_sinhl.c: Likewise.
66460         * math/w_tgamma.c: Likewise.
66461         * math/w_tgammaf.c: Likewise.
66462         * math/w_tgammal.c: Likewise.
66463         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66464         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66465         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
66466         Minor optimizations.  Pretty printing.  Remove cruft.
66467         * sysdeps/i386/fpu/e_acosf.S: Likewise.
66468         * sysdeps/i386/fpu/e_acosh.S: Likewise.
66469         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66470         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66471         * sysdeps/i386/fpu/e_acosl.c: Likewise.
66472         * sysdeps/i386/fpu/e_asin.S: Likewise.
66473         * sysdeps/i386/fpu/e_asinf.S: Likewise.
66474         * sysdeps/i386/fpu/e_atan2.S: Likewise.
66475         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
66476         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
66477         * sysdeps/i386/fpu/e_atanh.S: Likewise.
66478         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66479         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66480         * sysdeps/i386/fpu/e_exp10.S: Likewise.
66481         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
66482         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
66483         * sysdeps/i386/fpu/e_exp2.S: Likewise.
66484         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
66485         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
66486         * sysdeps/i386/fpu/e_fmod.S: Likewise.
66487         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
66488         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
66489         * sysdeps/i386/fpu/e_hypot.S: Likewise.
66490         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
66491         * sysdeps/i386/fpu/e_log.S: Likewise.
66492         * sysdeps/i386/fpu/e_log10.S: Likewise.
66493         * sysdeps/i386/fpu/e_log10f.S: Likewise.
66494         * sysdeps/i386/fpu/e_log10l.S: Likewise.
66495         * sysdeps/i386/fpu/e_log2.S: Likewise.
66496         * sysdeps/i386/fpu/e_log2f.S: Likewise.
66497         * sysdeps/i386/fpu/e_log2l.S: Likewise.
66498         * sysdeps/i386/fpu/e_logf.S: Likewise.
66499         * sysdeps/i386/fpu/e_logl.S: Likewise.
66500         * sysdeps/i386/fpu/e_pow.S: Likewise.
66501         * sysdeps/i386/fpu/e_powf.S: Likewise.
66502         * sysdeps/i386/fpu/e_powl.S: Likewise.
66503         * sysdeps/i386/fpu/e_remainder.S: Likewise.
66504         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
66505         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
66506         * sysdeps/i386/fpu/e_scalb.S: Likewise.
66507         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66508         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66509         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
66510         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
66511         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
66512         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66513         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66514         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66515         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66516         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66517         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66518         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
66519         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66520         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66521         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66522         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66523         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66524         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66525         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66526         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66527         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66528         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66529         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66530         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66531         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66532         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66533         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66534         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66535         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66536         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66537         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66538         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66539         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66540         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
66541         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66542         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66543         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66544         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66545         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66546         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66547         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66548         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66549         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66550         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66551         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66552         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66553         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66554         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66555         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66556         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66557         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66558         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66559         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66560         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66561         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
66562         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66563         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66564         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66565         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66566         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66567         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66568         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66569         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66570         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66571         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66572         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66573         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66574         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66575         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66576         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66577         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66578         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66579         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66580         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
66581         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66582         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66583         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66584         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66585         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66586         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66587         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66588         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66589         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66590         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66591         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66592         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66593         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66594         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
66595         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66596         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66597         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66598         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66599         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66600         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66601         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66602         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66603         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66604         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66605         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
66606         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66607         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66608         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66609         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
66610         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
66611         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
66612         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
66613         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
66614         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
66615         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
66616         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66617         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66618         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66619         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66620         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
66621         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66622         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
66623         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
66624         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
66625         (__isnanf): Likewise.
66626         (__isinf_ns): Likewise.
66627         (__isinf_nsf): Likewise.
66628         (__finite): Likewise.
66629         (__finitef): Likewise.
66630         (__ieee754_sqrt): Define as macro.
66631         (__ieee754_sqrtf): Define as macro.
66632         (__ieee754_sqrtl): Define as macro.
66633         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
66634         inlined copy.
66635         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
66636         __FINITE_MATH_ONLY__ consistent.
66637         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
66639 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
66641         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
66642         of rawmemchr.
66644         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
66646 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
66648         * po/ja.po: Update from translation team.
66650 2011-10-08  Roland McGrath  <roland@hack.frob.com>
66652         * locale/programs/locarchive.c (prepare_address_space): New function.
66653         (create_archive, enlarge_archive, open_archive): Use it.
66655         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
66656         inside [SHARED], where it is used.
66658         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
66660         * nss/getent.c (netgroup_keys): Remove unused variable.
66661         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66663 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
66665         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
66666         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
66667         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
66668         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
66669         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
66670         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
66671         * math/Makefile (libm-calls): Add s_isinf_ns.
66672         * math/divtc3.c: Use __isinf_nsl instead of isinf.
66673         * math/multc3.c: Likewise.
66674         * math/s_casin.c: Likewise.
66675         * math/s_casinf.c: Likewise.
66676         * math/s_casinl.c: Likewise.
66677         * math/s_ccos.c: Likewise.
66678         * math/s_ccosf.c: Likewise.
66679         * math/s_ccosl.c: Likewise.
66680         * math/s_ctan.c: Likewise.
66681         * math/s_ctanf.c: Likewise.
66682         * math/s_ctanh.c: Likewise.
66683         * math/s_ctanhf.c: Likewise.
66684         * math/s_ctanhl.c: Likewise.
66685         * math/s_ctanl.c: Likewise.
66686         * math/w_fmod.c: Likewise.
66687         * math/w_fmodf.c: Likewise.
66688         * math/w_fmodl.c: Likewise.
66689         * math/w_remainder.c: Likewise.
66690         * math/w_remainderf.c: Likewise.
66691         * math/w_remainderl.c: Likewise.
66692         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
66693         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
66694         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
66695         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
66696         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
66697         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
66698         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
66699         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
66701         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
66702         of the number.
66703         * stdio-common/printf_fphex.c: Likewise.
66704         * stdio-common/printf_size.c: Likewise.
66706         * math/e_exp10.c: Include math_private.h using <...> not "...".
66707         * math/e_exp10f.c: Likewise.
66708         * math/e_exp10l.c: Likewise.
66709         * math/e_exp2l.c: Likewise.
66710         * math/e_j0l.c: Likewise.
66711         * math/e_j1l.c: Likewise.
66712         * math/e_jnl.c: Likewise.
66713         * math/e_lgammal_r.c: Likewise.
66714         * math/e_rem_pio2l.c: Likewise.
66715         * math/e_scalb.c: Likewise.
66716         * math/e_scalbf.c: Likewise.
66717         * math/e_scalbl.c: Likewise.
66718         * math/k_cosl.c: Likewise.
66719         * math/k_sinl.c: Likewise.
66720         * math/k_tanl.c: Likewise.
66721         * math/s_cacoshf.c: Likewise.
66722         * math/s_catan.c: Likewise.
66723         * math/s_catanf.c: Likewise.
66724         * math/s_catanh.c: Likewise.
66725         * math/s_catanhf.c: Likewise.
66726         * math/s_catanhl.c: Likewise.
66727         * math/s_catanl.c: Likewise.
66728         * math/s_ccosh.c: Likewise.
66729         * math/s_ccoshf.c: Likewise.
66730         * math/s_ccoshl.c: Likewise.
66731         * math/s_cexp.c: Likewise.
66732         * math/s_cexpf.c: Likewise.
66733         * math/s_cexpl.c: Likewise.
66734         * math/s_clog.c: Likewise.
66735         * math/s_clog10.c: Likewise.
66736         * math/s_clog10f.c: Likewise.
66737         * math/s_clog10l.c: Likewise.
66738         * math/s_clogf.c: Likewise.
66739         * math/s_clogl.c: Likewise.
66740         * math/s_csin.c: Likewise.
66741         * math/s_csinf.c: Likewise.
66742         * math/s_csinh.c: Likewise.
66743         * math/s_csinhf.c: Likewise.
66744         * math/s_csinhl.c: Likewise.
66745         * math/s_csinl.c: Likewise.
66746         * math/s_csqrt.c: Likewise.
66747         * math/s_csqrtf.c: Likewise.
66748         * math/s_csqrtl.c: Likewise.
66749         * math/s_ctan.c: Likewise.
66750         * math/s_ctanf.c: Likewise.
66751         * math/s_ctanh.c: Likewise.
66752         * math/s_ctanhf.c: Likewise.
66753         * math/s_ctanhl.c: Likewise.
66754         * math/s_ctanl.c: Likewise.
66755         * math/s_ldexp.c: Likewise.
66756         * math/s_ldexpf.c: Likewise.
66757         * math/s_ldexpl.c: Likewise.
66758         * math/s_significand.c: Likewise.
66759         * math/s_significandf.c: Likewise.
66760         * math/s_significandl.c: Likewise.
66761         * math/w_acos.c: Likewise.
66762         * math/w_acosf.c: Likewise.
66763         * math/w_acosh.c: Likewise.
66764         * math/w_acoshf.c: Likewise.
66765         * math/w_acoshl.c: Likewise.
66766         * math/w_acosl.c: Likewise.
66767         * math/w_asin.c: Likewise.
66768         * math/w_asinf.c: Likewise.
66769         * math/w_asinl.c: Likewise.
66770         * math/w_atan2.c: Likewise.
66771         * math/w_atan2f.c: Likewise.
66772         * math/w_atan2l.c: Likewise.
66773         * math/w_atanh.c: Likewise.
66774         * math/w_atanhf.c: Likewise.
66775         * math/w_atanhl.c: Likewise.
66776         * math/w_cosh.c: Likewise.
66777         * math/w_coshf.c: Likewise.
66778         * math/w_coshl.c: Likewise.
66779         * math/w_dremf.c: Likewise.
66780         * math/w_exp10.c: Likewise.
66781         * math/w_exp10f.c: Likewise.
66782         * math/w_exp10l.c: Likewise.
66783         * math/w_exp2.c: Likewise.
66784         * math/w_exp2f.c: Likewise.
66785         * math/w_fmod.c: Likewise.
66786         * math/w_fmodf.c: Likewise.
66787         * math/w_fmodl.c: Likewise.
66788         * math/w_hypot.c: Likewise.
66789         * math/w_hypotf.c: Likewise.
66790         * math/w_hypotl.c: Likewise.
66791         * math/w_j0.c: Likewise.
66792         * math/w_j0f.c: Likewise.
66793         * math/w_j0l.c: Likewise.
66794         * math/w_j1.c: Likewise.
66795         * math/w_j1f.c: Likewise.
66796         * math/w_j1l.c: Likewise.
66797         * math/w_jn.c: Likewise.
66798         * math/w_jnf.c: Likewise.
66799         * math/w_jnl.c: Likewise.
66800         * math/w_lgamma.c: Likewise.
66801         * math/w_lgamma_r.c: Likewise.
66802         * math/w_lgammaf.c: Likewise.
66803         * math/w_lgammaf_r.c: Likewise.
66804         * math/w_lgammal.c: Likewise.
66805         * math/w_lgammal_r.c: Likewise.
66806         * math/w_log.c: Likewise.
66807         * math/w_log10.c: Likewise.
66808         * math/w_log10f.c: Likewise.
66809         * math/w_log10l.c: Likewise.
66810         * math/w_log2.c: Likewise.
66811         * math/w_log2f.c: Likewise.
66812         * math/w_log2l.c: Likewise.
66813         * math/w_logf.c: Likewise.
66814         * math/w_logl.c: Likewise.
66815         * math/w_pow.c: Likewise.
66816         * math/w_powf.c: Likewise.
66817         * math/w_powl.c: Likewise.
66818         * math/w_remainder.c: Likewise.
66819         * math/w_remainderf.c: Likewise.
66820         * math/w_remainderl.c: Likewise.
66821         * math/w_scalb.c: Likewise.
66822         * math/w_scalbf.c: Likewise.
66823         * math/w_scalbl.c: Likewise.
66824         * math/w_sinh.c: Likewise.
66825         * math/w_sinhf.c: Likewise.
66826         * math/w_sinhl.c: Likewise.
66827         * math/w_sqrt.c: Likewise.
66828         * math/w_sqrtf.c: Likewise.
66829         * math/w_sqrtl.c: Likewise.
66830         * math/w_tgamma.c: Likewise.
66831         * math/w_tgammaf.c: Likewise.
66832         * math/w_tgammal.c: Likewise.
66834         * po/ja.po: Update from translation team.
66836 2011-09-29  Andreas Jaeger  <aj@suse.de>
66838         [BZ #13179]
66839         * sunrpc/netname.c (netname2host): Fix logic.
66841         [BZ #6779]
66842         [BZ #6783]
66843         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
66844         correctly.
66845         * math/w_remainder.c (__remainder): Likewise.
66846         * math/w_remainderf.c (__remainderf): Likewise.
66847         * math/libm-test.inc (remainder_test): Add test cases.
66849 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66851         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
66852         sdiv_qrnnd.
66854 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
66856         * string/test-memcmp.c: Avoid unncessary #defines.
66857         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66859 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66861         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
66862         Use new sse2 version for core i3 - i7 as it's faster
66863         than sse42 version.
66864         (bit_Prefer_PMINUB_for_stringop): New.
66865         * sysdeps/x86_64/rawmemchr.S: Update.
66866         Replace with faster SSE2 version.
66867         * sysdeps/x86_64/memrchr.S: New file.
66868         * sysdeps/x86_64/memchr.S: Update.
66869         Replace with faster SSE2 version.
66871 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
66873         * elf/dl-load.c (lose): Add cast to avoid warning.
66875 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
66877         * po/ca.po: Update from translation team.
66879         * inet/getnetgrent_r.c: Hook up nscd.
66880         * nscd/Makefile (routines): Add nscd_netgroup.
66881         (nscd-modules): Add netgroupcache.
66882         (CFLAGS-netgroupcache.c): Define.
66883         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
66884         (cache_search): Add const to second parameter.
66885         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
66886         INNETGR.
66887         (dbs): Add netgrdb entry.
66888         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
66889         (verify_persistent_db): Handle netgrdb.
66890         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
66891         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
66892         GETFDNETGR.
66893         (netgroup_response_header): Define.
66894         (innetgroup_response_header): Define.
66895         (datahead): Add netgroup_response_header and innetgroup_response_header
66896         elements.
66897         * nscd/nscd.conf: Add entries for netgroup cache.
66898         * nscd/nscd.h (dbtype): Add netgrdb.
66899         (_PATH_NSCD_NETGROUP_DB): Define.
66900         (netgroup_iov_disabled): Declare.
66901         (xmalloc, xcalloc, xrealloc): Move declarations here.
66902         (cache_search): Adjust prototype.
66903         Add netgroup-related prototypes.
66904         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
66905         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
66906         (__nscd_innetgr): Declare.
66907         * nscd/selinux.c (perms): Use access_vector_t as element type and
66908         add netgroup-related initializers.
66909         * nscd/netgroupcache.c: New file.
66910         * nscd/nscd_netgroup.c: New file.
66911         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
66912         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
66913         For four parameters use innetgr.
66914         * nss/nss_files/files-init.c: Add definition and callback for netgr.
66915         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
66916         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
66917         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
66919         * nscd/connections.c (register_traced_file): Don't register file
66920         for disabled databases.
66922 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
66924         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
66926         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
66927         from tree and freeing node.
66929 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
66931         * nss/nsswitch.c (__nss_database_lookup): Handle
66932         nss_parse_service_list out of memory case.
66934 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
66936         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
66937         out of memory case.
66939 2011-10-04  Andreas Schwab  <schwab@redhat.com>
66941         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
66942         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
66943         pass it down.
66944         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
66945         elf_machine_rela, elf_machine_lazy_rel.
66946         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
66947         (ELF_DYNAMIC_DO_REL): Likewise.
66948         (ELF_DYNAMIC_DO_RELA): Likewise.
66949         (ELF_DYNAMIC_RELOCATE): Likewise.
66950         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
66951         to ELF_DYNAMIC_DO_REL.
66952         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
66953         (dl_main): In trace mode always set __RTLD_NOIFUNC.
66954         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
66955         elf_machine_rela.
66956         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
66957         skip_ifunc, don't call ifunc function if non-zero.
66958         (elf_machine_rela): Likewise.
66959         (elf_machine_lazy_rel): Likewise.
66960         (elf_machine_lazy_rela): Likewise.
66961         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
66962         (elf_machine_lazy_rel): Likewise.
66963         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
66964         Likewise.
66965         (elf_machine_lazy_rel): Likewise.
66966         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66967         Likewise.
66968         (elf_machine_lazy_rel): Likewise.
66969         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
66970         (elf_machine_lazy_rel): Likewise.
66971         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
66972         (elf_machine_lazy_rel): Likewise.
66973         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
66974         (elf_machine_lazy_rel): Likewise.
66975         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
66976         (elf_machine_lazy_rel): Likewise.
66977         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
66978         (elf_machine_lazy_rel): Likewise.
66979         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
66980         (elf_machine_lazy_rel): Likewise.
66982 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
66984         * nss/nss_files/files-init.c (_nss_files_init): Use static
66985         initialization for all the *_traced_file variables.
66987 2011-09-28  Andreas Schwab  <schwab@redhat.com>
66989         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66991 2011-09-27  Roland McGrath  <roland@hack.frob.com>
66993         [BZ #13226]
66994         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
66996 2011-09-27  Andreas Schwab  <schwab@redhat.com>
66998         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66999         Reread the line before reparsing it.
67001 2011-09-26  Andreas Schwab  <schwab@redhat.com>
67003         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
67005 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
67006             Maxim Kuvyrkov  <maxim@codesourcery.com>
67007             Joseph Myers  <joseph@codesourcery.com>
67009         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
67010         if needed for __stack_chk_guard.
67012 2011-09-19  Roland McGrath  <roland@hack.frob.com>
67014         * sysdeps/posix/spawni.c (script_execute): Always define it.
67015         It will be optimized away if unused.
67016         (maybe_script_execute): New function.
67017         (__spawni): Call it.
67019         * Makerules: Don't include tls.make.
67020         (config-tls): Always set to thread.
67021         * tls.make.c: File removed.
67023 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
67025         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
67026         * config.make.in (CPPFLAGS-config): New substituted variable.
67028 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67030         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
67032         [BZ #13192]
67033         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
67034         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
67036 2011-09-15  Roland McGrath  <roland@hack.frob.com>
67038         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
67039         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
67040         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
67041         (CALL_FAIL): Likewise.
67042         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
67043         (CALL_FAIL): Macro removed.
67044         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
67046 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67048         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
67049         for __FINITE_MATH_ONLY__ == 1.
67051 2011-09-15  Andreas Schwab  <schwab@redhat.com>
67053         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
67054         __ieee754_sqrt instead of sqrt.
67055         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
67056         __ieee754_sqrtf instead of sqrtf.
67057         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
67058         __floorf instead of floorf.
67059         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
67060         __floorf, __truncf instead of floorf, truncf.
67062 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
67064         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
67066         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
67067         __extern_always_inline.
67068         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
67069         32-bit.
67071 2011-09-14  Andreas Schwab  <schwab@redhat.com>
67073         * elf/rtld.c (dl_main): Also relocate in dependency order when
67074         doing symbol dependency testing.
67076 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
67078         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67079         Always define `refsym'.
67081 2011-09-13  Andreas Schwab  <schwab@redhat.com>
67083         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
67084         (__FD_ELT): Renamed from __FDELT.
67085         * misc/bits/select2.h (__FD_ELT): Likewise.
67086         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
67087         __FD_MASK instead of __FDELT, __FDMASK.
67088         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67089         Likewise.
67090         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67091         Likewise.
67093         * elf/Makefile (gen-ldd): Fix pattern.
67095         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
67096         (init_tls): Likewise.
67098 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
67100         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
67102 2011-09-12  Andreas Schwab  <schwab@redhat.com>
67104         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
67105         `struct cmsghdr *' instead of `void *'.
67106         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
67107         Likewise.
67109 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
67111         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
67112         if non-absolute.
67113         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
67114         ldd_rewrite_script.
67116 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
67118         * configure.in: Remove --with-tls option.
67119         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
67120         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
67121         out in case it is missing.
67122         * sysdeps/ia64/elf/configure.in: Likewise.
67123         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
67124         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
67125         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
67126         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
67127         * sysdeps/sh/elf/configure.in: Likewise.
67128         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
67129         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67130         * sysdeps/x86_64/elf/configure.in: Likewise.
67131         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
67132         * sysdeps/mach/hurd/tls.h: Likewise.
67134         [BZ #13067]
67135         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
67137         [BZ #13090]
67138         * configure.in: Fix use of AC_INIT.
67140         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
67142 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
67144         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
67145         __set_errno.
67146         * malloc/hooks.c: Likewise.
67148         [BZ #11929]
67149         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
67150         variables statically.
67151         (narenas): Initialize.
67152         (list_lock): Initialize.
67153         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
67154         initializtion of main_arena and list_lock.  Small cleanups.
67155         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
67156         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
67157         Add initializers to main_arena and mp_.
67158         (malloc_state): Remove pagesize member.  Change all users to use
67159         GLRO(dl_pagesize).
67161         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
67162         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
67163         is always initialized.
67165         * malloc/malloc.c: Removed unused configurations and dead code.
67166         * malloc/arena.c: Likewise.
67167         * malloc/hooks.c: Likewise.
67168         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
67170         * include/tls.h: Removed.  USE___THREAD must always be defined.
67171         * bits/libc-tsd.h: Don't handle !USE___THREAD.
67172         * elf/dl-libc.c: Likewise.
67173         * elf/dl-tsd.c: Likewise.
67174         * include/errno.h: Likewise.
67175         * include/netdb.h: Likewise.
67176         * include/resolv.h: Likewise.
67177         * inet/herrno-loc.c: Likewise.
67178         * inet/herrno.c: Likewise.
67179         * malloc/arena.c: Likewise.
67180         * malloc/hooks.c: Likewise.
67181         * malloc/malloc.c: Likewise.
67182         * resolv/res-state.c: Likewise.
67183         * resolv/res_libc.c: Likewise.
67184         * sysdeps/i386/dl-machine.h: Likewise.
67185         * sysdeps/ia64/dl-machine.h: Likewise.
67186         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
67187         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67188         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
67189         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
67190         * sysdeps/sh/dl-machine.h: Likewise.
67191         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67192         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67193         * sysdeps/unix/i386/sysdep.S: Likewise.
67194         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
67195         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
67196         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
67197         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
67198         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
67199         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
67200         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
67201         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67202         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67203         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
67204         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67205         * sysdeps/x86_64/dl-machine.h: Likewise.
67206         * tls.make.c: Likewise.
67208         * configure.in: Remove --with-__thread option.  Make tests for
67209         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
67210         tls_model attribute fail if no support is available.  Remove
67211         USE_IN_LIBIO.
67212         * Makeconfig: Adjust for dropped configure option.  All features are
67213         now mandatory.
67214         * Makerules: Likewise.
67215         * Versions.def: Likewise.
67216         * argp/argp-fmtstream.c: Likewise.
67217         * argp/argp-fmtstream.h: Likewise.
67218         * argp/argp-help.c: Likewise.
67219         * assert/assert.c: Likewise.
67220         * config.h.in: Likewise.
67221         * config.make.in: Likewise.
67222         * configure: Likewise.
67223         * configure.in: Likewise.
67224         * csu/Versions: Likewise.
67225         * csu/init.c: Likewise.
67226         * elf/tst-audit2.c: Likewise.
67227         * elf/tst-tls10.c: Likewise.
67228         * elf/tst-tls10.h: Likewise.
67229         * elf/tst-tls11.c: Likewise.
67230         * elf/tst-tls12.c: Likewise.
67231         * elf/tst-tls14.c: Likewise.
67232         * elf/tst-tlsmod11.c: Likewise.
67233         * elf/tst-tlsmod12.c: Likewise.
67234         * elf/tst-tlsmod13.c: Likewise.
67235         * elf/tst-tlsmod13a.c: Likewise.
67236         * elf/tst-tlsmod14a.c: Likewise.
67237         * elf/tst-tlsmod15b.c: Likewise.
67238         * elf/tst-tlsmod16a.c: Likewise.
67239         * elf/tst-tlsmod16b.c: Likewise.
67240         * elf/tst-tlsmod7.c: Likewise.
67241         * elf/tst-tlsmod8.c: Likewise.
67242         * elf/tst-tlsmod9.c: Likewise.
67243         * gmon/gmon.c: Likewise.
67244         * grp/fgetgrent_r.c: Likewise.
67245         * grp/putgrent.c: Likewise.
67246         * hurd/fopenport.c: Likewise.
67247         * include/libc-symbols.h: Likewise.
67248         * include/tls.h: Likewise.
67249         * intl/gettextP.h: Likewise.
67250         * intl/loadinfo.h: Likewise.
67251         * locale/global-locale.c: Likewise.
67252         * locale/localeinfo.h: Likewise.
67253         * mach/devstream.c: Likewise.
67254         * malloc/arena.c: Likewise.
67255         * malloc/set-freeres.c: Likewise.
67256         * misc/err.c: Likewise.
67257         * misc/getttyent.c: Likewise.
67258         * misc/mntent_r.c: Likewise.
67259         * posix/getopt.c: Likewise.
67260         * posix/wordexp.c: Likewise.
67261         * pwd/fgetpwent_r.c: Likewise.
67262         * resolv/Versions: Likewise.
67263         * resolv/res_hconf.c: Likewise.
67264         * shadow/fgetspent_r.c: Likewise.
67265         * shadow/putspent.c: Likewise.
67266         * stdio-common/printf_fphex.c: Likewise.
67267         * stdio-common/tmpfile.c: Likewise.
67268         * stdlib/abort.c: Likewise.
67269         * stdlib/fmtmsg.c: Likewise.
67270         * sunrpc/auth_unix.c: Likewise.
67271         * sunrpc/clnt_perr.c: Likewise.
67272         * sunrpc/clnt_tcp.c: Likewise.
67273         * sunrpc/clnt_udp.c: Likewise.
67274         * sunrpc/clnt_unix.c: Likewise.
67275         * sunrpc/openchild.c: Likewise.
67276         * sunrpc/svc_simple.c: Likewise.
67277         * sunrpc/svc_tcp.c: Likewise.
67278         * sunrpc/svc_udp.c: Likewise.
67279         * sunrpc/svc_unix.c: Likewise.
67280         * sunrpc/xdr.c: Likewise.
67281         * sunrpc/xdr_array.c: Likewise.
67282         * sunrpc/xdr_rec.c: Likewise.
67283         * sunrpc/xdr_ref.c: Likewise.
67284         * sunrpc/xdr_stdio.c: Likewise.
67286 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67288         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67290 2011-07-03  Andreas Jaeger  <aj@suse.de>
67292         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
67293         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
67294         regenerate with gen-libm-tests.pl.
67296 2010-05-12  Petr Baudis  <pasky@suse.cz>
67298         [BZ #11589]
67299         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
67300         around j0() zero points by switching to j1().
67301         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67302         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67303         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67304         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67306 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67308         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
67309         instead of 0.
67310         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
67311         instead of 0.
67312         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67313         Patch in part by Pavel Roskin <proski@gnu.org>.
67315         [BZ #13138]
67316         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
67317         realloc.
67318         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
67319         Free memory block if necessary.
67321         [BZ #12847]
67322         * libio/genops.c (INTDEF): For string streams the _lock pointer can
67323         be NULL.  Don't lock in this case.
67325 2011-09-09  Roland McGrath  <roland@hack.frob.com>
67327         * elf/elf.h (ELFOSABI_GNU): New macro.
67328         (ELFOSABI_LINUX): Define to that.
67330 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
67332         * string/strncat.c (strncat): Undef the symbol in case it has been
67333         defined in bits/string.h.
67335 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67337         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
67339         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
67340         link map.
67342 2011-08-17  Andreas Jaeger  <aj@suse.de>
67344         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
67346 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
67347             Ian Lance Taylor  <iant@google.com>
67349         * math/libm-test.inc (lround_test): New testcase.
67350         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
67352 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
67354         * Makefile: Remove support for automatic cvs check-ins.
67355         * Makerules: Likewise.
67356         * config.make.in: Likewise.
67357         * configure.in: Likewise.
67358         * intl/Makefile: Likewise.
67359         * locale/Makefile: Likewise.
67360         * po/Makefile: Likewise.
67361         * posix/Makefile: Likewise.
67362         * sysdeps/gnu/Makefile: Likewise.
67363         * sysdeps/mach/hurd/Makefile: Likewise.
67364         * sysdeps/sparc/sparc32/Makefile: Likewise.
67366         [BZ #13118]
67367         * posix/Makefile (bug-regex32-ENV): Define.
67368         Patch by John Stanley <jpsinthemix@verizon.net>.
67370         * misc/Makefile (headers): Add bits/select2.h.
67371         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
67372         * misc/bits/select2.h: New file.
67373         * include/bits/select2.h: New file.
67374         * debug/Makefile (routines): Add fdelt_chk.
67375         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
67376         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
67377         FD_ISSET.
67378         * debug/fdelt_chk.c: New file.
67380         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
67381         * wcsmbs/test-wmemcmp.c: Likewise.
67382         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
67383         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
67385 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67387         * string/Makefile (strop-tests): Add memcmp.
67388         * string/test-wmemcmp.c: New file.
67389         * string/test-memcmp.c: Add wmemcmp support.
67391 2011-09-08  Roland McGrath  <roland@hack.frob.com>
67393         [BZ #13153]
67394         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
67395         2011-07-19 change.
67397         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
67398         garbage value in a __mach_port_mod_refs call in the cases of the
67399         task-self and thread-self ports.
67401 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67403         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
67405 2011-09-08  Andreas Schwab  <schwab@redhat.com>
67407         * elf/dl-load.c (lose): Check for non-null L.
67409 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67411         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
67413         * elf/dl-libc.c (dlerror_run): Pass back error code from
67414         dl_catch_error.
67416         [BZ #13123]
67417         * elf/dl-load.c (lose): Free l_origin if it is valid.
67419         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
67420         names.
67421         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
67422         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67423         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67424         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67425         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
67426         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
67428 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67430         * sysdeps/powerpc/fpu/e_hypot.c: New file.
67431         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
67432         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
67433         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
67434         * sysdeps/powerpc/fpu/k_cosf.c: New file.
67435         * sysdeps/powerpc/fpu/k_sinf.c: New file.
67436         * sysdeps/powerpc/fpu/s_cosf.c: New file.
67437         * sysdeps/powerpc/fpu/s_sinf.c: New file.
67438         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
67439         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
67441 2011-08-15  Alan Modra  <amodra@gmail.com>
67443         [BZ #13092]
67444         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
67445         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
67446         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
67447         ppc_mcount to static-only-routines.
67448         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
67449         __mcount_internal.
67450         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
67451         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
67453 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
67455         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
67456         for finite and infinity parameters.
67458 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
67460         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
67461         and add nop instructions for throughput optimization.
67462         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67464 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
67466         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
67467         aligned copy for power7 with vector-scalar instructions.
67468         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
67470 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
67472         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
67473         AVX check.
67475 2011-09-07  Andreas Schwab  <schwab@redhat.com>
67477         [BZ #13144]
67478         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
67479         last change.
67481 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67483         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67484         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
67485         syscall wrapper around clock_gettime in __vdso_clock_gettime.
67486         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
67487         clock_gettime.
67489 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
67491         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
67492         Forgot to demangle the pointer.
67494         * sysdeps/i386/sysdep.h: Define atom_text_section.
67495         * sysdeps/x86_64/sysdep.h: Likewise.
67496         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
67497         section with atom_text_section.
67498         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67499         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67500         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
67501         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67502         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
67504         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
67505         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
67506         already be defined.  Change to take two parameters and don't assign
67507         result to variable.  Adjust all users.
67508         Define INTERNAL_GETTIME if not already defined.
67509         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
67510         call.
67511         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
67512         HAVE_CLOCK_GETTIME_VSYSCALL.
67513         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
67515         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
67516         gettimeofday vsyscall, just use time.
67518 2011-09-06  Andreas Schwab  <schwab@redhat.com>
67520         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
67521         <errno.h>.
67523 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
67525         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
67526         syscall on x86-64.
67527         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
67528         syscall.
67529         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
67530         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
67531         syscall if possible.
67533 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67535         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
67536         e_ident.  Don't pass to find_mapsXX.
67537         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
67539 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67541         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67542         strchr-sse2-no-bsf strrchr-sse2-no-bsf
67543         * sysdeps/x86_64/multiarch/strchr.S: Update.
67544         Check bit_slow_BSF bit.
67545         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
67546         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
67547         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
67549 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67551         [BZ #13134]
67552         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
67553         before glibc 2.15.
67554         (tryshell): Define.
67555         (__spawni): Change last parameter to be flag.  Test
67556         SPAWN_XFLAGS_USE_PATH flag to use path or not.
67557         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
67558         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
67559         * posix/spawni.c: Likewise.
67560         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
67561         * posix/spawnp.c: Likewise.  Change normal version to use
67562         SPAWN_XFLAGS_USE_PATH.
67563         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
67564         SPAWN_XFLAGS_TRY_SHELL.
67566         [BZ #13150]
67567         * posix/glob.h: Remove gcc 1.x support.
67569         [BZ #13068]
67570         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
67572 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67574         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67575         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
67576         strrchr-sse2-bsf
67577         * sysdeps/i386/i686/multiarch/strchr.S: New file.
67578         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
67579         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
67580         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
67581         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
67582         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
67584 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67586         * sysdeps/x86_64/wcscmp.S: New file.
67588         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
67589         wcscmp-c wcscmp-sse2
67590         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
67591         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
67592         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
67593         * wcsmbs/wcscmp.c: Allow renaming.
67595 2011-09-05  David S. Miller  <davem@davemloft.net>
67597         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
67598         stack slot, rather than the struct return pointer slot.
67599         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
67600         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
67601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
67602         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
67604 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67606         * po/ja.po: Update from translation team.
67608         [BZ #13144]
67609         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
67610         kernel in 64-bit binaries.
67612 2011-09-01  David S. Miller  <davem@davemloft.net>
67614         * elf/elf.h (HWCAP_SPARC_*): Move to..
67615         * sysdeps/sparc/sysdep.h: this new file and add new values.
67616         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
67617         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
67618         _DL_HWCAP_COUNT to 24.
67619         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
67620         entries.
67621         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
67622         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
67623         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
67624         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
67625         instead of magic constants.
67626         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67628 2011-08-31  David S. Miller  <davem@davemloft.net>
67630         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
67631         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
67632         Reimplement to do errno handling inline.
67633         (SYSCALL_ERROR_HANDLER): New macro.
67634         (__SYSCALL_STRING): Do not do errno handling in asm.
67635         (__CLONE_SYSCALL_STRING): Delete.
67636         (__INTERNAL_SYSCALL_STRING): Delete.
67637         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
67638         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
67639         (PSEUDO): Reimplement to do errno handling inline.
67640         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
67641         (SYSCALL_ERROR_HANDLER): New macro.
67642         (__SYSCALL_STRING): Do not do errno handling in asm.
67643         (__CLONE_SYSCALL_STRING): Delete.
67644         (__INTERNAL_SYSCALL_STRING): Delete.
67645         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
67646         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
67647         i386.
67648         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
67649         (inline_syscall*): Add 'err' argument.
67650         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
67651         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
67652         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
67653         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
67655         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
67656         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67658 2011-08-30  Andreas Schwab  <schwab@redhat.com>
67660         * elf/rtld.c (dl_main): Relocate objects in dependency order.
67662 2011-08-29  Jiri Olsa <jolsa@redhat.com>
67664         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
67665         directive.
67667 2011-08-24  David S. Miller  <davem@davemloft.net>
67669         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
67671 2011-08-24  Andreas Schwab  <schwab@redhat.com>
67673         * elf/Makefile: Add rules to build and run unload8 test.
67674         * elf/unload8.c: New file.
67675         * elf/unload8mod1.c: New file.
67676         * elf/unload8mod1x.c: New file.
67677         * elf/unload8mod2.c: New file.
67678         * elf/unload8mod3.c: New file.
67680         * elf/dl-close.c (_dl_close_worker): Reset private search list if
67681         it wasn't used.
67683 2011-08-23  David S. Miller  <davem@davemloft.net>
67685         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
67686         subtract stack bias.
67687         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
67688         %sp not %fp in calculations.
67689         (_JMPBUF_UNWINDS_ADJ): Likewise.
67691         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
67692         (aio_suspend): Call it to force an exception region around the
67693         AIO_MISC_WAIT() invocation.
67695 2011-08-23  Andreas Schwab  <schwab@redhat.com>
67697         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
67698         backslash.
67700 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
67702         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
67703         protection macro.
67704         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
67705         and <dl-machine.h>.
67706         (Elf64_FuncDesc): Remove.
67708 2011-08-22  David S. Miller  <davem@davemloft.net>
67710         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
67711         sigaltstack check, add missing cfi directives.
67712         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
67713         missing cfi directives, and sigaltstack handling.
67715 2011-08-16  Andreas Schwab  <schwab@redhat.com>
67717         [BZ #11724]
67718         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
67719         object is seen twice.
67720         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67722         * elf/Makefile (distribute): Add tst-initorder2.c.
67723         (tests): Add tst-initorder2.
67724         (modules-names): Add tst-initorder2a tst-initorder2b
67725         tst-initorder2c tst-initorder2d.  Add rules to build them.
67726         ($(objpfx)tst-initorder2.out): New rule.
67727         * elf/tst-initorder2.c: New file.
67728         * elf/tst-initorder2.exp: New file.
67730 2011-08-22  Andreas Schwab  <schwab@redhat.com>
67732         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
67734         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
67735         dependencies back to end of function.
67737         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
67738         $(elfobjdir)/ld.so.
67740 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
67742         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
67743         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
67744         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
67745         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
67746         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
67747         of __vdso_gettimeofday.
67748         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
67749         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
67750         attribute_hidden.
67751         (_libc_vdso_platform_setup): Remove initialization of
67752         __vdso_gettimeofday and __vdso_time.
67754 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
67756         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
67757         and fgetc_unlocked.
67758         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
67759         getc_unlocked.
67761         * elf/dl-open.c (add_to_global): Report additions to the global scope
67762         for LD_DEBUG=scopes.
67763         (dl_open_worker): Also print scope of newly loaded dependencies.
67764         (_dl_show_scope): Indicate if there is no scope.
67766         [BZ #13114]
67767         * stdio-common/Makefile (tests): Add bug24.
67768         * stdio-common/bug24.c: New file.
67770 2011-08-19  Andreas Jaeger  <aj@suse.de>
67772         [BZ #13114]
67773         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
67774         non-existant file when using close-on-exec mode.
67776 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
67778         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
67779         the very first instruction.
67781         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
67782         the CFI state in the end.
67783         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
67784         inclusion of dl-trampoline.h.
67785         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
67787 2011-08-19  Andreas Schwab  <schwab@redhat.com>
67789         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
67790         expectations for long double.
67792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
67793         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
67795 2011-08-14  David S. Miller  <davem@davemloft.net>
67797         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
67798         artificual limit depends upon the system page size.
67800 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
67802         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
67803         * resolv/Makefile: Define CFLAGS-libresolv.
67805 2011-08-17  Andreas Schwab  <schwab@redhat.com>
67807         * nss/makedb.c (compute_tables): Make variables used in nested
67808         function static.
67810 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
67812         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
67813         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
67814         if buffer was too small.
67816         * elf/pldd.c (main): Attach to all threads in the process.
67817         Rewrite /proc handling to use *at functions.
67819 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
67821         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
67822         specifies first scope to show.
67823         (dl_open_worker): Update callers.  Move printing scope of new
67824         object to before the relocation.
67825         * elf/rtld.c (dl_main): Update _dl_show_scope call.
67826         * sysdeps/generic/ldsodefs.h: Update declaration.
67828         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
67829         string for the scope number.
67831 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
67833         * nscd/servicescache.c (cache_addserv): Make sure written is always
67834         initialized.
67836 2011-08-14  Roland McGrath  <roland@hack.frob.com>
67838         * sysdeps/i386/i486/bits/atomic.h
67839         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
67840         statement expression, so as to suppress "set but not used" warning.
67841         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
67843         * string/strncat.c (STRNCAT): Use prototype definition.
67845         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
67846         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
67847         -Iprograms here.
67848         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
67849         (localedef-modules): Add localedef.
67850         (locale-modules): Add locale.
67852         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
67853         * elf/rtld.c (dl_main): Invert order of assignment in last change,
67854         to avoid a warning.
67856 2011-08-14  David S. Miller  <davem@davemloft.net>
67858         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
67859         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
67861 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
67863         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
67864         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
67865         * elf/rtld.c (dl_main): Set l_name of vDSO.
67866         Call _dl_show_scope when DL_DEBUG_SCOPES.
67867         (process_dl_debug): Recognize scopes flag and also set it for all.
67868         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
67869         Declare _dl_show_scope.
67871         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
67872         (do_dlopen): Pass caller_dlopen to dl_open.
67873         (__libc_dlopen_mode): Initialize caller_dlopen.
67875         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
67876         of libc.  Make tolower call locale-independent.  Optimize a bit by
67877         using isdigit instead of isalnum.
67878         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
67880 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
67882         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
67883         was a dependency or dynamically loaded.
67885 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
67887         * intl/l10nflist.c: Allow architecture-specific pop function.
67888         * sysdeps/x86_64/l10nflist.c: New file.
67890         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
67891         classification.
67893 2011-08-10  Andreas Schwab  <schwab@redhat.com>
67895         * include/dirent.h: Add libc_hidden_proto for scandirat and
67896         scandirat64.  Don't declare __scandirat64.
67897         * dirent/scandirat.c: Add libc_hidden_def.
67898         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
67899         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
67901 2011-08-10  David S. Miller  <davem@davemloft.net>
67903         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
67904         enum.
67905         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
67906         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
67907         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
67909 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
67911         * Versions.def [libc]: Add GLIBC_2.15.
67912         * dirent/Makefile (routines): Add scandirat and scandirat64.
67913         * dirent/Versions [libc]: Export scandirat and scandirat64 for
67914         GLIBC_2.15.
67915         * dirent/dirent.h: Declare scandirat and scandirat64.
67916         * dirent/scandirat.c: New file.
67917         * dirent/scandirat64.c: New file.
67918         * sysdeps/wordsize-64/scandirat.c: New file.
67919         * sysdeps/wordsize-64/scandirat64.c: New file.
67920         * dirent/opendir.c: Define opendirat.
67921         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
67922         using scandirat.
67923         * dirent/scandir64.c: Adjust for scandir.c change.
67924         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
67925         __scandirat64, and __scandir_cancel_handler.
67926         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
67927         additional parameter and use openat instead of open (outside of ld.so).
67928         Add new __opendir as wrapper around __opendirat.
67929         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
67930         here without requiring old scandirat implementation.
67932 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
67934         * dirent/scandir.c (cancel_handler): Renamed to
67935         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
67936         defined.  Adjust users.
67937         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
67938         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
67940 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
67942         * string/test-string.h (IMPL): Use __STRING to expand name and then
67943         stringify it.
67945         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
67946         of cleanups.
67948 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67950         * string/Makefile: Update.
67951         (strop-tests): Append strncat.
67952         * string/test-wcscmp.c: New file.
67953         New comprehensive test for wcscmp.
67954         * string/test-strcmp.c: Update.
67955         (WIDE): New define.
67957 2011-07-22  Andreas Schwab  <schwab@redhat.com>
67959         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
67960         line.
67962 2011-07-26  Andreas Schwab  <schwab@redhat.com>
67964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
67965         encoding to ACE if AI_IDN.
67967 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
67969         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
67970         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
67972 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67974         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
67975         Fix overflow bug in strncat.
67976         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
67978         * string/test-strncat.c: Update.
67979         Add new tests for checking overflow bugs.
67981 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67983         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67984         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
67985         * sysdeps/i386/i686/multiarch/strcat.S: New file.
67986         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
67987         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
67988         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
67989         * sysdeps/i386/i686/multiarch/strncat.S: New file.
67990         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
67991         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
67993         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
67994         (USE_AS_STRCAT): Define.
67995         Add strcat and strncat support.
67996         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67998 2011-07-25  Andreas Schwab  <schwab@redhat.com>
68000         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
68001         __n bigger than INT_MAX+1.
68002         (__strncmp_g): Likewise.
68004 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
68006         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
68007         * libio/stido.h: Likewise.
68009         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
68010         (AF_NFC): Define.
68011         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
68012         (AF_NFC): Define.
68014         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
68015         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68016         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68017         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
68018         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68020         [BZ #13021]
68021         * scripts/test-installation.pl: Don't expect libnss_test1 to be
68022         installed.
68024         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
68025         typo.
68026         (_dl_x86_64_save_sse): Likewise.
68028 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
68030         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
68031         OSXSAVE.
68032         (_dl_x86_64_save_sse): Likewise.
68034         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
68036         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
68038 2011-07-21  Andreas Schwab  <schwab@redhat.com>
68040         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
68041         change.
68042         (_dl_x86_64_save_sse): Use correct AVX check.
68044 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68046         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
68047         bug in strncpy/strncat.
68048         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
68050 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
68052         * string/tester.c (test_strcat): Add tests for different alignments
68053         of source and destination.
68054         (test_strncat): Likewise.
68056 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68058         [BZ #12852]
68059         * posix/glob.c (glob): Check passed in values before using them in
68060         expressions to avoid some overflows.
68061         (glob_in_dir): Likewise.
68063         [BZ #13007]
68064         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
68065         check for AVX enablement so that we don't crash with old kernels and
68066         new hardware.
68067         * elf/tst-audit4.c: Add same checks here.
68068         * elf/tst-audit6.c: Likewise.
68070         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
68072 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
68074         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
68076 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68078         * po/cs.po: Update from translation team.
68079         * po/bg.po: Likewise.
68081 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
68083         * misc/sys/cdefs.h: Add support for const attribute.
68084         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
68085         to gnu_dev_{major,minor,makedev} functions.
68087 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
68089         * intl/dcigettext.c (get_output_charset): Add missing bracket.
68091 2011-07-20  Andreas Schwab  <schwab@redhat.com>
68093         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
68094         strlen results.
68096 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68098         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
68099         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
68100         register in order to avoid conflicts with the soft frame pointer
68101         being held in r11 when necessary.
68102         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
68103         (INTERNAL_VSYSCALL_NCS): Likewise.
68105 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
68107         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
68108         * elf/dl-fini.c (_dl_fini): Adjust caller.
68109         * elf/dl-close.c (_dl_close_worker): Likewise.
68110         * sysdeps/generic/ldsodefs.h: Adjust declaration.
68112 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68114         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
68115         "aux_cache->nlibs < 0".
68117         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
68118         in the reload-count case.
68120 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68122         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68123         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
68124         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
68125         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
68126         * sysdeps/x86_64/multiarch/strcat.S: New file.
68127         * sysdeps/x86_64/multiarch/strncat.S: New file.
68128         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
68129         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
68130         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
68131         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
68132         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
68133         (USE_AS_STRCAT): Define.
68134         Add strcat and strncat support.
68135         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68136         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
68137         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
68138         * string/strncat.c: Update.
68139         (USE_AS_STRNCAT): Define.
68140         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68141         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
68142         and i7.
68143         * sysdeps/x86_64/multiarch/init-arch.h
68144         (bit_Prefer_PMINUB_for_stringop): New.
68145         (index_Prefer_PMINUB_for_stringop): Likewise.
68146         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
68147         bit_Prefer_PMINUB_for_stringop.
68149 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68151         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
68152         buffer64.
68153         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
68154         of casting of buffer.
68155         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
68156         buffer32 and buffer64.
68157         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
68158         writes instead of casting of buffer.
68159         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
68160         buffer32.
68161         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
68162         casting of buffer.
68164 2011-07-19  Andreas Schwab  <schwab@redhat.com>
68166         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
68168 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68170         * nscd/nscd.c (termination_handler): Don't do anything for a database
68171         if it has not yet been initialized.
68173 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68175         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68177 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68179         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68181 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68183         * po/nl.po: Update from translation team.
68184         * po/sv.po: Likewise.
68186 2011-07-16  Roland McGrath  <roland@hack.frob.com>
68188         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
68189         now disallowed by GCC.
68191         * configure.in (use-default-link): Default to yes if a test -shared
68192         link meets our qualifications.
68193         * configure: Regenerated.
68195         * config.make.in (output-format): New variable.
68196         * configure.in: Check for ld --print-output-format support.
68197         * configure: Regenerated.
68198         * Makerules ($(common-objpfx)format.lds)
68199         [$(output-format) != unknown]: Just use $(output-format),
68200         instead of the linker-script munging.
68202 2011-07-14  Roland McGrath  <roland@hack.frob.com>
68204         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
68205         of $(common-objpfx)shlib.lds.
68206         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
68208         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
68209         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
68211         * configure.in (-z relro check): Adjust test code to add a large
68212         writable data section after it.
68213         * configure: Regenerated.
68215 2011-07-11  Roland McGrath  <roland@hack.frob.com>
68217         * configure.in (-z relro check): Fix test code to make the variable
68218         truly const.
68219         * configure: Regenerated.
68221 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
68223         * nscd/nscd.h (struct traced_file): Define.
68224         (struct database_dyn): Remove inotify_descr, reset_res, and filename
68225         elements.  Add traced_files.
68226         (inotify_fd): Declare.
68227         (register_traced_file): Declare.
68228         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
68229         (inotify_fd): Export.
68230         (resolv_conf_descr): Remove.
68231         (nscd_init): Move inotify descriptor creation to main.
68232         Don't register files for notification here.
68233         (register_traced_file): New function.
68234         (invalidate_cache): Don't use reset_res to determine whether to call
68235         res_init, go through the list of registered files.
68236         (main_loop_poll): The inotify descriptors are now stored in the
68237         structures for the traced files.
68238         (main_loop_epoll): Likewise
68239         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
68240         to __nss_disable_nscd.
68241         * nscd/cache.c (prune_cache): There is no single inotify descriptor
68242         for a database anymore.  Check the records for all the registered
68243         files instead.
68244         * nss/Makefile (libnss_files-routines): Add files-init.
68245         (libnss_db-routines): Add db-init.
68246         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
68247         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
68248         * nss/nss_db/db-init.c: New file.
68249         * nss/nss_files/files-init.c: New file.
68250         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
68251         __nss_lookup_function.
68252         (__nss_lookup_function): Call nss_load_library.
68253         (nss_load_all_libraries): New function.
68254         (__nss_disable_nscd): Take parameter with callback function for files
68255         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
68256         used for the cached services.
68257         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
68258         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
68259         options for features to all the files in nscd.
68261         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
68263 2011-07-10  Roland McGrath  <roland@hack.frob.com>
68265         * csu/elf-init.c (__libc_csu_init): Comment typo.
68267 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
68269         * po/pl.po: Update from translation team.
68270         * po/ja.po: Likewise.
68271         * po/ru.po: Likewise.
68272         * po/ko.po: Likewise.
68273         * po/fr.po: Likewise.
68275 2011-07-09  Roland McGrath  <roland@hack.frob.com>
68277         * configure.in (.ctors/.dtors header and trailer check):
68278         Use an empirical test on a built program.
68279         * configure: Regenerated.
68281         * configure.in (-z relro check): Use an empirical test on a built DSO.
68282         Detect, but do not require, on ia64.
68283         * configure: Regenerated.
68285         * configure.in (READELF): Find it with AC_CHECK_TOOL.
68286         Update tests that use readelf to use $READELF instead.
68287         * configure: Regenerated.
68289 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
68291         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
68292         if the result is not used.
68294 2011-07-05  Andreas Jaeger  <aj@suse.de>
68296         [BZ#9696]
68297         * stdlib/tst-strtod.c: Add testcase.
68299 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
68301         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
68302         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
68303         The latter has a higher limit.  Take additional parameter to pass to
68304         the new function.
68305         (__pathconf): Pass file to __statfs_link_max.
68306         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
68307         __statfs_link_max.
68308         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
68309         __statfs_link_max.
68311         [BZ #12868]
68312         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
68313         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68314         Handle Lustre.
68315         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
68316         (__statfs_filesize_max): Likewise.
68317         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
68319 2011-07-05  Andreas Jaeger  <aj@suse.de>
68321         * resolv/res_comp.c (dn_skipname): Remove unused variable.
68323 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
68325         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
68326         `status' variable.
68327         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
68328         Likewise.
68330 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
68332         * Makefile (strop-tests): Add strncat.
68333         * string/test-strncat.c: New file.
68335 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
68337         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
68339 2011-06-21  Andreas Jaeger  <aj@suse.de>
68341         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
68342         Copy rule from iconvdata/Makefile.
68344 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68346         [BZ #12922]
68347         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
68348         but no long options are defined, just return 'W'.
68350 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
68352         [BZ #9696]
68353         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
68355 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68357         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
68358         netgroups to read.
68359         (innetgr): Likewise.
68361 2011-07-05  Roland McGrath  <roland@hack.frob.com>
68363         * config.make.in (install_root): Default to $(DESTDIR).
68365 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
68367         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
68369 2011-07-02  Roland McGrath  <roland@hack.frob.com>
68371         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
68373         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
68374         containing directory rather than embedding absolute directory names.
68376         * scripts/check-local-headers.sh: Rewritten using awk.
68377         Match by word, not by line.  Print error messages for matches.
68378         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
68380         * Makerules [shlib-lds-flags empty]:
68381         ($(common-objpfx)libc_pic.opts): New target.
68382         ($(common-objpfx)libc_pic.os.clean): New target.
68383         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
68385         * config.make.in (OBJCOPY): New variable.
68386         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
68387         * configure: Regenerated.
68389         * config.make.in (use-default-link): New variable.
68390         * configure.in (use_default_link): Grok --with-default-link to set it.
68391         * configure: Regenerated.
68392         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
68393         (shlib-lds, shlib-lds-flags): Define to empty.
68395         * Makerules (shlib-lds): New variable.
68396         (shlib-lds-flags): New variable.
68397         (build-shlib, build-moduile, build-module-asneeded): Use it.
68398         ($(common-objpfx)libc.so): Use $(shlib-lds).
68399         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
68400         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
68402         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
68403         DT_FLAGS/DT_FLAGS_1 with zero flags.
68405         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
68406         linker script munging.
68408 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
68410         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
68411         as 128-bit value.
68412         * crypt/sha512.c (sha512_process_block): Perform total addition using
68413         128-bit if possible.
68414         (__sha512_finish_ctx): Likewise.
68415         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
68416         as 64-bit value.
68417         * crypt/sha256.c (SWAP64): Define.
68418         (sha256_process_block): Perform total addition using 64-bit if
68419         possible.
68420         (__sha256_finish_ctx): Likewise.
68422 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
68424         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
68425         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68426         * nscd/hstcache.c (cache_addhst): Likewise.
68427         * nscd/grpcache.c (cache_addgr): Likewise.
68428         * nscd/aicache.c (addhstaiX): Likewise
68429         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
68431 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
68433         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
68434         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68435         * nscd/hstcache.c (cache_addhst): Likewise.
68436         * nscd/grpcache.c (cache_addgr): Likewise.
68437         * nscd/aicache.c (addhstaiX): Likewise
68439 2011-07-01  Andreas Schwab  <schwab@redhat.com>
68441         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
68442         domain only when needed.
68444 2011-06-30  Andreas Schwab  <schwab@redhat.com>
68446         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
68447         is always restored.
68449 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
68451         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
68452         are re-adding the entry.
68453         * nscd/servicescache.c (cache_addserv): Likewise.
68455 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
68457         * sysdeps/generic/dl-irel.h: fix protection against multiple
68458         inclusions.
68459         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
68461 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
68463         [BZ #12935]
68464         * malloc/memusage.sh: Fix quoting in message.
68465         * debug/xtrace.sh: Likewise.
68467         * configure.in: Remove support for --experimental-malloc option, make
68468         it the default.
68469         * config.make.in: Likewise.
68470         * malloc/Makefile: Likewise.
68472 2011-06-27  Andreas Schwab  <schwab@redhat.com>
68474         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
68475         two-byte characters.
68477 2011-06-27  Roland McGrath  <roland@hack.frob.com>
68479         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
68480         AC_CACHE_CHECK invocation.
68481         * configure: Regenerated.
68483         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
68485 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
68487         [BZ #12350]
68488         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
68489         bit from old_res_options.
68491         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
68493         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
68494         value type for setfct.
68496 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
68498         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68499         __gettimeofday instead of gettimeofday.
68501 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
68503         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
68505 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
68507         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
68509         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
68510         info.
68512 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
68514         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68515         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68516         strcpy-sse2-unaligned strncpy-sse2-unaligned
68517         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
68518         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
68519         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
68520         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
68521         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
68522         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
68523         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
68524         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
68525         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
68526         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
68527         (STRCPY): Support SSE2 and SSSE3 versions.
68529 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
68531         [BZ #12874]
68532         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
68533         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
68534         kernels which artificially limit size of requests.
68536 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
68538         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68539         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68540         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
68541         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
68542         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
68543         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
68544         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
68545         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
68546         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
68547         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
68548         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
68549         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
68550         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
68551         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
68552         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
68553         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68554         Enable unaligned load optimization for Intel Core i3, i5 and i7
68555         processors.
68556         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
68557         Define.
68558         (index_Fast_Unaligned_Load): Define.
68559         (HAS_FAST_UNALIGNED_LOAD): Define.
68561 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
68563         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
68565 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
68567         [BZ #12907]
68568         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
68569         until it is clear that the information is realy needed.
68570         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
68572 2011-06-22  Andreas Schwab  <schwab@redhat.com>
68574         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
68576 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
68578         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68579         /sys/devices/system/cpu/online if it is usable.
68581         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
68582         reading the information from the /proc filesystem to once a second.
68584 2011-06-21  Andreas Jaeger  <aj@suse.de>
68586         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
68587         NULL after inclusion of kernel headers.
68589 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
68591         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
68592         calls to internal_setent.
68594         [BZ #12885]
68595         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
68596         addresses using gethostbyname4_r ignore IPv4 addresses.
68598         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
68599         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
68601         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
68603 2011-06-20  David S. Miller  <davem@davemloft.net>
68605         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
68606         inclusions.
68607         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
68609         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
68610         (elf_irel): Use it.
68611         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
68612         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
68613         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
68614         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
68615         * sysdeps/x86_64/dl-irel.h: Likewise.
68617         * elf/dl-runtime.c: Use elf_ifunc_invoke.
68618         * elf/dl-sym.c: Likewise.
68620 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
68622         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
68623         need to dereference resplen2.
68625 2011-06-14  Andreas Schwab  <schwab@redhat.com>
68627         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
68629 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
68631         * Makeconfig: Define vardbdir and inst_vardbdir.
68632         * nss/Makefile: Add rules to install db-Makefile.
68634         * nss/nss_db/db-XXX.c: Cleanup.
68636         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
68637         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
68638         GLIBC_PRIVATE.
68639         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
68640         * nss/makedb.c: Implement -g option to specify that value strings
68641         are generated and should not be added to table iterated over for
68642         get*ent calls.
68643         * nss/nss_db/db-initgroups.c: New file.
68645         * nss/getent.c: Add support for initgroups lookups through getgrouplist
68646         interface.
68648         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
68649         (internal_getgrouplist): Adjust to name change.
68650         Update use_initgroups_entry if this is not the first call.
68651         * nss/databases.def: Add initgroups entry.
68653         * nss/makedb.c (compute_tables): Check result of multiple hash table
68654         sizes to minimize maximum chain length.
68656 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
68658         * Versions.def: Add entry for libnss_db.
68659         * shlib-versions: Likewise.
68660         * nss/Makefile: Add rules to build libnss_db.
68661         * nss/Versions: Add libnss_db information.  Organize libnss_files
68662         entries better.
68663         * nss/db-Makefile: Add gshadow support.  Change rules for the new
68664         makedb progra.  Some minor improvements to generate smaller files.
68665         * nss/nss_db/nss_db.h: Move NSS database header data structures to
68666         here from...
68667         * nss/makedb.c: ...here.
68668         Improve database format to be smaller and require less memory at
68669         runtime.
68670         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
68671         db anymore.
68672         * nss/nss_db/db-netgrp.c: Likewise.
68673         * nss/nss_db/db-open.c: Likewise.
68674         * nss/nss_files/flies-XXX.x: Adjust comments.
68675         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
68676         * nss/nss_files/files-grp.c: Likewise.
68677         * nss/nss_files/files-hosts.c: Likewise.
68678         * nss/nss_files/files-network.c: Likewise.
68679         * nss/nss_files/files-proto.c: Likewise.
68680         * nss/nss_files/files-pwd.c: Likewise.
68681         * nss/nss_files/files-rpc.c: Likewise.
68682         * nss/nss_files/files-service.c: Likewise.
68683         * nss/nss_files/files-sgrp.c: Likewise.
68684         * nss/nss_files/files-spwd.c: Likewise.
68685         * nss/nss_db/db-alias.c: Removed.
68686         * nss/nss_db/dummy-db.h: Removed.
68688 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
68690         * nss/makedb.c: Rewritten to not use database library.
68691         * nss/Makefile: Update to build new makedb program.
68693 2011-06-14  Andreas Jaeger  <aj@suse.de>
68695         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
68696         memset declaration.
68698 2011-06-10  Andreas Schwab  <schwab@redhat.com>
68700         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
68701         tmpbuf.
68703 2011-06-10  Roland McGrath  <roland@hack.frob.com>
68705         * Makerules (shlib.lds): Fail if the linker script comes out empty.
68706         * elf/Makefile ($(objpfx)ld.so): Likewise.
68708         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
68709         Don't list ld.so twice in dependencies.
68711         * posix/bug-regex31.c: Include <stdlib.h>.
68713         * nscd/hstcache.c (cache_addhst): Remove unused variable.
68715         * nis/nss_compat/compat-spwd.c
68716         (getspent_next_nss_netgr): Remove unused variable.
68717         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
68719         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
68720         nonmembers" output to use the right array.
68722         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
68724         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
68726         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
68727         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
68728         * catgets/gencat.c (read_input_file): Likewise.
68729         * locale/programs/locarchive.c (enlarge_archive): Likewise.
68731         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
68732         variable definition inside #if's controlling its use.
68734         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
68736         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
68738         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
68740         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
68741         unreachable code.
68743         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
68745         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
68746         * configure: Regenerated.
68748         * Makerules: Revert last change.
68749         * elf/Makefile: Likewise.
68751 2011-06-09  Roland McGrath  <roland@hack.frob.com>
68753         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
68754         * elf/Makefile ($(objpfx)librtld.os): Likewise.
68755         (reloc-link): Likewise.
68757 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
68759         * elf/Makefile: Add rules to build pldd.
68760         * elf/pldd.c: New file.
68761         * elf/pldd-xx.c: New file.
68763 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
68765         * version.h: Update for 2.15 development version.
68767 2011-06-07  David S. Miller  <davem@davemloft.net>
68769         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
68770         ifuncs.
68771         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
68772         elf_machine_lazy_rel): Likewise.
68773         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
68774         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
68775         elf_machine_lazy_rel): Likewise.
68776         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
68777         dl_hwcap via passed in argument.
68778         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
68779         Likewise.
68781 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68783         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
68785 2011-06-06  Roland McGrath  <roland@hack.frob.com>
68787         [BZ #12849]
68788         * manual/fdl-1.1.texi: New file, verbatim from:
68789         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
68790         * manual/lgpl-2.1.texi: New file, verbatim from:
68791         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
68792         * manual/Makefile (licenses): New variable, list those new file names.
68793         (texis): Use it.
68794         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
68796         * manual/fdl.texi: File removed.
68797         * manual/lesser.texi: File removed.
68798         * manual/libc.texinfo (Copying, Documentation License):
68799         Use new @include file names, put @appendix directive before @include.
68801 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
68803         [BZ #12841]
68804         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
68805         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
68806         (mq_open): Add __NTH.
68808 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
68810         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68811         Assume Intel Core i3/i5/i7 processor if AVX is available.
68813 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
68815         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68816         typo.
68818 2011-05-31  Andreas Schwab  <schwab@redhat.com>
68820         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
68821         memory.  Use alloca_account.  Fix memory leak when retrying.
68823 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
68825         * version.h (RELEASE): Bump for 2.14 release.
68826         * include/features.h (__GLIBC_MINOR__): Bump to 14.
68828         * config.make.in (RANLIB): Remove entry.
68830 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
68832         * po/Makefile (po-sed-cmd): Add ksh to extensions.
68833         (libc.pot): Work around missing support for .ksh extension in xgettext.
68835         [BZ #12684]
68836         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
68837         if both request failed.
68838         (send_dg): In case of server errors clear resplen or *resplen2.
68840         [BZ #12454]
68841         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
68842         when there are multiple maps.
68843         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
68844         (_dl_fini): Remove test here.
68846         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
68848 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
68850         [BZ #12350]
68851         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
68852         bit from old_res_options.
68853         (gaih_inet): Likewise.
68855         [BZ #11099]
68856         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
68857         as signed.
68859         * resolv/res_init.c (res_setoptions): Make the code more compact.
68861         [BZ #11558]
68862         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
68863         set RES_USEVC.
68865         [BZ #11634]
68866         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
68868         * malloc/malloc.h: Mark malloc hook variables as deprecated.
68870         [BZ #11781]
68871         * malloc/malloc.h: Declare malloc hook variables as volatile.
68873         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
68874         in last patch.
68876         [BZ #11799]
68877         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
68878         raise in the comment.
68879         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68880         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68881         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
68883 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
68885         [BZ #12811]
68886         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
68887         grow the buffers more if it already has to be sufficient.
68888         (build_wcs_upper_buffer): Likewise.
68889         * posix/regexec.c (check_matching): Likewise.
68890         (clean_state_log_if_needed): Likewise.
68891         (extend_buffers): Don't enlarge buffers beyond size of the input
68892         buffer.
68893         Patches mostly by Emil Wojak <emil@wojak.eu>.
68894         * posix/bug-regex32.c: New file.
68895         * posix/Makefile (tests): Add bug-regex32.
68897         * locale/findlocale.c (_nl_find_locale): Return right away if
68898         _nl_explode_name failed.
68899         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
68901         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
68903         * debug/xtrace.sh: Unify messages.
68904         * malloc/memusage.sh: Likewise.
68906         [BZ #12813]
68907         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
68908         time symbol from vDSO.  Substitute with vsyscall if not available.
68909         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
68910         __vdso_time.
68912         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
68913         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
68914         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
68915         Add sendmmsg and internal_sendmmsg.
68916         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
68917         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
68918         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
68920         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
68921         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
68922         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
68924 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
68926         [BZ #12813]
68927         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
68928         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
68929         available.
68930         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
68931         __vdso_getcpu.
68933         [BZ #12814]
68934         * iconvdata/Makefile (tests): Add bug-iconv9.
68935         * iconvdata/bug-iconv9.c: New file.
68937 2011-05-27  Andreas Schwab  <schwab@redhat.com>
68939         [BZ #12814]
68940         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
68942 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
68944         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68945         (struct user_regs_struct): Change intcs field back to cs.
68947 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
68949         * po/ja.po: Update from translation team.
68951 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
68953         [BZ #12795]
68954         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
68955         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
68957 2011-05-20  Andreas Schwab  <schwab@redhat.com>
68959         * stdlib/longlong.h: Update from GCC.
68961 2011-05-23  Andreas Schwab  <schwab@redhat.com>
68963         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
68964         parameter name.
68965         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
68966         Add parameter name.
68967         (__sysconf): Pass it down.
68969 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
68971         [BZ #12671]
68972         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
68973         some situations.
68974         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
68975         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
68976         add in in __libc_use_alloca calls.  Adjust callers.
68977         (glob): Use malloc in some situations.
68979         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
68980         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
68981         pltexit.
68983 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
68985         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
68986         and CLOCK_BOOTTIME_ALARM.
68988         [BZ #12782]
68989         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
68990         is returned.
68992         * string/_strerror.c (__strerror_r): Print negative errors as signed
68993         numbers.
68995         [BZ #12777]
68996         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
68997         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
68998         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
69000         * configure.in: Fix typo in redirection and correct removal of test
69001         files in two cases.
69003         [BZ #12788]
69004         * locale/setlocale.c (new_composite_name): Fix test to check for
69005         identical name of all categories.
69007         [BZ #12792]
69008         * libio/filedoalloc.c (local_isatty): New function.
69009         (_IO_file_doallocate): Use local_isatty.
69010         * stdio-common/perror.c (perror): In case a new stream is used
69011         forward the stream error.
69012         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
69013         error flag.
69015 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
69017         [BZ #11884]
69018         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
69019         alloca.
69020         * include/alloca.h (extend_alloca_account): Define.
69022         [BZ #11857]
69023         * posix/regex.h: Fix comments with documentation of user-accessible
69024         fields after compilation and describe correct free'ing of pattern
69025         after re_compile_pattern.
69026         Patch by Reuben Thomas <rrt@sc3d.org>.
69028 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
69030         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
69031         and -mno-altivec to prevent the compiler from using Altivec and/or
69032         VSX instructions when the corresponding registers are not available.
69034 2011-05-19  Andreas Schwab  <schwab@redhat.com>
69036         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
69038 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
69040         * libio/freopen.c (freopen): Use __dup2, not dup2.
69041         * libio/freopen64.c (freopen64): Likewise.
69043 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69045         [BZ #12775]
69046         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
69047         * math/Makefile (tests): Add test-powl.
69048         (CFLAGS-test-powl.c): Define.
69049         * math/test-powl.c: New file.
69051 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69053         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
69055 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
69057         [BZ #11837]
69058         * iconvdata/gb18030.c: Update to GB18020-2005.
69060 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
69062         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
69063         RE_SYNTAX_POSIX_AWK): Update to match recent development.
69064         Patch by Aharon Robbins <arnold@skeeve.com>.
69066         [BZ #11892]
69067         * stdlib/putenv.c (putenv): Don't always create copy of the variable
69068         on the stack.
69070         [BZ #11895]
69071         * misc/pselect.c (__pselect): Handle timeout value errors hidden
69072         through underflows.
69074         [BZ #12766]
69075         * misc/error.c (error_at_line): Ensure file_name and old_file_name
69076         point to strings before performing equality test for error_one_per_line
69077         mode.
69079         [BZ #11697]
69080         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
69082         [BZ #11820]
69083         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69084         (struct user_fpregs_struct): Avoid __uint*_t types.
69086         [BZ #6420]
69087         * malloc/mtrace.c (tr_where): Add additional parameter to point to
69088         symbol info.  Use it instead of calling _dl_addr locally.
69089         (lock_and_info): New function.
69090         (tr_freehook): Call lock_and_info and pass symbol info as additional
69091         parameter to tr_where.
69092         (tr_mallochook): Likewise.
69093         (tr_reallochook): Likewise.
69094         (tr_memalignhook): Likewise.
69096         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
69097         used and couldn't be at all thread-safe.
69099 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
69101         * libio/freopen.c (freopen): Don't close old file descriptor
69102         before the new one is opened.  Instead dup the new file descriptor
69103         to the old one after the new stream is created.
69104         * libio/freopen64.c (freopen64): Likewise.
69105         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
69106         * libio/fileops.c (_IO_new_file_close_it): Handle new
69107         _IO_FLAGS2_NOCLOSE flag.
69108         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
69109         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
69110         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
69111         _IO_FLAGS2_NOCLOSE flag.
69112         * include/unistd.h: Add hidden_proto for dup3.
69113         Define __have_dup3.
69114         * io/dup3.c: Define hidden symbol.
69115         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
69117         [BZ #7101]
69118         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
69119         when an incomplete long option is used.
69120         * posix/tst-getopt_long1.c: New file.
69121         * posix/Makefile (tests): Add tst-getopt_long1.
69123         [BZ #10138]
69124         * scripts/config.guess: Update from autoconf-2.68.
69125         * scripts/config.sub: Likewise.
69127         [BZ #10157]
69128         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
69129         tests into ...
69130         (has_cpuclock): ...this.  New function.
69131         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
69132         macro here based on has_cpuclock code.
69134         [BZ #10149]
69135         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69136         First byte (not low byte) is now always NUL.
69137         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
69139         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69140         Use non-cancelable interfaces.
69142         [BZ #9809]
69143         * locale/iso-639.def: Add entry for Sorani.
69145         [BZ #11901]
69146         * include/stdlib.h: Move include protection to the right place.
69147         Define abort_msg_s.  Declare __abort_msg with it.
69148         * stdlib/abort.c (__abort_msg): Adjust type.
69149         * assert/assert.c (__assert_fail_base): New function.  Majority
69150         of code from __assert_fail.  Allocate memory for __abort_msg with
69151         mmap.
69152         (__assert_fail): Now call __assert_fail_base.
69153         * assert/assert-perr.c: Remove bulk of implementation.  Use
69154         __assert_fail_base.
69155         * include/assert.hL Declare __assert_fail_base.
69156         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
69157         mmap.
69158         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
69160 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
69162         [BZ #11952]
69163         [BZ #12453]
69164         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
69165         until all modules are registered in the DTV.
69166         * elf/Makefile: Add rules to build and run tst-tls19.
69167         * elf/tst-tls19.c: New file.
69168         * elf/tst-tls19mod1.c: New file.
69169         * elf/tst-tls19mod2.c: New file.
69170         * elf/tst-tls19mod3.c: New file.
69171         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
69173         [BZ #12083]
69174         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
69175         correctly.
69177         [BZ #12601]
69178         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
69179         two-byte sequence errors.
69180         * iconvdata/Makefile (tests): Add bug-iconv8.
69181         * iconvdata/bug-iconv8.c: New file.
69183         [BZ #12626]
69184         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
69185         buf2 definition.
69187         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
69189         [BZ #12432]
69190         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
69191         (dummy_getcfa): New function.
69192         (init): Get _Unwind_GetCFA address, use dummy if not found.
69193         (backtrace_helper): In recursion check, also check whether CFA changes.
69194         (__backtrace): Completely initialize arg.
69196         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
69197         storing incomplete byte sequence in state object.  Avoid testing for
69198         guaranteed too small input if we know there is enough data available.
69200 2011-05-11  Andreas Schwab  <schwab@redhat.com>
69202         * Makeconfig (+link-pie): Indent.
69203         * Rules (binaries-pie): Define if $(have-fpie) and
69204         $(build-shared).
69205         (binaries-shared): Also filter out $(binaries-pie).
69206         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
69207         * nscd/Makefile (others-pie): Add nscd.
69208         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
69209         ($(objpfx)nscd): Remove command override.
69210         * login/Makefile (others-pie): Add pt_chown.
69211         ($(objpfx)pt_chown): Remove command override.
69212         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
69213         remove command overrides.
69215 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
69217         * libio/tst_putwc.c: Fix error messages.
69219         [BZ #12724]
69220         * libio/fileops.c (_IO_new_file_close_it): Always flush when
69221         currently writing and seek to current position when not.
69222         * libio/Makefile (tests): Add bug-fclose1.
69223         * libio/bug-fclose1.c: New file.
69225 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
69227         [BZ #12511]
69228         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
69229         don't set DF_1_NODELETE here.
69230         (do_lookup_x): When entering new entry test for copy relocation
69231         and if necessary set DF_1_NODELETE flag.
69232         * elf/tst-unique4.cc: New file.
69233         * elf/tst-unique4.h: New file.
69234         * elf/tst-unique4lib.cc: New file.
69235         * elf/Makefile: Add rules to build and run tst-unique4.
69236         Patch by Piotr Bury <pbury@goahead.com>.
69238 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
69240         [BZ #12052]
69241         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
69243         [BZ #12625]
69244         * misc/mntent_r.c (addmntent): Flush the stream after the output
69246         [BZ #12393]
69247         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
69248         (is_trusted_path_normalize): Skip initial colon.  Append slash
69249         to empty buffer.  Duplicate is_trusted_path code but allow
69250         constructed patch to be prefix.
69251         (is_dst): Allow $ORIGIN followed by /.
69252         (_dl_dst_substitute): Correct clearing of check_for_trusted.
69253         Correct testing of result of is_trusted_path_normalize
69254         (decompose_rpath): Fix warning.
69256 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
69258         [BZ #11257]
69259         * grp/initgroups.c (internal_getgrouplist): When we found the service
69260         list through the initgroups entry in nsswitch.conf do not always
69261         continue on a successful lookup.  Don't always use the
69262         __nss_group_database value if it is set.
69263         * nss/nsswitch.conf (initgroups): Change action for successful db
69264         lookup to continue for compatibility.
69266 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
69268         [BZ #11532]
69269         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
69270         and CP774 modules.
69271         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
69272         and CP774 modules.
69273         * iconvdata/tst-tables.sh: Likewise.
69274         * iconvdata/cp770.c: New file.
69275         * iconvdata/cp771.c: New file.
69276         * iconvdata/cp772.c: New file.
69277         * iconvdata/cp773.c: New file.
69278         * iconvdata/cp774.c: New file.
69279         * iconvdata/testdata/CP770: New file.
69280         * iconvdata/testdata/CP770..UTF8: New file.
69281         * iconvdata/testdata/CP771: New file.
69282         * iconvdata/testdata/CP771..UTF8: New file.
69283         * iconvdata/testdata/CP772: New file.
69284         * iconvdata/testdata/CP772..UTF8: New file.
69285         * iconvdata/testdata/CP773: New file.
69286         * iconvdata/testdata/CP773..UTF8: New file.
69287         * iconvdata/testdata/CP774: New file.
69288         * iconvdata/testdata/CP774..UTF8: New file.
69290         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
69291         END CHARMAP line.
69292         * iconvdata/gen-8bit-gap.sh: Likewise.
69293         * iconvdata/gen-8bit.sh: Likewise.
69295         * locale/iso-639.def: Add ary entry.
69297         [BZ #11258]
69298         * locale/C-translit.h.in: Add U20A1 transliteration.
69300         [BZ #12178]
69301         * locale/iso-639.def: Add wae entry.
69302         Patch by Kevin Bortis <bortis@translate-wae.ch>.
69304         [BZ #12545]
69305         * locale/programs/localedef.c (construct_output_path): Use ssize_t
69306         for n.
69308         [BZ #12711]
69309         * locale/C-translit.h.in: Add entry for U20B9.
69310         Patch by pravin.d.s@gmail.com.
69312 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
69314         [BZ #12713]
69315         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
69316         ENAMETOOLONG use generic getcwd.
69317         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
69318         in rtld.  Use *stat64.
69319         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
69320         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
69321         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
69322         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
69323         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
69324         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
69325         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
69326         __fstatat64 macros.
69327         * include/dirent.h: Add libc_hidden_proto for rewinddir.
69328         * dirent/rewinddir.c: Add libc_hidden_def.
69329         * sysdeps/mach/hurd/rewinddir.c: Likewise.
69330         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
69332         * include/dirent.h (__alloc_dir): Add flags parameter.
69333         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
69334         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
69335         __alloc_dir.
69336         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
69337         from fdopendir if O_CLOEXEC is already set.
69339 2011-03-15  Alan Modra  <amodra@gmail.com>
69341         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
69342         l_tls_firstbyte_offset non-zero.  Save padding offset in
69343         l_tls_firstbyte_offset for later use.
69344         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
69345         freeing static tls block.
69347 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
69349         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
69350         where #ifdef was intended.  The intent is to prevent ARG_MAX from
69351         being defined by the kernel headers.
69353 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
69355         [BZ #12734]
69356         * resolv/resolv.h: Define RES_NOTLDQUERY.
69357         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
69358         no-tld-query and set RES_NOTLDQUERY.
69359         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
69360         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
69361         modern BIND to search name as TLD unless forbidden.
69363 2011-05-07  Petr Baudis  <pasky@suse.cz>
69364             Ulrich Drepper  <drepper@gmail.com>
69366         [BZ #12393]
69367         * elf/dl-load.c (fillin_rpath): Move trusted path check...
69368         (is_trusted_path): ...to here.
69369         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
69370         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
69371         using is_trusted_path_normalize() in setuid scripts.
69373 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69375         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
69376         __BEGIN/__END_DECLS.
69378 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
69380         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
69381         NSS_STATUS_NOTFOUND if no record was found.
69383 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69385         * sunrpc/Makefile (headers): Add rpc/netdb.h.
69386         (headers-not-in-tirpc): Remove rpc/netdb.h
69387         * resolv/netdb.h: Revert last change.
69389 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69391         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
69392         circular dependency between libgcc.a and libc.a.
69394 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69396         * resolv/netdb.h: Don't include <rpc/netdb.h>.
69397         * nis/Makefile: Don't install rpcsvc/*.
69398         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
69399         instead of <rpc/types.h>.
69400         (MAXHOSTNAMELEN): Define.
69402 2011-05-03  Andreas Schwab  <schwab@redhat.com>
69404         * elf/ldconfig.c (add_dir): Don't crash on empty path.
69406 2011-04-28  Maciej Babinski  <mbabinski@google.com>
69408         [BZ #12714]
69409         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
69410         gethostbyname4_r when IPv6 results are possible.
69412 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
69414         [BZ #12723]
69415         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
69416         _PC_PIPE_BUF handling.
69418 2011-04-30  Bruno Haible  <bruno@clisp.org>
69420         [BZ #12717]
69421         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
69422         * resolv/netdb.h (getnameinfo): Change type of flags parameter
69423         to 'int'.
69424         * inet/getnameinfo.c (getnameinfo): Likewise.
69426 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
69428         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
69429         to groups setting in database lookup.
69430         * nss/nsswitch.conf: Add initgroups entry.
69432 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
69434         [BZ #12685]
69435         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
69436         mode string.
69437         Patch by Eric Blake <eblake@redhat.com>.
69439 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
69441         * sunrpc/Makefile (need-export-routines): Add svc_run.
69442         (routines): Remove svc_run.
69443         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
69444         * sunrpc/clnt_perr.c (clnt_perrno): Export.
69445         * sunrpc/svc_run.c (svc_run): Likewise.
69446         * sunrpc/svc_udp.c (svcudp_create): Likewise.
69448 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
69450         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
69451         problem in reallocation in last patch.
69453 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
69455         * sunrpc/Makefile: Move inclusion of Rules.
69457 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69459         * nss/nss_files/files-initgroups.c: New file.
69460         * nss/Makefile (libnss_files-routines): Add files-initgroups.
69461         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
69462         _nss_files_initgroups_dyn.
69464 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
69466         * elf/elf.h (R_ARM_IRELATIVE): Define.
69468 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69470         * po/ru.po: Update from translation team.
69472 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69474         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
69475         dependencies.
69477 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
69479         [BZ #12653]
69480         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
69481         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
69482         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69483         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69484         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69486 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
69488         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
69489         differing bytes.
69490         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69491         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69492         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69494 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69496         [BZ #12420]
69497         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
69498         storing it.
69499         * stdlib/bug-getcontext.c: New file.
69500         * stdlib/Makefile: Add rules to build and run bug-getcontext.
69502 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69504         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
69505         instructions into .machine "z9-109".
69506         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
69507         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
69509 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69511         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
69512         between environment variables and auxiliary vector.
69514 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
69516         * Makefile: Add rules to build linkobj/libc.so.
69517         * include/libc-symbols.h: Define libc_hidden_nolink.
69518         * include/rpc/auth.h: Mark functions which are to be hidden.
69519         * include/rpc/auth_des.h: Likewise.
69520         * include/rpc/auth_unix.h: Likewise.
69521         * include/rpc/clnt.h: Likewise.
69522         * include/rpc/des_crypt.h: Likewise.
69523         * include/rpc/key_prot.h: Likewise.
69524         * include/rpc/pmap_clnt.h: Likewise.
69525         * include/rpc/pmap_prot.h: Likewise.
69526         * include/rpc/pmap_rmt.h: Likewise.
69527         * include/rpc/rpc_msg.h: Likewise.
69528         * include/rpc/svc.h: Likewise.
69529         * include/rpc/svc_auth.h: Likewise.
69530         * include/rpc/xdr.h: Likewise.
69531         * nis/Makefile: Link all DSOs against linkobj/libc.so.
69532         * nss/Makefile: Likewise.
69533         * sunrpc/Makefile: Don't install headers.  Build library with normal
69534         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
69535         * sunrpc/auth_des.c: Hide exported symbols by default, export some
69536         for the compat linking library.  Remove use of INTDEF/INTUSE.
69537         * sunrpc/auth_none.c: Likewise.
69538         * sunrpc/auth_unix.c: Likewise.
69539         * sunrpc/authdes_prot.c: Likewise.
69540         * sunrpc/authuxprot.c: Likewise.
69541         * sunrpc/clnt_gen.c: Likewise.
69542         * sunrpc/clnt_perr.c: Likewise.
69543         * sunrpc/clnt_raw.c: Likewise.
69544         * sunrpc/clnt_simp.c: Likewise.
69545         * sunrpc/clnt_tcp.c: Likewise.
69546         * sunrpc/clnt_udp.c: Likewise.
69547         * sunrpc/clnt_unix.c: Likewise.
69548         * sunrpc/des_crypt.c: Likewise.
69549         * sunrpc/des_soft.c: Likewise.
69550         * sunrpc/get_myaddr.c: Likewise.
69551         * sunrpc/key_call.c: Likewise.
69552         * sunrpc/key_prot.c: Likewise.
69553         * sunrpc/netname.c: Likewise.
69554         * sunrpc/pm_getmaps.c: Likewise.
69555         * sunrpc/pm_getport.c: Likewise.
69556         * sunrpc/pmap_clnt.c: Likewise.
69557         * sunrpc/pmap_prot.c: Likewise.
69558         * sunrpc/pmap_prot2.c: Likewise.
69559         * sunrpc/pmap_rmt.c: Likewise.
69560         * sunrpc/publickey.c: Likewise.
69561         * sunrpc/rpc_cmsg.c: Likewise.
69562         * sunrpc/rpc_common.c: Likewise.
69563         * sunrpc/rpc_dtable.c: Likewise.
69564         * sunrpc/rpc_prot.c: Likewise.
69565         * sunrpc/rpc_thread.c: Likewise.
69566         * sunrpc/rtime.c: Likewise.
69567         * sunrpc/svc.c: Likewise.
69568         * sunrpc/svc_auth.c: Likewise.
69569         * sunrpc/svc_authux.c: Likewise.
69570         * sunrpc/svc_raw.c: Likewise.
69571         * sunrpc/svc_run.c: Likewise.
69572         * sunrpc/svc_simple.c: Likewise.
69573         * sunrpc/svc_tcp.c: Likewise.
69574         * sunrpc/svc_udp.c: Likewise.
69575         * sunrpc/svc_unix.c: Likewise.
69576         * sunrpc/svcauth_des.c: Likewise.
69577         * sunrpc/xcrypt.c: Likewise.
69578         * sunrpc/xdr.c: Likewise.
69579         * sunrpc/xdr_array.c: Likewise.
69580         * sunrpc/xdr_float.c: Likewise.
69581         * sunrpc/xdr_intXX_t.c: Likewise.
69582         * sunrpc/xdr_mem.c: Likewise.
69583         * sunrpc/xdr_rec.c: Likewise.
69584         * sunrpc/xdr_ref.c: Likewise.
69585         * sunrpc/xdr_sizeof.c: Likewise.
69586         * sunrpc/xdr_stdio.c: Likewise.
69588 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
69590         [BZ #12650]
69591         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
69592         * sysdeps/ia64/dl-tls.h: Likewise.
69593         * sysdeps/powerpc/dl-tls.h: Likewise.
69594         * sysdeps/s390/dl-tls.h: Likewise.
69595         * sysdeps/sh/dl-tls.h: Likewise.
69596         * sysdeps/sparc/dl-tls.h: Likewise.
69597         * sysdeps/x86_64/dl-tls.h: Likewise.
69598         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
69600 2011-03-14  Andreas Schwab  <schwab@redhat.com>
69602         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
69603         rpath element also skip the following colon.
69604         (expand_dynamic_string_token): Add is_path parameter and pass
69605         down to DL_DST_REQUIRED and _dl_dst_substitute.
69606         (decompose_rpath): Call expand_dynamic_string_token with
69607         non-zero is_path.  Ignore empty rpaths.
69608         (_dl_map_object_from_fd): Call expand_dynamic_string_token
69609         with zero is_path.
69611 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
69613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69614         Make cancelable.
69616 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
69618         [BZ #12655]
69619         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
69620         Patch by Filipe David Manana <fdmanana@apache.org>.
69622 2011-04-07  Andreas Schwab  <schwab@redhat.com>
69624         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
69625         Maintain aligned stack.
69626         (CHECK_RSP): Remove unused macro.
69628 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
69630         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
69631         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
69633 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
69635         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
69637         * include/features.h: Mention __USE_XOPEN2K8 in comment.
69639 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
69641         [BZ #12518]
69642         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
69643         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
69644         * sysdeps/x86_64/memmove.c: New file.
69645         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
69646         (memcpy): Renamed to ...
69647         (__new_memcpy): This.
69648         (memcpy): Provide GLIBC_2_14 memcpy.
69649         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
69650         (memcpy): Provide GLIBC_2_2_5 memcpy.
69652 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69654         [BZ #12631]
69655         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
69657 2011-03-30  Andreas Schwab  <schwab@redhat.com>
69659         * misc/syncfs.c: New file.
69660         * misc/Makefile (routines): Add syncfs.
69661         * posix/unistd.h: Declare syncfs.
69662         * sysdeps/unix/syscalls.list: Add syncfs.
69664 2011-04-01  Andreas Schwab  <schwab@redhat.com>
69666         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
69667         open_by_handle_at.
69668         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
69669         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69670         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69671         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69672         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69673         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
69674         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69676 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69678         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
69679         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69680         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
69681         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69682         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69683         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69684         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69686         * io/Makefile: Compile fallocate.c, fallocate64.c, and
69687         sync_file_range.c with -fexceptions.
69688         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
69689         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
69690         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
69691         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
69692         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
69693         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69694         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
69695         sync_file_range as cancellation point
69696         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
69697         now a wrapper around __call_sync_file_range with cancellation handling.
69698         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
69699         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
69700         function name to __call_sync_file_range.
69701         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
69702         Add call_sync_file_range.
69704 2011-04-01  Andreas Schwab  <schwab@redhat.com>
69706         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69707         bits/timex.h.
69709 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69711         * iconv/iconv.h: Fix typo in comment.
69712         * io/fcntl.h: Likewise.
69713         * libio/stdio.h: Likewise.
69714         * posix/spawn.h: Likewise.
69715         * posix/unistd.h: Likewise.
69716         * stdlib/stdlib.h: Likewise.
69717         * time/time.h: Likewise.
69718         * wcsmbs/wchar.h: Likewise.
69720         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
69721         open_by_handle): Add.
69722         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
69723         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
69724         Augment a few comments.
69725         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69726         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69727         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69728         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69729         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69730         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
69731         open_by_handle.
69733         * io/fcntl.h (AT_EMPTY_PATH): Define.
69735 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
69737         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
69738         * sysdeps/unix/sysv/linux/bits/time.h: New file.
69739         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
69740         to...
69741         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
69742         * Versions.def: Add GLIBC_2.14.
69743         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
69744         Export.
69746 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
69748         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
69749         round counter.
69750         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
69752 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69754         [BZ #12597]
69755         * string/test-strncmp.c (do_page_test): New function.
69756         (check2): Likewise.
69757         (test_main): Call check2.
69758         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
69760 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
69762         [BZ #12587]
69763         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
69764         Handle cache information in CPU leaf 4.
69765         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
69767 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
69769         [BZ #12583]
69770         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
69771         character representation.
69772         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
69774 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
69776         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
69777         END(__isnan) to END(__isnanf) to match function entry point/label
69778         EALIGN(__isnanf,...).
69780 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
69782         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
69784 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
69786         [BZ #12510]
69787         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
69788         copy from the symbol referenced in the relocation to initialize the
69789         used variable.
69790         Patch by Piotr Bury <pbury@goahead.com>.
69791         * elf/Makefile: Add rules to build and tst-unique3.
69792         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
69793         * elf/tst-unique3.cc: New file.
69794         * elf/tst-unique3.h: New file.
69795         * elf/tst-unique3lib.cc: New file.
69796         * elf/tst-unique3lib2.cc: New file.
69798         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
69800 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
69802         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
69803         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
69804         to _start.
69806 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
69808         * elf/dl-load.c (_dl_map_object): If we are looking for the first
69809         to-be-loaded object along a path to loader is ld.so.
69811 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
69812             Ulrich Drepper  <drepper@gmail.com>
69814         * sysdeps/x86_64/memset.S: After aligning destination, code
69815         branches to different locations depending on the value of
69816         misalignment, when multiarch is enabled. Fix this.
69818 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
69820         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
69821         Set _x86_64_preferred_memory_instruction for AMD processsors.
69822         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69823         Set bit_Prefer_SSE_for_memop for AMD processors.
69825 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
69827         * libio/fmemopen.c (fmemopen): Optimize a bit.
69829 2011-03-03  Andreas Schwab  <schwab@redhat.com>
69831         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
69833 2011-03-03  Roland McGrath  <roland@redhat.com>
69835         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
69837 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
69839         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
69840         __bzero_ultra1 instead of __memset_ultra1.
69842 2011-02-23  Andreas Schwab  <schwab@redhat.com>
69843             Ulrich Drepper  <drepper@gmail.com>
69845         [BZ #12509]
69846         * include/link.h (struct link_map): Add l_orig_initfini.
69847         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
69848         returning unsuccessfully.
69849         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
69850         close of a file loaded at startup, restore the original l_initfini
69851         list.
69852         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
69853         list, store the pointer.
69854         * elf/Makefile ($(objpfx)noload-mem): New rule.
69855         (noload-ENV): Define.
69856         (tests): Add $(objpfx)noload-mem.
69857         * elf/noload.c: Include <memcheck.h>.
69858         (main): Call mtrace.  Close all opened handles.
69860 2011-02-17  Andreas Schwab  <schwab@redhat.com>
69862         [BZ #12454]
69863         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
69864         dependencies are missing.
69866 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69868         Fix __if_freereq crash: Unlike the generic version which uses free,
69869         Hurd needs munmap.
69870         * sysdeps/mach/hurd/ifreq.h: New file.
69872 2011-01-27  Petr Baudis  <pasky@suse.cz>
69873             Ulrich Drepper  <drepper@gmail.com>
69875         [BZ 12445]#
69876         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
69877         to extend_alloca().
69878         * stdio-common/bug23.c: New file.
69879         * stdio-common/Makefile (tests): Add bug23.
69881 2010-09-28  Andreas Schwab  <schwab@redhat.com>
69882             Ulrich Drepper  <drepper@gmail.com>
69884         [BZ #12489]
69885         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
69886         before performing relro protection.  At old place add assertion
69887         to make sure nothing changed.
69889 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
69890             Glauber de Oliveira Costa  <glommer@gmail.com>
69892         * elf/elf.h: Add new ARM TLS relocs.
69894 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
69896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
69897         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
69898         cast from r3.
69899         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
69900         'tests' variable.
69901         * sysdeps/wordsize-64/tst-writev.c: New file.
69903 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
69905         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
69906         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
69907         insns in _dl_start to prevent a TOC reference before relocs are
69908         resolved.
69910 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
69912         [BZ #12469]
69913         * Makeconfig: Remove RANLIB definition.
69914         * Makerules: Don't use RANLIB.
69915         * aclocal.m4: Remove ranlib test.
69916         * configure.in: No need to check for ranlib.
69917         * elf/rtld-Rules: Don't use RANLIB.
69919 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69921         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
69922         protection macro.
69923         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
69924         inclusion protection macro.
69926         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
69927         SIGRTMIN and SIGRTMAX and print information in that case only when
69928         SIGRTMIN is defined.
69930 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
69932         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
69933         arginfo fn returning -1.
69935         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
69936         and thousands string is zero terminated.
69938 2011-02-03  Andreas Schwab  <schwab@redhat.com>
69940         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
69941         sysdeps/unix/sysv/linux/bits/socket.h.
69943 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69945         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
69946         (__CPU_COUNT): Remove old macros.
69947         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
69948         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
69949         (__CPU_ALLOC, __CPU_FREE): Add macros.
69950         (__sched_cpualloc, __sched_cpufree): Add declarations.
69952 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
69954         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
69955         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
69956         * nscd/aicache.c (addhstaiX): Return timeout of added value.
69957         (readdhstai): Return value of addhstaiX call.
69958         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
69959         (addgrbyX): Return value returned by cache_addgr.
69960         (readdgrbyname): Return value returned by addgrbyX.
69961         (readdgrbygid): Likewise.
69962         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
69963         (addpwbyX): Return value returned by cache_addpw.
69964         (readdpwbyname): Return value returned by addhstbyX.
69965         (readdpwbyuid): Likewise.
69966         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
69967         (addservbyX): Return value returned by cache_addserv.
69968         (readdservbyname): Return value returned by addservbyX:
69969         (readdservbyport): Likewise.
69970         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
69971         (addhstbyX): Return value returned by cache_addhst.
69972         (readdhstbyname): Return value returned by addhstbyX.
69973         (readdhstbyaddr): Likewise.
69974         (readdhstbynamev6): Likewise.
69975         (readdhstbyaddrv6): Likewise.
69976         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
69977         (readdinitgroups): Return value returned by addinitgroupsX.
69978         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
69979         (prune_cache): Keep track of timeout value of re-added entries.
69980         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
69981         * nscd/nscd.h: Adjust prototypes of readd* functions.
69983 2011-02-04  Roland McGrath  <roland@redhat.com>
69985         * nis/nis_server.c (nis_servstate): Use the right name for 0.
69986         (nis_stats): Likewise.
69987         * nis/nis_modify.c (nis_modify): Likewise.
69988         * nis/nis_remove.c (nis_remove): Likewise.
69989         * nis/nis_add.c (nis_add): Likewise.
69991         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
69993         * posix/fnmatch_loop.c: Add some consts.
69995         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
69997 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
69999         [BZ #12460]
70000         * config.make.in (config-cflags-novzeroupper): Define.
70001         * configure.in: Substitute libc_cv_cc_novzeroupper.
70002         * elf/Makefile (AVX-CFLAGS): Define.
70003         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
70004         (CFLAGS-tst-auditmod4a.c): Likewise.
70005         (CFLAGS-tst-auditmod4b.c): Likewise.
70006         (CFLAGS-tst-auditmod6b.c): Likewise.
70007         (CFLAGS-tst-auditmod6c.c): Likewise.
70008         (CFLAGS-tst-auditmod7b.c): Likewise.
70009         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
70011 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
70013         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
70014         function to the callback.
70015         Patch partly by Jiri Olsa <jolsa@redhat.com>.
70017 2011-02-02  Andreas Schwab  <schwab@redhat.com>
70019         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
70020         of errno.
70022 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
70024         [BZ #11724]
70025         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
70026         of constructors.
70027         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
70028         of destructors.
70029         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
70031         [BZ #11724]
70032         * elf/Makefile: Add rules to build and run new test.
70033         * elf/tst-initorder.c: New file.
70034         * elf/tst-initorder.exp: New file.
70035         * elf/tst-initordera1.c: New file.
70036         * elf/tst-initordera2.c: New file.
70037         * elf/tst-initordera3.c: New file.
70038         * elf/tst-initordera4.c: New file.
70039         * elf/tst-initorderb1.c: New file.
70040         * elf/tst-initorderb2.c: New file.
70041         * elf/tst-order-a1.c: New file.
70042         * elf/tst-order-a2.c: New file.
70043         * elf/tst-order-a3.c: New file.
70044         * elf/tst-order-a4.c: New file.
70045         * elf/tst-order-b1.c: New file.
70046         * elf/tst-order-b2.c: New file.
70047         * elf/tst-order-main.c: New file.
70048         New test case by George Gensure <werkt0@gmail.com>.
70050 2010-10-01  Andreas Schwab  <schwab@redhat.com>
70052         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
70053         decoding ACE if AI_CANONIDN.
70055 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
70057         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
70059 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
70061         * version.h (RELEASE): Bump for 2.13 release.
70062         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
70064         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
70066         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
70067         MADV_NOHUGEPAGE.
70068         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
70069         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70070         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70071         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70072         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70073         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70075         * posix/getconf.c: Update copyright year.
70076         * catgets/gencat.c: Likewise.
70077         * csu/version.c: Likewise.
70078         * debug/catchsegv.sh: Likewise.
70079         * debug/xtrace.sh: Likewise.
70080         * elf/ldconfig.c: Likewise.
70081         * elf/ldd.bash.in: Likewise.
70082         * elf/sprof.c (print_version): Likewise.
70083         * iconv/iconv_prog.c: Likewise.
70084         * iconv/iconvconfig.c: Likewise.
70085         * locale/programs/locale.c: Likewise.
70086         * locale/programs/localedef.c: Likewise.
70087         * malloc/memusage.sh: Likewise.
70088         * malloc/mtrace.pl: Likewise.
70089         * nscd/nscd.c (print_version): Likewise.
70090         * nss/getent.c: Likewise.
70092         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
70093         PF_CAIF, and PF_ALG.
70094         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70096 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
70098         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
70099         (modules-names): Use them.
70100         (ifunc-test-modules, ifunc-pie-tests): Define.
70101         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
70102         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
70103         (test-extras): Likewise.
70104         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
70105         $(compile-command.c).
70106         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
70107         (all-built-dso): Define.
70108         (check-textrel.out, check-execstack.out): Depend on it.
70110         * configure.in: Don't override --enable-multi-arch.
70112 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
70114         [BZ #6812]
70115         * nscd/hstcache.c (tryagain): Define.
70116         (cache_addhst): Return tryagain not notfound for temporary errors.
70117         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
70118         failed.
70120 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
70122         [BZ #10563]
70123         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
70124         to make the syscall.
70125         * sysdeps/unix/sysv/linux/setgroups.c: New file.
70127         [BZ #12378]
70128         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
70129         and fall back to matching as normal character if the string ends before
70130         the matching ']' is found.  This is what POSIX requires.
70131         * posix/testfnm.c: Adjust test result.
70132         * posix/globtest.sh: Adjust test result.  Add new test.
70133         * posix/tst-fnmatch.input: Likewise.
70134         * posix/tst-fnmatch2.c: Add new test.
70136 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
70138         * elf/Makefile (check-execstack): Revert last change.  Depend on
70139         check-execstack.h.
70140         (check-execstack.h): New target.
70141         (generated): Add check-execstack.h.
70142         * elf/check-execstack.c: Include "check-execstack.h".
70143         (main): Revert last change.
70144         (handle_file): Return zero if GNU_STACK is absent and
70145         DEFAULT_STACK_PERMS doesn't include PF_X.
70147 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
70149         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
70150         in child fails because the descriptor is already closed.
70151         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
70152         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
70153         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
70155         [BZ #12397]
70156         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
70157         syscall.
70159         [BZ #10484]
70160         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
70161         temporary buffer used to handle multi lookups locally.
70162         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
70164 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70166         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
70167         loader is ld.so.
70169 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
70171         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
70172         alignment for SSE2.
70174 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70176         [BZ #12394]
70177         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
70178         characters.  When rounding increased number of integer digits recompute
70179         number of groups.
70180         * stdio-common/tst-grouping.c: New file.
70181         * stdio-common/Makefile: Add rules to build and run tst-grouping.
70183 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
70185         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
70186         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
70188         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
70189         void.
70190         * bits/select.h: Likewise.
70192 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
70194         * po/ja.po: Update from translation team.
70196 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
70198         [BZ #11155]
70199         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
70200         implementation just like for lxstat, fxstatat, et al.
70202 2010-12-27  Jim Meyering  <meyering@redhat.com>
70204         [BZ #12348]
70205         * posix/regexec.c (build_trtable): Return failure indication upon
70206         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
70208 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
70210         [BZ #12201]
70211         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
70212         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
70213         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
70214         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
70216         [BZ #12207]
70217         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
70219         [BZ #12204]
70220         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
70221         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
70223 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
70225         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
70226         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
70227         script has SORT_BY_INIT_PRIORITY.
70228         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
70229         NO_CTORS_DTORS_SECTIONS is defined.
70230         * elf/soinit.c: Likewise.
70231         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
70232         NO_CTORS_DTORS_SECTIONS is defined.
70233         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
70234         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
70235         * sysdeps/sh/init-first.c: Likewise.
70236         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
70238 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
70240         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
70241         always use the slow path.
70243 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
70245         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
70246         similar rule which adds the sysdep directories to the header search in
70247         order to pick up the correct platform stackinfo.h.
70248         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
70249         perform test if it is, otherwise return successfully without testing.
70250         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
70251         DEFAULT_STACK_PERMS define in stackinfo.h.
70252         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
70253         defined in stackinfo.h.
70254         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
70255         DEFAULT_STACK_PERMS defined in stackinfo.h.
70256         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
70257         * sysdeps/ia64/stackinfo.h: Likewise.
70258         * sysdeps/s390/stackinfo.h: Likewise.
70259         * sysdeps/sh/stackinfo.h: Likewise.
70260         * sysdeps/sparc/stackinfo.h: Likewise.
70261         * sysdeps/x86_64/stackinfo.h: Likewise.
70262         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
70263         PF_X for powerpc64.  Retain PF_X for powerpc32.
70265 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
70267         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
70268         accurately.
70269         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
70270         GETDENTS_64BIT_ALIGNED.
70272 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
70274         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
70276 2010-12-10  Andreas Schwab  <schwab@redhat.com>
70278         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
70279         _GNU_SOURCE.
70281         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
70282         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
70283         Remove __restrict.
70284         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
70285         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
70287 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
70289         [BZ #11655]
70290         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
70291         are initialized.
70293 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
70295         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
70297 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
70299         * po/it.po: Update from translation team.
70301 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
70303         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
70304         unused codes.
70306 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
70308         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
70310 2010-11-24  Andreas Schwab  <schwab@redhat.com>
70312         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
70313         specially.
70314         (gaih_getanswer_slice): Likewise.
70316 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
70318         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
70320 2010-05-31  Petr Baudis  <pasky@suse.cz>
70322         [BZ #11149]
70323         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
70324         silently even in the chroot mode.
70326 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
70328         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
70329         last patch a bit.  Pretty printing
70331 2010-05-31  Petr Baudis <pasky@suse.cz>
70333         [BZ #10085]
70334         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
70335         initialization of skip_initgroups_dyn.
70337 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
70339         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
70340         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70342 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
70344         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
70346 2010-11-11  Andreas Schwab  <schwab@redhat.com>
70348         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
70349         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
70350         (tst-fnmatch-ENV): Set MALLOC_TRACE.
70351         ($(objpfx)tst-fnmatch-mem): New rule.
70352         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
70353         * posix/tst-fnmatch.c (main): Call mtrace.
70355 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
70357         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70358         Support Intel processor model 6 and model 0x2c.
70360 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
70362         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
70363           signed comparison.
70365 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
70367         [BZ #12205]
70368         * string/test-strncasecmp.c (check_result): New function.
70369         (do_one_test): Use it.
70370         (check1): New function.
70371         (test_main): Use it.
70372         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
70373         Support strcasecmp and strncasecmp.
70375 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
70377         [BZ #12194]
70378         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
70379         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70381 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
70383         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
70384         IFUNC support.
70385         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70386         memset-x86-64.
70387         * sysdeps/x86_64/multiarch/bzero.S: New file.
70388         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
70389         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
70390         * sysdeps/x86_64/multiarch/memset.S: New file.
70391         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
70392         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70393         Set bit_Prefer_SSE_for_memop for Intel processors.
70394         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
70395         Define.
70396         (index_Prefer_SSE_for_memop): Define.
70397         (HAS_PREFER_SSE_FOR_MEMOP): Define.
70399 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
70401         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
70402         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
70404 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
70406         [BZ #12191]
70407         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70408         (__x86_64_raw_data_cache_size_half): Likewise.
70409         (__x86_64_raw_shared_cache_size): Likewise.
70410         (__x86_64_raw_shared_cache_size_half): Likewise.
70412         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70413         (__x86_64_raw_data_cache_size_half): Likewise.
70414         (__x86_64_raw_shared_cache_size): Likewise.
70415         (__x86_64_raw_shared_cache_size_half): Likewise.
70416         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
70417         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
70418         and __x86_64_raw_shared_cache_size_half.  Round
70419         __x86_64_data_cache_size_half, __x86_64_data_cache_size
70420         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
70421         to multiple of 256 bytes.
70423 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
70425         [BZ #12167]
70426         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
70427         of inacessible symlinks.  Verify result of symlink before returning it.
70428         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
70429         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
70431 2010-10-28  Erich Ritz  <erichritz@gmail.com>
70433         * math/math.h (isinf): Fix typo in comment.
70435 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
70437         * po/da.po: Update from translation team.
70439 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
70441         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
70442         is added to the list.
70444 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70445             Ulrich Drepper  <drepper@gmail.com>
70447         * elf/dl-object.c (_dl_new_object): Don't append the new object to
70448         the global list here.  Move code to...
70449         (_dl_add_to_namespace_list): ...here.  New function.
70450         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
70451         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
70452         * elf/dl-load.c (lose): Don't remove the element from the list.
70453         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
70454         (_dl_map_object): Likewise.
70456 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
70458         [BZ #12159]
70459         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
70460         into all bytes of SSE register.
70461         Patch by Richard Li <richardpku@gmail.com>.
70463 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
70465         [BZ #12140]
70466         * malloc/malloc.c (_int_free): Fill correct number of bytes when
70467         perturbing.
70469 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
70471         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
70472         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
70473         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
70474         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
70476         submachine.
70477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
70479 2010-10-22  Andreas Schwab  <schwab@redhat.com>
70481         * include/dlfcn.h (__RTLD_SECURE): Define.
70482         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
70483         mode & __RTLD_SECURE instead.
70484         (open_path): Rename preloaded parameter to secure.
70485         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
70486         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
70487         * elf/dl-deps.c (openaux): Likewise.
70488         * elf/rtld.c (struct map_args): Remove is_preloaded.
70489         (map_doit): Don't use it.
70490         (dl_main): Likewise.
70491         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
70492         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
70494 2010-09-09  Andreas Schwab  <schwab@redhat.com>
70496         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
70497         (sysd-rules-targets): Remove duplicates.
70498         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
70499         rtld-%.$o dependency.
70501 2010-10-18  Andreas Schwab  <schwab@redhat.com>
70503         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
70504         _dl_map_object do it.
70506 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
70508         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
70509         fast fma builtins, define the macros in the C99 standard.
70510         (FP_FAST_FMAF): Likewise.
70511         (FP_FAST_FMAL): Likewise.
70512         * sysdeps/x86_64/bits/mathdef.h: Likewise.
70514         * bits/mathdef.h: Update copyright year.
70515         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70517 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
70519         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
70520         builtins, define the macros in the C99 standard.
70521         (FP_FAST_FMAF): Likewise.
70522         (FP_FAST_FMAL): Likewise.
70523         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
70524         multiply/add.
70525         (FP_FAST_FMAF): Likewise.
70527 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
70529         [BZ #3268]
70530         * math/libm-test.inc (fma_test): Some new testcases.
70531         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
70532         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
70533         y and infinite z.  Do multiplication by C already in long double.
70534         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
70535         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
70536         y and infinite z.  Do bitwise or of inexact bit into u.d.
70537         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
70538         * sysdeps/i386/fpu/s_fmaf.S: Removed.
70539         * sysdeps/i386/fpu/s_fma.S: Removed.
70540         * sysdeps/i386/fpu/s_fmal.S: Removed.
70542 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
70544         [BZ #3268]
70545         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
70546         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
70547         computation is not scheduled after fetestexcept.  Fix value
70548         of minimum denormal long double.
70550 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
70552         [BZ #3268]
70553         * math/libm-test.inc (fma_test): Add some more tests.
70554         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
70555         correctly.
70557 2010-10-15  Andreas Schwab  <schwab@redhat.com>
70559         * scripts/data/localplt-s390-linux-gnu.data: New file.
70560         * scripts/data/localplt-s390x-linux-gnu.data: New file.
70562 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
70564         [BZ #3268]
70565         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
70566         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
70567         instead of dbl-64.
70568         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
70569         inlines.
70570         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
70571         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
70572         if one of x and y is very large and the other is subnormal.
70573         * sysdeps/s390/fpu/s_fmaf.c: New file.
70574         * sysdeps/s390/fpu/s_fma.c: New file.
70575         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
70576         * sysdeps/powerpc/fpu/s_fma.S: New file.
70577         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
70578         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
70579         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
70581 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
70583         [BZ #3268]
70584         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
70585         fma tests.
70586         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
70587         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
70588         * sysdeps/i386/i686/multiarch/s_fma.c: Include
70589         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
70590         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
70591         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
70592         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
70594 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
70596         [BZ #12078]
70597         * posix/regcomp.c (parse_branch): One more memory leak plugged.
70598         * posix/bug-regex31.input: Add test case.
70600 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
70602         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
70603         * posix/bug-regex31.input: New file.
70605         [BZ #12078]
70606         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
70607         (parse_sub_exp): Fix last change, use postorder.
70609         * posix/bug-regex31.c: New file.
70610         * posix/Makefile: Add rules to build and run bug-regex31.
70612         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
70614         [BZ #12078]
70615         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
70617         [BZ #12108]
70618         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
70619         to have entries in sys_siglist.
70621         [BZ #12093]
70622         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
70623         be NULL.
70625 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
70627         [BZ #3268]
70628         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
70629         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
70630         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
70631         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
70632         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70633         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
70634         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
70635         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
70636         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
70637         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
70638         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
70639         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
70640         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
70641         * math/ftestexcept.c (fetestexcept): Likewise.
70642         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
70643         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
70644         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
70645         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
70646         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
70647         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
70648         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70650 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
70652         [BZ #12107]
70653         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
70654         newline.
70656 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
70658         * string/bug-strstr1.c: New file.
70659         * string/Makefile: Add rules to build and run bug-strstr1.
70661 2010-10-05  Eric Blake  <eblake@redhat.com>
70663         [BZ #12092]
70664         * string/str-two-way.h (two_way_long_needle): Always clear memory
70665         when skipping input due to the shift table.
70667 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
70669         [BZ #12005]
70670         * malloc/mcheck.c: Handle large requests.
70672         [BZ #12077]
70673         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
70674         for strncmp and strncasecmp.
70675         * string/stratcliff.c: Add tests for strcmp and strncmp.
70676         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
70678 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70680         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
70681         __set_fpscr.
70683 2010-09-30  Andreas Jaeger  <aj@suse.de>
70685         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
70686         (CGROUP_SUPER_MAGIC): Define.
70687         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70688         Handle btrfs and cgroup file systems.
70689         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
70690         Likewise.
70692 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
70694         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
70695         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
70697 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70699         [BZ #12067]
70700         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
70701         trying to locate the ELF header.
70703 2010-09-27  Andreas Schwab  <schwab@redhat.com>
70705         [BZ #11611]
70706         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
70707         Mask out sign-bit copies when constructing f_fsid.
70709 2010-09-24  Petr Baudis <pasky@suse.cz>
70711         * debug/stack_chk_fail_local.c: Add missing licence exception.
70712         * debug/warning-nop.c: Likewise.
70714 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
70716         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
70717         implementing getdents64 using getdents syscall, set d_type if
70718         __ASSUME_GETDENTS32_D_TYPE.
70720 2010-09-16  Andreas Schwab  <schwab@redhat.com>
70722         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
70723         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
70725 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
70727         [BZ #12037]
70728         * posix/unistd.h: Undo change of feature selection for ftruncate from
70729         2010-01-11.
70731 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
70733         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
70734         detection.
70736 2010-09-20  Andreas Schwab  <schwab@redhat.com>
70738         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
70739         fanotify_mark.
70740         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70742 2010-09-14  Andreas Schwab  <schwab@redhat.com>
70744         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
70745         variables after CHECK_SP call.
70746         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
70748 2010-09-13  Andreas Schwab  <schwab@redhat.com>
70749             Ulrich Drepper  <drepper@redhat.com>
70751         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
70752         re-relocationg ld.so.
70753         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
70754         _dl_init_paths call.
70755         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
70756         here anymore.
70758 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
70760         * resolv/res_init.c (__res_vinit): Count the default server we added.
70762 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
70763             Ulrich Drepper  <drepper@redhat.com>
70765         [BZ #11968]
70766         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
70767         (____longjmp_chk): Use %ebx for saving value across system call.
70768         Add unwind info.
70770 2010-09-06  Andreas Schwab  <schwab@redhat.com>
70772         * manual/Makefile: Don't mix pattern rules with normal rules.
70774 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70776         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
70777         operation.
70778         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
70779         * libio/iofopncook.c (_IO_cookie_init): Likewise.
70780         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
70781         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
70782         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70783         Likewise.
70785 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
70787         [BZ #11979]
70788         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
70789         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
70791 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
70793         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
70794         * sysdeps/x86_64/addmul_1.S: Likewise.
70795         * sysdeps/x86_64/lshift.S: Likewise.
70796         * sysdeps/x86_64/mul_1.S: Likewise.
70797         * sysdeps/x86_64/rshift.S: Likewise.
70798         * sysdeps/x86_64/sub_n.S: Likewise.
70799         * sysdeps/x86_64/submul_1.S: Likewise.
70801 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70803         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
70804         Define __sched_param instead of SCHED_* and sched_param when
70805         <bits/sched.h> is included with __need_schedparam defined.
70806         * bits/sched.h [__need_schedparam]
70807         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
70808         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
70809         (__defined_schedparam): Define to 1.
70810         (__sched_param): New structure, identical to sched_param.
70811         (__need_schedparam): Undefine.
70813 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
70815         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
70816         (epoll_create1): Declare.
70818         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
70820 2010-08-31  Andreas Schwab  <schwab@redhat.com>
70822         [BZ #7066]
70823         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
70824         shifting retval into place.
70826 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
70828         * nis/rpcsvc/nis.h: Update copyright notice.
70829         * nis/rpcsvc/nis.x: Likewise.
70830         * nis/rpcsvc/nis_callback.h: Likewise.
70831         * nis/rpcsvc/nis_callback.x: Likewise.
70832         * nis/rpcsvc/nis_object.x: Likewise.
70833         * nis/rpcsvc/nis_tags.h: Likewise.
70834         * nis/rpcsvc/yp.h: Likewise.
70835         * nis/rpcsvc/yp.x: Likewise.
70836         * nis/rpcsvc/ypupd.h: Likewise.
70837         * nis/yp_xdr.c: Likewise.
70838         * nis/ypupdate_xdr.c: Likewise.
70840         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
70841         mainly the body of pmap_getport.  Add parameters to specify timeouts.
70842         (pmap_getport): Use __libc_rpc_getport.
70843         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
70844         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
70845         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
70847 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
70849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
70850         fanotify_mark.
70852 2010-08-27  Roland McGrath  <roland@redhat.com>
70854         * sysdeps/i386/i686/multiarch/Makefile
70855         (CFLAGS-varshift.c): New variable.
70857 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
70859         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
70860         * sysdeps/i386/i686/multiarch/varshift.c: New file.
70862         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
70864         * sysdeps/x86_64/strlen.S: Minimal code improvement.
70866 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
70868         * sysdeps/x86_64/strlen.S: Unroll the loop.
70869         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70870         strlen-sse2 strlen-sse2-bsf.
70871         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
70872         __strlen_no_bsf if bit_Slow_BSF is set.
70873         (__strlen_sse42): Removed.
70874         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
70875         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
70877 2010-08-25  Roland McGrath  <roland@redhat.com>
70879         * sysdeps/x86_64/multiarch/varshift.S: File removed.
70880         * sysdeps/x86_64/multiarch/varshift.c: New file.
70881         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
70882         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
70883         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
70884         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70886 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
70888         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70889         strlen-sse2 strlen-sse2-bsf.
70890         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
70891         __strlen_sse2_bsf if bit_Slow_BSF is unset.
70892         (__strlen_sse2): Removed.
70893         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
70894         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
70895         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
70896         bit_Slow_BSF for Atom.
70897         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
70898         (index_Slow_BSF): Define.
70899         (HAS_SLOW_BSF): Define.
70901 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
70903         [BZ #10851]
70904         * resolv/res_init.c (__res_vinit): When no server address at all
70905         is given default to loopback.
70907 2010-08-24  Roland McGrath  <roland@redhat.com>
70909         * configure.in: Remove config-name.h generation.
70910         * configure: Regenerated.
70911         * config-name.in: File removed.
70912         * scripts/config-uname.sh: New file.
70913         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
70914         ($(objdir)config-name.h): New target.
70916         * sunrpc/rpc_parse.h: Avoid nested comment.
70918 2010-08-24  Richard Henderson  <rth@redhat.com>
70919             Ulrich Drepper  <drepper@redhat.com>
70920             H.J. Lu  <hongjiu.lu@intel.com>
70922         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
70923         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
70924         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
70925         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
70926         _mm_alignr_epi8 with _mm_loadu_si128.
70927         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
70928         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
70929         (__m128i_shift_right): Removed.
70930         * sysdeps/i386/i686/multiarch/varshift.h: New file.
70931         * sysdeps/i386/i686/multiarch/varshift.S: New file.
70932         * sysdeps/x86_64/multiarch/varshift.h: New file.
70933         * sysdeps/x86_64/multiarch/varshift.S: New file.
70935 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
70937         * configure.in: Move assembler checks to before sysdep dir checking.
70939 2010-08-20  Petr Baudis  <pasky@suse.cz>
70941         * LICENSES: Sync the sunrpc license.
70943 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
70945         * sunrpc/auth_des.c: Update copyright notice once again.
70946         * sunrpc/auth_none.c: Likewise.
70947         * sunrpc/auth_unix.c: Likewise.
70948         * sunrpc/authdes_prot.c: Likewise.
70949         * sunrpc/authuxprot.c: Likewise.
70950         * sunrpc/bindrsvprt.c: Likewise.
70951         * sunrpc/clnt_gen.c: Likewise.
70952         * sunrpc/clnt_perr.c: Likewise.
70953         * sunrpc/clnt_raw.c: Likewise.
70954         * sunrpc/clnt_simp.c: Likewise.
70955         * sunrpc/clnt_tcp.c: Likewise.
70956         * sunrpc/clnt_udp.c: Likewise.
70957         * sunrpc/clnt_unix.c: Likewise.
70958         * sunrpc/des_crypt.c: Likewise.
70959         * sunrpc/des_soft.c: Likewise.
70960         * sunrpc/get_myaddr.c: Likewise.
70961         * sunrpc/getrpcport.c: Likewise.
70962         * sunrpc/key_call.c: Likewise.
70963         * sunrpc/key_prot.c: Likewise.
70964         * sunrpc/openchild.c: Likewise.
70965         * sunrpc/pm_getmaps.c: Likewise.
70966         * sunrpc/pm_getport.c: Likewise.
70967         * sunrpc/pmap_clnt.c: Likewise.
70968         * sunrpc/pmap_prot.c: Likewise.
70969         * sunrpc/pmap_prot2.c: Likewise.
70970         * sunrpc/pmap_rmt.c: Likewise.
70971         * sunrpc/rpc/auth.h: Likewise.
70972         * sunrpc/rpc/auth_unix.h: Likewise.
70973         * sunrpc/rpc/clnt.h: Likewise.
70974         * sunrpc/rpc/des_crypt.h: Likewise.
70975         * sunrpc/rpc/key_prot.h: Likewise.
70976         * sunrpc/rpc/netdb.h: Likewise.
70977         * sunrpc/rpc/pmap_clnt.h: Likewise.
70978         * sunrpc/rpc/pmap_prot.h: Likewise.
70979         * sunrpc/rpc/pmap_rmt.h: Likewise.
70980         * sunrpc/rpc/rpc.h: Likewise.
70981         * sunrpc/rpc/rpc_des.h: Likewise.
70982         * sunrpc/rpc/rpc_msg.h: Likewise.
70983         * sunrpc/rpc/svc.h: Likewise.
70984         * sunrpc/rpc/svc_auth.h: Likewise.
70985         * sunrpc/rpc/types.h: Likewise.
70986         * sunrpc/rpc/xdr.h: Likewise.
70987         * sunrpc/rpc_clntout.c: Likewise.
70988         * sunrpc/rpc_cmsg.c: Likewise.
70989         * sunrpc/rpc_common.c: Likewise.
70990         * sunrpc/rpc_cout.c: Likewise.
70991         * sunrpc/rpc_dtable.c: Likewise.
70992         * sunrpc/rpc_hout.c: Likewise.
70993         * sunrpc/rpc_main.c: Likewise.
70994         * sunrpc/rpc_parse.c: Likewise.
70995         * sunrpc/rpc_parse.h: Likewise.
70996         * sunrpc/rpc_prot.c: Likewise.
70997         * sunrpc/rpc_sample.c: Likewise.
70998         * sunrpc/rpc_scan.c: Likewise.
70999         * sunrpc/rpc_scan.h: Likewise.
71000         * sunrpc/rpc_svcout.c: Likewise.
71001         * sunrpc/rpc_tblout.c: Likewise.
71002         * sunrpc/rpc_util.c: Likewise.
71003         * sunrpc/rpc_util.h: Likewise.
71004         * sunrpc/rpcinfo.c: Likewise.
71005         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
71006         * sunrpc/rpcsvc/key_prot.x: Likewise.
71007         * sunrpc/rpcsvc/klm_prot.x: Likewise.
71008         * sunrpc/rpcsvc/mount.x: Likewise.
71009         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
71010         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
71011         * sunrpc/rpcsvc/rex.x: Likewise.
71012         * sunrpc/rpcsvc/rstat.x: Likewise.
71013         * sunrpc/rpcsvc/rusers.x: Likewise.
71014         * sunrpc/rpcsvc/sm_inter.x: Likewise.
71015         * sunrpc/rpcsvc/spray.x: Likewise.
71016         * sunrpc/rpcsvc/yppasswd.x: Likewise.
71017         * sunrpc/rtime.c: Likewise.
71018         * sunrpc/svc.c: Likewise.
71019         * sunrpc/svc_auth.c: Likewise.
71020         * sunrpc/svc_authux.c: Likewise.
71021         * sunrpc/svc_raw.c: Likewise.
71022         * sunrpc/svc_run.c: Likewise.
71023         * sunrpc/svc_simple.c: Likewise.
71024         * sunrpc/svc_tcp.c: Likewise.
71025         * sunrpc/svc_udp.c: Likewise.
71026         * sunrpc/svc_unix.c: Likewise.
71027         * sunrpc/svcauth_des.c: Likewise.
71028         * sunrpc/xcrypt.c: Likewise.
71029         * sunrpc/xdr.c: Likewise.
71030         * sunrpc/xdr_array.c: Likewise.
71031         * sunrpc/xdr_float.c: Likewise.
71032         * sunrpc/xdr_mem.c: Likewise.
71033         * sunrpc/xdr_rec.c: Likewise.
71034         * sunrpc/xdr_ref.c: Likewise.
71035         * sunrpc/xdr_sizeof.c: Likewise.
71036         * sunrpc/xdr_stdio.c: Likewise.
71038         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
71039         handling.
71041 2010-08-19  Andreas Schwab  <schwab@redhat.com>
71043         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
71045 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
71047         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
71048         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
71049         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
71050         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
71051         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
71052         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
71053         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
71054         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
71055         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
71056         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
71057         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
71058         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
71059         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
71060         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
71062 2010-07-26  Anton Blanchard  <anton@samba.org>
71064         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
71065         * malloc/arena.c (heap_trim): Likewise.
71067 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
71069         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
71070         here.  Not...
71071         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
71072         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
71074 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
71076         * sysdeps/i386/elf/Makefile: New file.
71078 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71080         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
71081         from fanotify_init.
71082         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
71083         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71085 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
71087         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
71088         of strncasecmp_l.
71089         * sysdeps/multiarch/strcmp.S: Likewise.
71091 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
71093         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71094         strncase_l-nonascii.
71095         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71096         Add strncase_l-ssse3.
71097         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
71098         * sysdeps/x86_64/strcmp.S: Likewise.
71099         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
71100         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
71101         * sysdeps/x86_64/strncase.S: New file.
71102         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
71103         * sysdeps/x86_64/strncase_l.S: New file.
71104         * string/Makefile (strop-tests): Add strncasecmp.
71105         * string/test-strncasecmp.c: New file.
71107         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
71108         warning.
71110         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
71111         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
71113 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71115         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
71117 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
71119         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
71120         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
71121         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
71123 2010-05-01  Alan Modra  <amodra@gmail.com>
71125         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
71126         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
71127         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
71128         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
71129         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
71130         tidying.  Don't tail-call __sigjmp_save for static lib.
71131         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
71132         save location.
71133         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
71134         (CALL_MCOUNT): Add eh info, and nop after bl.
71135         (TAIL_CALL_SYSCALL_ERROR): New macro.
71136         (PSEUDO_RET): Use it.
71137         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
71138         Correct save location of integer regs and cr.
71139         (_dl_profile_resolve): Correct cr save location.  Delete nops
71140         after bl when SHARED.  Reduce cfi size a little by better
71141         placement of cfi directives.
71142         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
71143         make a stack frame.  Instead use parm save area as a temp.
71144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
71145         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
71146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
71147         Don't make a stack frame for parent, use parm save area.
71148         Increase child stack frame to 112 bytes.  Don't save unused reg,
71149         and adjust reg usage.  Set up cfi on error recovery and
71150         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
71151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71152         (__makecontext): Add dummy nop after jump to exit.
71153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
71154         Use correct parm save area and cr save, reduce stack frame.
71155         Correct cfi for possible PSEUDO_RET frame setup.
71156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
71157         Branch to local label emitted by PSEUDO_RET rather than
71158         __syscall_error.
71160 2010-08-12  Andreas Schwab  <schwab@redhat.com>
71162         [BZ #11904]
71163         * locale/programs/locale.c (print_assignment): New function.
71164         (show_locale_vars): Use it.
71166 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
71168         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
71169         field.
71170         (struct statfs64): Likewise.
71171         (_STATFS_F_FLAGS): Define.
71172         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
71173         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71174         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
71175         (ST_VALID): Define locally.
71176         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
71177         __statvfs_getflags, use the provided value.
71178         * sysdeps/unix/sysv/linux/kernel-features.h: Define
71179         __ASSUME_STATFS_F_FLAGS.
71181         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
71183         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
71184         Add sys/fanotify.h.
71185         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
71186         fanotify_mask for GLIBC_2.13.
71187         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
71188         fanotify_init and fanotify_mark.
71189         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71190         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
71192         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
71193         Add prlimit.
71194         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
71195         prlimit64 for GLIBC_2.13.
71196         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
71197         prlimit64.
71198         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
71199         syscall.
71200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
71201         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71202         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
71203         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
71204         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
71205         add prlimit alias.
71206         * sysdeps/unix/sysv/linux/prlimit.c: New file.
71208         [BZ #11903]
71209         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
71210         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
71212         * nss/Makefile: Add rules to build and run tst-nss-test1.
71213         * shlib-versions: Add entry for libnss_test1.
71214         * nss/nss_test1.c: New file.
71215         * nss/tst-nss-test1.c: New file.
71217         * nss/nsswitch.c (__nss_database_custom): Define new variable.
71218         (__nss_configure_lookup): Set appropriate entry in
71219         __nss_configure_lookup to true.
71220         * nss/nsswitch.h: Define enum with indeces of databases in
71221         databases and __nss_database_custom arrays.  Declare
71222         __nss_database_custom.
71223         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
71224         to avoid using nscd when custom rules are installed.
71225         * nss/getXXbyYY_r.c: Likewise.
71226         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
71228         * nss/nss_files/files-parse.c: Whitespace fixes.
71230 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
71232         [BZ #11883]
71233         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
71234         * posix/fnmatch_loop.c: Likewise.
71236 2010-07-17  Andi Kleen  <ak@linux.intel.com>
71238         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
71239         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
71240         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
71241         * Versions.def [GLIBC_2.13]: Add.
71243 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
71245         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71246         Also fail if tpwd after pwuid call is NULL.
71248 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71250         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
71251         when converting to ms.
71253 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71255         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
71256         EOPNOTSUPP errors with ENOTTY.
71257         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
71258         EOPNOTSUPP errors with ENOTTY.
71260 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
71262         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71263         Add strcasecmp_l-ssse3.
71264         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
71265         strcasecmp.
71266         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
71267         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
71268         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
71270 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
71272         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
71274         * string/Makefile (strop-tests): Add strcasecmp.
71275         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71276         strcasecmp_l-nonascii.
71277         (gen-as-const-headers): Add locale-defines.sym.
71278         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
71279         * sysdeps/x86_64/strcasecmp.S: New file.
71280         * sysdeps/x86_64/strcasecmp_l.S: New file.
71281         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
71282         * sysdeps/x86_64/locale-defines.sym: New file.
71283         * string/test-strcasecmp.c: New file.
71285         * string/test-strcasestr.c: Test both ends of the range of characters.
71286         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
71288 2010-07-29  Roland McGrath  <roland@redhat.com>
71290         [BZ #11856]
71291         * manual/locale.texi (Yes-or-No Questions): Fix example code.
71293 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
71295         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
71296         for ld.so.
71298 2010-07-27  Andreas Schwab  <schwab@redhat.com>
71300         * manual/memory.texi (Malloc Tunable Parameters): Document
71301         M_PERTURB.
71303 2010-07-26  Roland McGrath  <roland@redhat.com>
71305         [BZ #11840]
71306         * configure.in (-fgnu89-inline check): Set and substitute
71307         gnu89_inline, not libc_cv_gnu89_inline.
71308         * configure: Regenerated.
71309         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
71311 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
71313         * string/test-strnlen.c: New file.
71314         * string/Makefile (strop-tests): Add strnlen.
71315         * string/tester.c (test_strnlen): Add a few more test cases.
71316         * string/tst-strlen.c: Better error reporting.
71318         * sysdeps/x86_64/strnlen.S: New file.
71320 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
71322         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
71323         lower-latency instructions.
71325 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
71327         * string/test-strcasestr.c: New file.
71328         * string/test-strstr.c: New file.
71329         * string/Makefile (strop-tests): Add strstr and strcasestr.
71330         * string/str-two-way.h: Don't undefine MAX.
71331         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
71333 2010-07-21  Andreas Schwab  <schwab@redhat.com>
71335         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71336         strcasestr-nonascii.
71337         (CFLAGS-strcasestr-nonascii.c): Define.
71338         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
71339         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
71340         Remove unused attribute.
71342 2010-07-20  Roland McGrath  <roland@redhat.com>
71344         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
71345         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
71346         ld.so.cache was broken.  With it, there is no way to disable dsocaps
71347         like LD_HWCAP_MASK can disable hwcaps.
71349 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71351         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
71353 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
71355         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
71356         call in strcasestr.
71357         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
71358         __strcasestr_sse42_nonascii.
71359         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
71360         strcasestr-nonascii.c.
71361         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
71363 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
71365         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
71366         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
71367         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
71368         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
71370 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
71372         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
71373         fcntl.
71375 2010-07-06  Andreas Schwab  <schwab@redhat.com>
71377         [BZ #11577]
71378         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
71379         dl_signal_cerror.
71381 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
71383         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
71384         _PC_PIPE_BUF using F_GETPIPE_SZ.
71386 2010-07-05  Roland McGrath  <roland@redhat.com>
71388         * manual/arith.texi (Rounding Functions): Fix rint description
71389         implicit in round description.
71391 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
71393         * elf/Makefile: Fix linking for a few tests to make recent linker
71394         happy.
71396 2010-06-30  Andreas Schwab  <schwab@redhat.com>
71398         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71399         $(common-objpfx)libc_nonshared.a.
71401 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
71403         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
71404         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
71405         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71406         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71407         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
71408         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
71409         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71410         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
71412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
71413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
71414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
71416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
71418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
71419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
71420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
71421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
71423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
71425         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
71426         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
71427         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
71428         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
71429         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
71430         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
71431         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
71432         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
71433         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
71434         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
71435         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
71436         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
71437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
71438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
71439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
71440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
71441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
71442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
71443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
71444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
71445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
71446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
71447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
71448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
71449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
71450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
71452 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
71454         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
71455         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
71456         * string/memmove.c (memmove): Renamed to ...
71457         (MEMMOVE): ...this.  Default to memmove.
71458         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
71459         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
71460         (END_CHK): Define.
71461         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71462         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
71463         mempcpy-ssse3-back memmove-ssse3-back.
71464         * sysdeps/x86_64/multiarch/bcopy.S: New file .
71465         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
71466         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
71467         * sysdeps/x86_64/multiarch/memcpy.S: New file.
71468         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
71469         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
71470         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
71471         * sysdeps/x86_64/multiarch/memmove.c: New file.
71472         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
71473         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
71474         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
71475         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
71476         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
71477         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
71478         Define.
71479         (index_Fast_Copy_Backward): Define.
71480         (HAS_ARCH_FEATURE): Define.
71481         (HAS_FAST_REP_STRING): Define.
71482         (HAS_FAST_COPY_BACKWARD): Define.
71484 2010-06-21  Andreas Schwab  <schwab@redhat.com>
71486         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71487         Restore proper fallback handling.
71489 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
71491         [BZ #11701]
71492         * posix/group_member.c (__group_member): Correct checking loop.
71494         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
71495         OOM in getpwuid_r correctly.  Return error number when the caller
71496         should return, otherwise -1.
71497         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
71498         call returning > 0 value.
71499         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
71501 2010-06-07  Andreas Schwab  <schwab@redhat.com>
71503         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
71504         libc_nonshared.a from targets in modules-names.
71506 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
71508         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
71509         requires it.
71511 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
71513         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
71514         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
71515         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
71516         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
71518 2010-06-02  Andreas Schwab  <schwab@redhat.com>
71520         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
71522 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
71524         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
71525         and F_GETPIPE_SZ.
71526         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71527         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71528         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71529         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71530         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71531         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
71533 2010-06-14  Roland McGrath  <roland@redhat.com>
71535         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
71537 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
71539         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
71540         __REDIRECT followed by __THROW.
71541         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
71542         * posix/getopt.h (getopt): Likewise.
71544 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71546         * hurd/lookup-at.c (__file_name_lookup_at): Accept
71547         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
71548         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
71549         in AT_FLAGS.
71550         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
71551         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
71553 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
71555         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
71557 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
71559         [BZ #11640]
71560         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71561         Properly check family and model.
71563 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
71565         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
71567 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
71569         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
71571 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
71573         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
71574         symbol reference.
71576 2010-05-19  Andreas Schwab  <schwab@redhat.com>
71578         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
71579         symbol reference.
71581 2010-05-21  Andreas Schwab  <schwab@redhat.com>
71583         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
71584         and internal_recvmmsg.
71585         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
71586         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
71587         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
71588         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
71590         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
71591         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
71592         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
71594 2010-05-20  Andreas Schwab  <schwab@redhat.com>
71596         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
71598 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
71600         POWER7 optimizations.
71601         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
71602         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
71604 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
71606         * version.h: Update for 2.13 development version.
71608 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
71610         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
71611         exceptions.  Return 0.
71613 2010-05-07  Roland McGrath  <roland@redhat.com>
71615         * elf/ldconfig.c (main): Add a const.
71617 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
71619         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
71620         (args_options): Add no-idn option.
71621         (ahosts_keys_int): Add idn_flags to ai_flags.
71622         (parse_option): Handle 'i' option to clear idn_flags.
71624         * malloc/malloc.c (_int_free): Possible race in the most recently
71625         added check.  Only act on the data if no current modification
71626         happened.
71628 See ChangeLog.17 for earlier changes.